Courses » SS2 » SS2 ICT » ICT Exam Topics » Basic Programing - Questions and Answers

Basic Programing - SS2 ICT Past Questions and Answers - page 1

1

What is the primary purpose of built-in functions in programming languages?

A

To increase code complexity

B

To make code execution slower

C

To make code execution slower

D

To require external libraries for basic tasks

correct option: c
Users' Answers & Comments
2

Which of the following is NOT a primary purpose of built-in functions

A

Reusability

B

Customizability

C

Efficiency

D

Portability

correct option: b
Users' Answers & Comments
3

Built-in functions are rigorously tested to ensure:

A

Their inefficiency

B

Their inefficiency

C

Their correctness and reliability

D

Their reliance on external libraries

correct option: c
Users' Answers & Comments
4

How do built-in functions promote coding consistency?

A

By introducing new coding styles

B

By making code less readable

C

By adhering to language standards and conventions 

D

By increasing code duplication

correct option: c
Users' Answers & Comments
5

Which purpose of built-in functions involves hiding the underlying complexity of operations

A

Efficiency

B

Abstraction

C

Scalability

D

Security Answer

correct option: b
Users' Answers & Comments
6

Why do built-in functions contribute to increased developer productivity?

A

They require more lines of code to achieve functionality.

B

They introduce unnecessary complexity

C

They simplify common programming tasks

D

They rely on external libraries for functionality

correct option: c
Users' Answers & Comments
7

How do built-in functions enhance code portability?

A

By making code platform-specific 

B

By being part of the core language or standard libraries

C

By requiring extensive modifications for different environments

D

By increasing external dependencies

correct option: b
Users' Answers & Comments
8

How do built-in functions enhance code portability?

A

By making code platform-specific 

B

By being part of the core language or standard libraries

C

By requiring extensive modifications for different environments

D

By increasing external dependencies

correct option: b
Users' Answers & Comments
9

Which purpose of built-in functions ensures they can handle various input sizes efficiently?

A

Reusability

B

Scalability

C

Standardization

D

Productivity

correct option: b
Users' Answers & Comments
10

What is one of the benefits of using trusted and well-tested built-in functions?

A

They make code more vulnerable to security issues

B

They introduce platform-specific dependencies

C

They can help reduce security vulnerabilities

D

They require in-depth understanding of implementation details.

correct option: c
Users' Answers & Comments
Recommended: SS2 ICT Lessons
Please share this, thanks: