Computational thinking is the foundation of every topic in Unit 1. It is not programming. It is the thought process behind solving problems logically, efficiently and in a structured way. This tutorial covers decomposition, abstraction, pattern recognition, algorithms and problem-solving strategies – everything the exam expects you to explain with clarity.
Computational thinking is the ability to break down problems, reason logically and design steps that can be executed by a human or a computer. You are not coding – you are shaping the logic that code will follow.
A solid exam definition: “Computational thinking is the skill of analysing problems and creating structured methods of solving them, often by applying logical reasoning and algorithmic thinking.”
The point is simple: it teaches you how to think like a computer scientist.
You must know all four pillars. Examiners love these.
Breaking a large, complex problem into smaller, manageable tasks.
Example:
“Make breakfast” becomes:
- Make toast
- Make eggs
- Make coffee
Each of those can be broken down further. That is decomposition.
Filtering out unnecessary detail so you only focus on what matters.
Example:
A map removes real-world details (trees, cars, buildings) and leaves only what is needed to navigate: roads, directions, symbols.
Abstraction = hiding complexity.
Spotting similarities or repeated structures in problems.
This helps reduce effort because if something has happened before, the solution can be reused.
A step-by-step method for solving a problem.
The exam will expect you to know pseudocode forms (IF, WHILE, FOR) and describe algorithms clearly.
Decomposition is central to Unit 1. You will need to show you can break a problem into distinct steps or modules.
For example:
“Builder job pricing app”
Inputs: material cost, number of workers, hours, labour rate, budget
Processes: calculate totals, compare with budget
Outputs: total cost, message “within budget” or “too expensive”
Breaking it down makes it solvable.
You must recognise and interpret flowchart symbols.
Flowcharts represent:
- Inputs
- Outputs
- Processes
- Decisions
- Start/End
You should be able to describe what a flowchart does in words and translate a flowchart into pseudocode or code.
The exam expects:
- correct IF THEN ELSE structure
- correct WHILE loops
- correct FOR loops
- correct indentation and logical flow
Pseudocode is human-readable logic, not code.
Example IF:
IF age > 17 THEN
OUTPUT "You can vote"
ELSE
OUTPUT "You cannot vote"
ENDIF
Example WHILE:
count = 0
WHILE count < 5
OUTPUT "Hello"
count = count + 1
ENDWHILE
Example FOR:
FOR x = 0 TO 4
OUTPUT "Loop"
ENDFOR
A classic reasoning task:
You cannot place an odd number of sweets into each bag if you have an even number of bags and an odd number of sweets.
Reason:
Odd + odd = even.
Even number of odds = even.
You cannot create only odd-valued totals with mismatched parity.
This problem tests logic, not maths.
Fill, transfer, measure, repeat.
This tests your ability to follow sequential logic and reason through constraints.
Given a list, find how many times “6” appears.
Steps:
- Initialise a counter to 0
- Loop through items
- If equal to 6, increment counter
- Output counter
This is decomposition + iteration + selection.
You should know the major methods:
Building a model of a real system to test ideas. Used in:
- population modelling
- queueing systems
- risk analysis
- traffic management
- staffing or checkout optimisation
The exam expects you to know that simulation is used when real-world testing is too expensive, dangerous or impractical.
Trying all possible combinations until you find a solution.
Examples:
- anagram solvers
- magic squares
- cracking codes
Brute force is slow but guarantees a result.
Testing guesses, refining based on results.
Used when:
- the answer range is small
- brute force works quickly
- exact theory is difficult
Using formulas, logic or rules to calculate an answer.
Examples:
- sum of numbers 1 to n
- probability
- physics-based calculations
When technical or logical approaches fail, creativity solves the problem.
Example:
Preventing internet trolls could require behavioural signals, keyword detection or moderation flags.
How many checkouts does a supermarket need?
How many phone lines should a call centre have?
Simulation is the correct method because real-world testing would be inefficient and expensive.
Two devices transmit at once. Collision occurs.
Solution: random back-off timing.
This is creative problem solving combined with theoretical reasoning.
Used enumeration, pattern recognition and careful deduction.
You must identify which strategy fits which problem.
This technique solves a smaller version of the problem repeatedly until it’s trivial.
Example:
Binary search keeps halving the list until the element is found.
Another example:
The “celebrity problem” where you repeatedly eliminate non-celebrities by comparing pairs.
You need to know:
- Definitions of decomposition, abstraction, pattern recognition, algorithms
- How to break a problem into steps
- How to explain flowcharts and write pseudocode
- Different problem-solving approaches (simulation, enumeration, trial and error, theoretical, creative)
- How to apply these methods to real examples
- How to identify which computational thinking skill is being used in a scenario
Mastering these lets you confidently explain and evaluate computational thinking problems at distinction level. ```
Create a customised learning path powered by AI — stay focused, track progress, and earn certificates.
Build Your Learning Path →