Edexcel IGCSE Computer Science 4CP0
Algorithms
Searching and Sorting Algorithms
Decomposition and Abstraction
Developing and Testing Code
Programming Constructs and Operators
Data Types and Data Structures
Input, Output and Validation
Data Representation
Data Storage and Compression
Encryption
Hardware and the CPU
Software
Programming Languages and Translators
Networks
Network Security
The Internet and the World Wide Web
Emerging Trends, Issues and Impact
Decomposition and Abstraction
Abstraction
- 3 things to know
- Papers 1 and 2
Overview
Removing unnecessary detail to model the real world, from underground maps to games, and programming abstractions such as a bank account.
What you need to know
Answer each one before you reveal it.
What is abstraction?
Give an example of abstraction in a map of an underground railway
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is abstraction?
Model answer
Abstraction is removing unnecessary detail from a problem so that only the important features are modelled.
- 2
Give an example of abstraction in a map of an underground railway.
Model answer
The map shows stations, lines and connections. Real distances and street details are left out because travellers do not need them.
- 3
Why is abstraction useful when modelling the real world?
Model answer
A real situation has too many details to program. Abstraction keeps only the details that affect the result, so the model is simpler to build.
- 4
What details might be kept in an abstraction of a football match for a computer game?
Model answer
The game might keep the positions of the players and the ball, the score and the time. Details such as the weather or the crowd's noise could be left out.
- 5
What is the risk of removing too much detail in an abstraction?
Model answer
The model may no longer behave like the real situation. Results from the model may then be wrong.
- 6
How can a real-world object be represented in a program?
Model answer
The important features become variables or a record. A car might be stored as its make, colour and speed.
Other ways to work this
The same content, four other ways.
Everything in your subscription
Runs, plus a mode for every other kind of session.
Every question in Decomposition and Abstraction, on a schedule.
Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.