Identify the correct concept described as: an automatic memory management process that reclaims memory occupied by objects no longer in use.
Difficulty: Medium
About this MCQ
This Medium Programming Concepts MCQ checks one syllabus fact.
The question is: “Identify the correct concept described as: an automatic memory management process that reclaims memory occupied by objects no longer in use.”
The accepted answer is A. Garbage collection. “Identify the correct concept described as: an automatic memory management process that reclaims memory occupied by objects no longer in use.” is answered by Garbage collection (option A). Option B (“Constant”) does not match the stem; it is a near-miss used to catch incomplete recall of Garbage collection. Option C (“Operator precedence”) does not match the stem; it is a near-miss used to catch incomplete recall of Garbage collection. Remaining alternatives (Iteration) fall outside the same rule and should be eliminated once Garbage collection is identified. Programming Concepts questions of this type reward precise definitions rather than approximate associations. Programming Concepts recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.
- A. Garbage collection ✓
- B. Constant
Why not B: “Constant” is not correct. The accepted answer is A. Garbage collection. “Identify the correct concept described as: an automatic memory management process that reclaims memory occupied by objects no longer in use.” is answered by Garbage collection (op
- C. Operator precedence
Why not C: “Operator precedence” is not correct. The accepted answer is A. Garbage collection. “Identify the correct concept described as: an automatic memory management process that reclaims memory occupied by objects no longer in use.” is answered by Garbage collection (op
- D. Iteration
Why not D: “Iteration” is not correct. The accepted answer is A. Garbage collection. “Identify the correct concept described as: an automatic memory management process that reclaims memory occupied by objects no longer in use.” is answered by Garbage collection (op
Correct answer
A. Garbage collection
Explanation
“Identify the correct concept described as: an automatic memory management process that reclaims memory occupied by objects no longer in use.” is answered by Garbage collection (option A). Option B (“Constant”) does not match the stem; it is a near-miss used to catch incomplete recall of Garbage collection. Option C (“Operator precedence”) does not match the stem; it is a near-miss used to catch incomplete recall of Garbage collection. Remaining alternatives (Iteration) fall outside the same rule and should be eliminated once Garbage collection is identified. Programming Concepts questions of this type reward precise definitions rather than approximate associations. Programming Concepts recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.
Source: Programming Concepts Official Reference Guide
Tags: computer science, programming, coding basics, software development
Submitted by: MCQsHub Editorial
Related MCQs
- What is the name for a line of text in source code that is ignored by the compiler or interpreter and used to...
- A data type used to represent a sequence of characters, such as text. What is this concept called?
- What does Parameter refer to?
- Choose the correct description of String (data type).
- Which term refers to a variable listed in a function's definition that receives a value when the function is c...
- Which of the following best names the concept in which the set of rules that determines the order in which ope...