AQA 7517 4.4.1.4: Information hiding
The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.
What it covers
The last lesson abstracted away details of the world. This one abstracts away details of the program: the particular values in a calculation, the method used to get an answer, and the way data is stored. Each kind has an exam name, and together they explain why large programs can be built by many people who never read each other's code.
- Information hiding
- Procedural abstraction
- Functional abstraction
- Data abstraction
Or do it in the simulator, with tasks that mark themselves
Lessons that teach it
- A2.5 Procedural, functional and data abstraction Recursion and computational thinking
Information hiding, hiding the values, the method and the representation, and swapping a data type's insides.
Try it on a robot
The task from A2.5 Procedural, functional and data abstraction, running here. Change the program and press Run.
The specification is AQA's own document; this page says which of our lessons teach point 4.4.1.4 and is not endorsed by the board.