1. Home
  2. Data Science
  3. Python
  4. What is a memory leak candidate in Python even with…

Added 25 Nov 2026

What is a memory leak candidate in Python even with garbage collection?

  1. Using integers
  2. Using local variables
  3. Objects kept alive by lingering references Correct answer
  4. Using loops

Correct answer

C. Objects kept alive by lingering references

5 views

MCQSEXAM

Explanation

Garbage collection cannot free objects that are still referenced.

Reference

Asked in: Python Interview Advanced

https://docs.python.org/3/library/index.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs