Difficulty: Easy
Correct Answer: Repetition (loop until a condition is met)
Explanation:
Introduction / Context:
Programming logic is commonly expressed with three fundamental control structures: sequence, selection, and repetition. Everyday instructions, such as those in cooking recipes, often map neatly to these structures. The phrase 'Beat until smooth' specifies an action repeated until a condition is satisfied, making it a clear example of repetition (iteration).
Given Data / Assumptions:
Concept / Approach:
Repetition means executing a block multiple times controlled by a condition. In pseudocode, this might be 'while mixture_not_smooth do beat()'. Sequencing would perform the action exactly once; selection would choose among actions; switching handles multiple discrete cases. Only repetition captures "keep doing this until...".
Step-by-Step Solution:
Verification / Alternative check:
Replace 'until' with a Boolean: while not smooth, repeat. This confirms a loop, not a one-time step or branch among options.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing 'until' with a one-time instruction or missing the implicit test condition that determines loop exit.
Final Answer:
Repetition (loop until a condition is met).
Discussion & Comments