Converting pseudocode to a flowchart
Each pseudocode statement becomes one flowchart symbol: assignment is a process box, INPUT/OUTPUT a parallelogram, and IF or loop conditions a decision diamond.
Understanding Converting pseudocode to a flowchart in IGCSE Computer Science Paper 2
What it does: The condition after IF is written in a diamond. One exit is for Yes (true) and one for No (false). WHILE tests its condition first, so the diamond is drawn before the body and a No answer skips the body. An assignment is a calculation or storing step, so it goes in a process box. Parallelograms are only for INPUT and OUTPUT. A FOR loop is split into three parts: set the counter, test it against the limit, then update it at the end of each pass. A decision diamond has one flow line in and two out, for the two possible answers to the condition.
Common mistakes: An IF condition is a question, so it becomes a decision diamond, not a process box. It should read IF Mark > 50 : diamond. An assignment becomes a process box (a rectangle). Only conditions use a diamond. It should read Num ← Num + 1 : process.
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 188–213) and word search (Modules 188–231).
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
Pseudocode to flowchartFill in the Blanks
Spot the Error
Student with a class code? Join your class →