Suggesting a correction
To suggest a correction, name the wrong line or symbol, say why it is wrong, write the corrected statement, and explain what the fix changes in the algorithm's output.
Understanding Suggesting a correction in IGCSE Computer Science Paper 2
What it does: This names the line, gives the reason (wrong loop bound) and writes the replacement statement with the right upper limit. The effect of a fix is about the output or behaviour of the algorithm. It is not about speed. The faulty symbol is =, not +. Assignment in pseudocode uses ←. Deleting the line would mean no total is output at all. Moving it fixes the problem and keeps the output. The student quotes the wrong symbol and writes the fix, so Count is updated instead of being compared. A suggested correction must be specific: name the line, explain the problem and write the replacement code.
Common mistakes: Line 4 is wrong because = is a comparison, not an assignment. It should be Total ← Total + Mark. With the fix, each mark is added to the running total, so the output is the sum of all five marks. Line 1 is wrong because the counter starts at 1, so it is one too high. It should be Passes ← 0. With the fix, the output is the true number of passes instead of always being one too many.
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 242–253) and word search (Modules 232–253).
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
Line 3 should be Total ← 0Fill in the Blanks
Spot the Error
Student with a class code? Join your class →