Exam-style question
Try this first
What is the main purpose of abstraction when solving a problem?.
- A.To add as many implementation details as possible
- B.To remove unnecessary details so the problem can be represented in a solvable way
- C.To make a problem more difficult to understand
- D.To prevent the problem from being compared with other problems
Model answer
What a good answer should say
- To remove unnecessary details so the problem can be represented in a solvable way
Explanation
Why this works
Abstraction removes details that are not needed, leaving a representation of the problem that can be solved.
Common mistake
No common mistake is linked to this question yet.
