Exam-style question
Try this first
A programmer is given a detailed description of a task. Which action is an example of abstraction?.
- A.Keeping every detail exactly as it was provided
- B.Removing details that are not needed to solve the task
- C.Replacing the task with a completely unrelated task
- D.Adding new details that were not part of the original task
Answer and explanation
Concise answer
Removing details that are not needed to solve the task
Why this is correct
Abstraction involves removing unnecessary detail while retaining enough information to represent and solve the problem.
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.
