When an immutable variable is updated, the old variable is:
ADeferred
BDelivered
CDestroyed
DDuplicated
Answer & Solution
Correct answer: C. Destroyed
1. An immutable value cannot be edited where it sits.
2. The name has to be rebound to something new.
3. The old variable is destroyed and a new one is created by the same name.
4. So the answer is destroyed.
_Source: syllabus Computer Science, Ch 5 'Getting Started with Python'_
Keep practising Python Programming
Browse all Python Programming questions for BCA, or explore more Computer Science topics.