Basic Programing - SS2 ICT Past Questions and Answers - page 1
What is the primary purpose of built-in functions in programming languages?
To increase code complexity
To make code execution slower
To make code execution slower
To require external libraries for basic tasks
Which of the following is NOT a primary purpose of built-in functions
Reusability
Customizability
Efficiency
Portability
Built-in functions are rigorously tested to ensure:
Their inefficiency
Their inefficiency
Their correctness and reliability
Their reliance on external libraries
How do built-in functions promote coding consistency?
By introducing new coding styles
By making code less readable
By adhering to language standards and conventions
By increasing code duplication
Which purpose of built-in functions involves hiding the underlying complexity of operations
Efficiency
Abstraction
Scalability
Security Answer
Why do built-in functions contribute to increased developer productivity?
They require more lines of code to achieve functionality.
They introduce unnecessary complexity
They simplify common programming tasks
They rely on external libraries for functionality
How do built-in functions enhance code portability?
By making code platform-specific
By being part of the core language or standard libraries
By requiring extensive modifications for different environments
By increasing external dependencies
How do built-in functions enhance code portability?
By making code platform-specific
By being part of the core language or standard libraries
By requiring extensive modifications for different environments
By increasing external dependencies
Which purpose of built-in functions ensures they can handle various input sizes efficiently?
Reusability
Scalability
Standardization
Productivity
What is one of the benefits of using trusted and well-tested built-in functions?
They make code more vulnerable to security issues
They introduce platform-specific dependencies
They can help reduce security vulnerabilities
They require in-depth understanding of implementation details.