Decomposition and abstraction
Computational thinking is how programmers tackle big problems. Two key skills are breaking problems down and hiding unnecessary detail.
Decomposition
Each part can be solved, tested and even shared between team members separately.
Abstraction
A London Underground map is an abstraction: it shows stations and connections, not real distances or streets.
Why it helps
Abstraction makes models simpler, so programs are quicker to write and run.
Together they let programmers tackle problems that would be too complex in one go.
Decompose the problem: "Create a quiz game."
- Store the questions and answers.
- Display a question and get the player's answer.
- Check the answer and update the score.
- Show the final score at the end.
Answer: Store questions, ask, check and score, show result.
Decomposition breaks a problem into smaller sub-problems. Abstraction removes unnecessary detail. Both make complex problems manageable.
- Decomposition
- Breaking a problem into smaller, more manageable sub-problems.
- Abstraction
- Removing unnecessary detail from a problem to focus on what matters.
All GCSE and International GCSE Computer Science key terms and definitions →
- Not “Removing unnecessary detail”. That is abstraction.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
A programmer splits a timetable app into login, timetable display and reminders. What is this?
- Decomposition
- Abstraction
- Iteration
- Selection
Show the answer
Answer: Decomposition
Breaking a problem into smaller parts is decomposition.
Which statement best describes abstraction?
- Breaking a problem into parts
- Testing a program
- Focusing on the important details and ignoring the rest
- Writing comments
Show the answer
Answer: Focusing on the important details and ignoring the rest
Abstraction removes unnecessary detail.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
- Pearson Edexcel GCSE Computer Science (1CP2) specification, topic 1.1.1, 6.1.1
- Pearson Edexcel International GCSE Computer Science (4CP0) specification, topic 1.2.2, 1.2.3
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.
What do exam command words like explain and evaluate mean? →