- Define computational thinking and know when to use it (1.1.1–1.1.3)
- Know the four components and their benefits and drawbacks (1.1.4–1.1.5)
- Use decomposition, pattern recognition and abstraction (1.1.6–1.1.16)
- Judge how the components work together (1.1.17)
What computational thinking is
Computational thinking is a way of looking at a problem so that a solution can be described clearly and, where it helps, carried out by a computer. You break the problem down, look for patterns, keep only what matters and then design the steps.
Use it when a problem is complex, has many parts, repeats, or needs a solution that could be automated in code. Small one-off problems with an obvious answer rarely need it.
| Benefits | Drawbacks |
|---|---|
| Makes big problems manageable | Takes time to do properly |
| Gives solutions that can be reused and automated | Can over-complicate simple problems |
| Helps teams split work and communicate | A wrong assumption early on carries through |
The four components
- Decomposition: breaking a problem or solution into smaller, more manageable parts.
- Pattern recognition: finding similarities and trends within and between problems.
- Abstraction: keeping the information you need and hiding or removing the rest.
- Algorithmic design: writing the step-by-step solution (see stop 1.2).
Decomposition
The tasks of decomposition are to:
- identify the main features of the problem
- characterise (describe) each feature
- break the problem down into smaller, more manageable parts
- break the solution down into smaller, more manageable parts.
Benefit: each part can be understood, built and tested on its own, often by different people. Drawback: if the parts are split badly, they may not fit back together.
Ways to represent decomposition
- Block diagrams: boxes for the main components or modules and how they connect.
- Information flow diagrams: how data moves between parts, with inputs, outputs and changes.
- Flowcharts: the steps and decisions inside one part.
- Code: separate functions or procedures for each part.
- Written descriptions: structured text explaining how the problem is split.
Pattern recognition
Pattern recognition means:
- finding and interpreting trends and similarities within and between problems and processes
- finding common features between a new problem and existing solutions
- making predictions and assumptions based on the patterns you find.
Benefit: you can reuse solutions that already work. Drawback: a pattern that only looks similar can lead to wrong assumptions.
Abstraction
The tasks of abstraction are to identify the information that is needed, filter out unnecessary details and hide the details of internal workings.
When you abstract a problem, ask:
- What inputs are needed?
- What are the expected outputs and outcomes?
- What varies each time, and what stays constant?
- What key actions must the solution perform?
- Which processes are repeated?
Benefit: the problem becomes simpler to solve. Drawback: you might filter out a detail that turns out to matter.
How the components work together
Decomposition gives you the parts. Pattern recognition shows which parts are alike, so they can share a solution. Abstraction strips each part back to what matters. Algorithmic design turns each part into clear steps. In the exam you may need to judge which component suits a scenario best, and why.