CBSE Class 11 Computer Science
Question 6 of 98
Python Programming Fundamentals — Question 6
Back to all questions 6
Question Assertion (A): 'Rollnumber' and 'rollnumber' are same identifiers.
Reasoning (R): Python is a case-sensitive language.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
A is false but R is true.
Explanation
In Python, 'Rollnumber' and 'rollnumber' are not the same identifiers because Python is a case-sensitive language. This means Python differentiates between uppercase and lowercase letters. For example, 'Rollnumber' (with an uppercase 'R') and 'rollnumber' (with a lowercase 'r') are considered distinct identifiers in Python.