CBSE Class 12 Computer Science
Question 18 of 42
Solved 2024 Sample Question Paper CBSE Class 12 Computer Science (083) — Question 18
Back to all questions 18
Question Assertion(A): Python Standard Library consists of various modules.
Reasoning(R): A function in a module is used to simplify the code and avoids repetition.
- Both A and R are true, and R is the correct explanation of A.
- Both A and R are true, and R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Both Assertion and Reason are true but Reason is not the correct explanation for Assertion.
Reason — The Python Standard Library is a collection of modules and packages that provide a wide range of functionalities. A function in a module helps to organize code, simplify it, and avoid repetition which makes programming more efficient.