Exam-style question
Try this first
Explain how abstraction supports automation when solving a problem involving a messy real-world phenomenon. Your answer should refer to selecting details, creating an algorithm, using program code, using data structures, and executing the code.
Model answer
What a good answer should say
- Abstraction involves selecting the details of the real-world phenomenon that are relevant to the problem and discarding unnecessary details.
- The selected details form a model with enough information to achieve the required degree of accuracy.
- An algorithm is then created to perform actions on or with the modelled data.
- The algorithm is implemented as program code, and the model is implemented using data structures.
Explanation
Why this works
A complete answer connects abstraction to automation rather than treating them as separate activities. It should explain both the reduction of real-world detail and the sequence from algorithm design through implementation to execution.
Common mistake
No common mistake is linked to this question yet.
