Comparison Operators in Pseudocode
A VCAA pseudocode comparison operator meaning greater than or equal to. Returns true when the left value is greater than or equal to the right value. Example: age >= 18
Understanding Comparison Operators in Pseudocode in VCE Pseudocode
What it does: VCAA pseudocode uses a single = for equality comparison. The double equals == belongs to Python and JavaScript and is not part of VCAA pseudocode convention. <= is true when count is 10 or less; >= is true when score is 80 or more. Both include the equal case, unlike < and > which are strictly exclusive. The operator for greater than or equal to is >= with the greater-than sign first. The reversed form => is not a valid VCAA pseudocode operator. Comparison operators appear in conditions — the part that evaluates to true or false. They are used in if-then, if-then-else, while and Repeat-Until structures.
Common mistakes: age => 18 reverses the comparison operator. The correct operator for greater than or equal to is >=, not =>. The line should read if age >= 18 then. Line 2 is wrong. VCAA pseudocode uses a single equals sign = for equality comparison, not double equals ==. The correct condition is if score = 50 then. Line 2 is wrong.
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–10) and word search (Modules 1–28).
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
if x != y then check in VCAA pseudocode?Match the Pairs
Key Term
>=Fill in the Blanks
Spot the Error
Student with a class code? Join your class →