Error: = used instead of ←
Use ← to store a value, so write Total ← 0, not Total = 0. Use = only to compare, as in IF Score = 5, not IF Score ← 5. Swapping them is an error.
Understanding Error: = used instead of ← in IGCSE Computer Science Paper 2
What it does: Assignment uses ←, so this line stores 5 in Score. A condition compares values, so it uses = and not ←. ← assigns (stores) a value in a variable. Writing Total = 0 uses the comparison symbol, which is an error. In IGCSE pseudocode, ← assigns and = compares. Count = 0 does not store anything, so the correction is Count ← 0. The result must be stored in Total with ←. Using = would only compare Total with Total + Mark. Use ← to assign. Pseudocode does not use == at all; it uses = only to compare. Using = on its own line is an error, because assignment must use the ← arrow.
Common mistakes: = compares values, it does not store them. To store 0 in Total, use the assignment arrow: Total ← 0. An IF condition compares values, so it needs =. ← is for assignment. The line should be IF Score = 5.
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 232–241) 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
Total ← 0Fill in the Blanks
Spot the Error
Student with a class code? Join your class →