TK Study

Multiple choice › Efficient execution (memory and exceptions)

Efficient execution (memory and exceptions)

1. Efficient execution (memory and exceptions)

A program keeps allocating memory for temporary objects and never releases it, so it gradually slows and crashes. This is a:

  1. Race condition
  2. Syntax error
  3. Logic error in the user interface
  4. Memory leak
Answer

D

Failing to free memory that is no longer needed is a memory leak. Memory management is a syllabus topic under efficient execution.