Computational thinking
Computational thinking is a way of solving problems so that a person or a computer can carry out the solution. It has four main parts.
The four parts
Pattern recognition: spotting things that are the same or similar, so you can reuse a solution.
Abstraction: removing details that do not matter, to focus on what does.
Algorithms: writing step-by-step instructions to solve the problem.
Abstraction in real life
It keeps only what a passenger needs: the stations, the lines and where to change.
A football video game does not model every blade of grass, but it keeps the ball, the players and the rules.
Decomposition example
Decompose it: ask a question, check the answer, keep the score, show the final score.
Each small part can now be solved, and even shared between people in a team.
You are planning a school trip. Show decomposition and abstraction.
- Decomposition: split the trip into transport, cost, permission letters, timetable and lunch.
- Abstraction: for the coach booking, keep the number of people and the date. The colour of the coach does not matter.
Answer: Decomposition splits the trip into smaller tasks; abstraction keeps only the details each task needs.
Decomposition breaks a problem down, pattern recognition spots similarities, abstraction removes unnecessary detail, and an algorithm gives step-by-step instructions.
- Computational thinking
- Solving problems in a way a computer could carry out, using decomposition, pattern recognition, abstraction and algorithms.
- Decomposition
- Breaking a big problem down into smaller problems that are easier to solve.
- Pattern recognition
- Spotting things that are the same or similar in different problems, so one solution can be reused.
- Abstraction
- Removing unnecessary detail from a problem so you can focus on what matters. A map of the Underground is an abstraction.
- AND
- A Boolean operator that gives True (1) only when both inputs are True.
- Algorithm
- A precise set of step-by-step instructions to solve a problem or complete a task.
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.
Planning a school trip by splitting it into transport, food and activities is an example of...
- abstraction
- pattern recognition
- decomposition
- debugging
Show the answer
Answer: decomposition
Splitting a problem into parts is decomposition.
A London Underground map ignores real distances and shows only lines and stations. Which skill is this?
- Abstraction
- Decomposition
- Iteration
- Selection
Show the answer
Answer: Abstraction
Leaving out real distances keeps only what travellers need.
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.
Facts checked against the sources below, 27 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.