Pseudocode assignment: ←
The ← symbol is assignment: it stores the value on its right in the variable on its left. Total ← 0 sets Total to 0. Total ← Total + Score adds Score to Total.
Understanding Pseudocode assignment: ← in IGCSE Computer Science Paper 2
What it does: Count is on the left, so it is the variable being changed. The value 10 on the right is stored in it. Using Total on both sides adds Score to what Total already holds and saves the new answer in Total. Total + Score is 10 + 5 = 15, and this value is stored back in Total. In pseudocode, ← is assignment. It does not test whether two values are equal.
Common mistakes: The variable must be on the left of ← and the value on the right. 0 is not a variable, so it cannot store anything. It should be Total ← 0. The left side of ← must be a single variable. Total + 5 is a calculation, so it goes on the right. It should be Total ← Total + 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 123–134) and word search (Modules 123–145).
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 →