CBSE Class 11 Informatics Practices Question 1 of 62

Getting Started with Python — Question 1

Back to all questions
1
Question

Question 1

Assertion (A): Python is an object-oriented programming language.

Reasoning (R): Using Python, any software can be designed. Everything in Python is an 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.
Answer

Both A and R are true and R is the correct explanation of A.

Explanation
Python is an object-oriented programming language, which means it supports the concepts of classes and objects. In Python, everything is treated as an object, including integers, strings, functions, and even modules and packages. Using Python, any software can be designed.