15 real Memory & Mutability questions from the Python bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.
1. What is mutable default argument?
Junior
A.CPython's primary memory-management scheme that frees an object when the number of references to it reaches zero
B.a defining-time-evaluated parameter default, like a list, that persists and accumulates across calls as a common bug
C.the supplementary cyclic collector that reclaims groups of objects referencing each other that reference counting alone cannot free
D.a comparison that tests whether two names point to the very same object in memory rather than equal values
A.reference counting — the supplementary cyclic collector that reclaims groups of objects referencing each other that reference counting alone cannot free
B.reference counting — a comparison that tests whether two names point to the very same object in memory rather than equal values
C.reference counting — the global interpreter lock that allows only one thread to execute bytecode at a time in CPython
D.reference counting — CPython's primary memory-management scheme that frees an object when the number of references to it reaches zero
11. Which term means: "the supplementary cyclic collector that reclaims groups of objects referencing each other that reference counting alone cannot free"?
A.garbage collector — a comparison that tests whether two names point to the very same object in memory rather than equal values
B.garbage collector — a defining-time-evaluated parameter default, like a list, that persists and accumulates across calls as a common bug
C.garbage collector — the supplementary cyclic collector that reclaims groups of objects referencing each other that reference counting alone cannot free
D.garbage collector — the global interpreter lock that allows only one thread to execute bytecode at a time in CPython
Answers, AI explanations, and a scored voice mock interview
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.