The coding stage
The third PDLC stage, where the design (pseudocode or flowchart) is turned into program code in a programming language, written step by step and checked against the requirements.
Understanding The coding stage in IGCSE Computer Science Paper 2
What it does: The programmer follows the pseudocode from the design stage and translates each step into the programming language. During coding the programmer checks that the code meets each requirement. Here the IF statement matches the requirement to reject marks over 100. You must design the solution before you write the code. The order is analysis, design, coding, then testing. The requirements list what the program must do. Comparing the code with them shows whether anything is missing or wrong. Writing code in small parts, step by step, makes errors easier to find and fix. It is a key idea of the coding stage.
Common mistakes: The design says the program must read two marks from the user. OUTPUT displays a value instead of reading one. The line should be INPUT Mark1. The requirement says to find the average. An average is the total divided by the number of marks, so the code should use / 3 and not * 3.
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 1–16) and word search (Modules 1–26).
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
Coding stageFill in the Blanks
Spot the Error
Student with a class code? Join your class →