Question Detail

COS 102 test topic Objective Question

Question

In top-down algorithmic problem solving, what does stepwise refinement entail?
Options
A Converting source code to assembly instructions
B Progressively decomposing complex problems into smaller, manageable subproblems
Correct Answer
C Refactoring code to improve cache locality
D Eliminating recursive calls using iterative stacks
Correct Answer

Option B is the correct answer.

Detailed Explanation

Stepwise refinement is a structured design method where high-level abstract tasks are recursively broken down into concrete steps.

Hint

No hint available

Question Info