KnowledgeBoat Logo

Computer Science

Assertion (A): The functions developed and defined by language programmers and provided within the framework of the language are termed as built-in functions.

Reasoning (R): Each and every built-in function contains a set of statements to perform a specific task. They are independent entities and, hence, not included within any module or object.

  1. Both A and R are true and R is the correct explanation of A.
  2. Both A and R are true but R is not the correct explanation of A.
  3. A is true but R is false.
  4. A is false but R is true.

Python Functions

2 Likes

Answer

A is true but R is false.

Explanation
Built-in functions are developed and defined by language programmers and provided within the framework of the programming language itself. They are designed to perform specific tasks and are not tied to any particular module or object. In Python, built-in functions are part of the built-in namespace and are accessible throughout the program without the need to import specific modules.

Answered By

3 Likes


Related Questions