Question 82Asked in Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Assertion (A) and Reason (R) based questions. Mark the correct choice as:यह अभिकथन (A) और कारण (R) पर आधारित प्रश्न हैं। बताईए कि निम्नलिखित में कौन-सा विकल्प
Assertion (A) and Reason (R) based questions. Mark the correct choice as:
Assertion (A) : Every object in Python is assigned a unique identity (ID).
Reason (R) : ID remains the same for the lifetime of that object.
यह अभिकथन (A) और कारण (R) पर आधारित प्रश्न हैं। बताईए कि निम्नलिखित में कौन-सा विकल्प
सही है:
अभिकथन (A) : पाइथन (Python) में प्रत्येक ऑब्जेक्ट (object) को एक विशिष्ट पहचान (unique
identity ID) दी जाती है।
कारण (R) : उस औब्जेक्ट (object) के जीवनकाल के लिए ID समान रहती है।
ABoth Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of the Assertion (A).अभिकथन (A) और कारण (R) दोनों सही हैं और कारण (R) , अभिकथन (A) का सही स्पष्टीकरण है।
BBoth Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of the Assertion (A).अभिकथन (A) और कारण (R) दोनों सही हैं परंतु कारण (R) , अभिकथन (A) का सही स्पष्टीकरण
नहीं है।
CAssertion (A) is true, but Reason (R) is false.अभिकथन (A) सही है, परंतु कारण (R) गलत है।
DAssertion (A) is false, but Reason (R) is true.अभिकथन (A) गलत हैं परंतु (R) सही है।
Show answerHide answer
Correct answer: (A)Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of the Assertion (A).अभिकथन (A) और कारण (R) दोनों सही हैं और कारण (R) , अभिकथन (A) का सही स्पष्टीकरण है।
Explanation
Python gives every object a unique identity, shown by id(), and that identity never changes during the object's lifetime. The constant ID explains why it reliably identifies the object.Python हर ऑब्जेक्ट को अद्वितीय पहचान देता है, जो id() से दिखती है, और वह पहचान ऑब्जेक्ट के जीवनकाल में कभी नहीं बदलती। स्थिर ID इसीलिए ऑब्जेक्ट की भरोसेमंद पहचान करती है।
From Bihar STET 2025 Paper II Computer Science PYQ, 4 Nov 2025, Shift 2 (2:00 PM)