Topic 2.1: Computational Thinking
Core concepts: Decomposition, Abstraction, and Algorithmic
Thinking.
Match the term to the correct definition.
✅ Mark Scheme
Abstraction: Filtering out unnecessary details (C).
Decomposition: Breaking down a complex problem (A).
Algorithmic Thinking: Logical steps to solve a problem (B).
Score:
Sat-nav calculating route from London to Manchester.
(a) Essential Info (2 marks)
(b) Irrelevant Info to remove (Abstraction) (2 marks)
Think: "What does the MATH need?" Distance? Speed? Yes. Colour of the car? No.
✅ Mark Scheme
(a) Essential: Current Location, Destination, Speed limits, Traffic, Map data.
(b) Irrelevant: Car colour, Passengers, Weather (mostly), Building shapes, Music.
Score:
Define Decomposition.
"De-compose" = "Take apart". Think helping a big problem become smaller problems.
✅ Mark Scheme
Breaking down a complex problem (1) into smaller, manageable parts (1).
Score:
Structure Diagram: SportsDaySystem.
Tasks: 1. Register, 2. Record, 3. Display.
Sub-tasks: (InputName, AssignHouse), (EnterTime, CalculatePoints), (ShowHouseWinner,
PrintCertificates).
Diagram looks like a family tree. Top: System Name. Middle: 3 Main Tasks. Bottom:
Sub-tasks connected to their parent.
✅ Mark Scheme
- Level 1: SportsDaySystem (Top)
- Level 2: Register, Record, Display (connected to top)
- Level 3 (under Register): InputName, AssignHouse
- Level 3 (under Record): EnterTime, CalculatePoints
- Level 3 (under Display): ShowHouseWinner, PrintCertificates
Score:
"Alien Attack" Game Loop Decomposition. Fill in the blanks.
1. CheckPlayerInput
2. ______________ (Moving characters)
3. ______________ (Checking death)
4. UpdateScore
✅ Mark Scheme
Branch 2: UpdatePositions / MovePlayer / MoveEnemies
Branch 3: CheckCollision / CheckGameOver / CheckLives
Score:
Explain two benefits of using Decomposition for large programs.
Think about: Teamwork (can you split work?) and Debugging (is it easier to find
bugs in small bits?).
✅ Mark Scheme
- Teamwork: Different people can work on different parts simultaneously (2).
- Debugging: Easier to locate errors in smaller modules (2).
- Reusability: Modules can be reused in future programs (2).
Score:
State the Flowchart Symbol Name for each:
✅ Mark Scheme
- start(): Terminator / Start/Stop
- calculation: Process / Box
- if: Decision / Diamond
- print: Input/Output / Parallelogram
Score:
Pseudocode Task: Smart Thermostat.
- If temp < 18, Heating ON.
- If temp > 21, Heating OFF.
- Otherwise no change.
Logic Structure Hint:
if temp < 18 then
...
elseif ... then
...
endif
✅ Mark Scheme
if currentTemp < 18 then
heating = "ON"
elseif currentTemp > 21 then
heating = "OFF"
endif
1 mark for correct inputs/reading.
1 mark each for correct conditions.
1 mark for correct
structure (IF/ELSEIF).
Score:
Why is Abstraction necessary for a Flight Simulator game?
✅ Mark Scheme
- Computers have limited processing power (1).
- Too much detail (e.g. cloud physics) slows it down (1).
- Focus only on what matters (flight mechanics) for the game purpose (1).
Score: