Constructing a full solution: decompose, draw and write
Abstract the scenario, split it into inputs, processes, outputs and storage, draw a structure diagram, then write a flowchart or pseudocode for each part and check it against the requirements.
Understanding Constructing a full solution: decompose, draw and write in IGCSE Computer Science Paper 2
What it does: The structure diagram breaks the main login problem into smaller sub-systems, with the whole system at the top and the sub-problems below it. You must understand and simplify the problem first. Decomposing and drawing come before writing the detailed algorithm for each part. The user types the username and password (inputs). The program compares them with stored details (process) and then shows a message (output). Abstraction keeps only the details needed to solve the problem. The limit is essential, but the casing colour does not affect the solution. In Cambridge pseudocode, an IF statement must finish with ENDIF. NEXT belongs to FOR loops.
Common mistakes: Cambridge pseudocode reads a value from the user with INPUT, not READ. The login input should be INPUT Pass. An IF condition must be followed by THEN. The line should be IF Temp > 30 THEN.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 136–145) and word search (Modules 123–145).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
abstract, decompose, draw, writeFill in the Blanks
Spot the Error
Student with a class code? Join your class →