Exam-style question
Try this first
How do decomposition and abstraction together contribute to solving complex problems?.
- A.Decomposition makes problems smaller, while abstraction ensures every detail is included.
- B.Decomposition identifies patterns, while abstraction creates algorithms.
- C.Decomposition breaks down the problem, and abstraction simplifies its components.
- D.Decomposition focuses on input/output, while abstraction handles error checking.
Answer and explanation
Concise answer
Decomposition breaks down the problem, and abstraction simplifies its components.
Why this is correct
Decomposition reduces a problem into manageable sub-problems. Abstraction then simplifies these sub-problems or their elements by filtering out irrelevant details, allowing for a focused and efficient solution. Options A, B, and D misrepresent the roles of one or both concepts.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
