The testing stage
The final PDLC stage: run the finished program with test data, compare results with expected results, check every requirement is met, and send any errors back to coding.
Understanding The testing stage in IGCSE Computer Science Paper 2
What it does: Testing comes last in the PDLC order, after the program has been written in the coding stage. Each test case has an expected output. If the actual output is different from the expected output, there is an error. Testing must check each requirement. A program that runs but misses a requirement has not passed testing. The test shows a requirement is not met. The program goes back to coding to fix the calculation.
Common mistakes: The actual result equals the expected result, so the test has passed. The line should be OUTPUT "Test passed". An IF statement must have THEN at the end of the condition. It should be IF Errors > 0 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 17–26) 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
Testing stageFill in the Blanks
Spot the Error
Student with a class code? Join your class →