Which concept is defined as follows: the process of repeating a set of instructions until a specific condition is met?
Difficulty: Easy
About this MCQ
This Easy Programming Concepts MCQ checks one syllabus fact.
The question is: “Which concept is defined as follows: the process of repeating a set of instructions until a specific condition is met?”
The accepted answer is D. Iteration. Iteration is the person, body, or term that satisfies “Which concept is defined as follows: the process of repeating a set of instructions until a specific condition is met” (option D). Option A (“Code comment”) does not match the stem; it is a near-miss used to catch incomplete recall of Iteration. Option B (“Garbage collection”) does not match the stem; it is a near-miss used to catch incomplete recall of Iteration. Remaining alternatives (Pseudocode) fall outside the same rule and should be eliminated once Iteration 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. Code comment
Why not A: “Code comment” is not correct. The accepted answer is D. Iteration. Iteration is the person, body, or term that satisfies “Which concept is defined as follows: the process of repeating a set of instructions until a specific condition is met” (optio
- B. Garbage collection
Why not B: “Garbage collection” is not correct. The accepted answer is D. Iteration. Iteration is the person, body, or term that satisfies “Which concept is defined as follows: the process of repeating a set of instructions until a specific condition is met” (optio
- C. Pseudocode
Why not C: “Pseudocode” is not correct. The accepted answer is D. Iteration. Iteration is the person, body, or term that satisfies “Which concept is defined as follows: the process of repeating a set of instructions until a specific condition is met” (optio
- D. Iteration ✓
Correct answer
D. Iteration
Explanation
Iteration is the person, body, or term that satisfies “Which concept is defined as follows: the process of repeating a set of instructions until a specific condition is met” (option D). Option A (“Code comment”) does not match the stem; it is a near-miss used to catch incomplete recall of Iteration. Option B (“Garbage collection”) does not match the stem; it is a near-miss used to catch incomplete recall of Iteration. Remaining alternatives (Pseudocode) fall outside the same rule and should be eliminated once Iteration 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
- Select the correct name for: an error that occurs while a program is executing, often causing it to crash or b...
- The following statement describes a specific concept. What is it called? a type system where variable types ar...
- In computer science, Syntax error refers to which of the following?
- Select the accurate description of Dynamic typing.
- What term describes the following? an error that occurs when code does not follow the grammatical rules of the...
- Which term refers to a variable listed in a function's definition that receives a value when the function is c...