Writing precise conditions (7c)
Write a condition with symbols such as >=, <> and =, not words. Age >= 18 is correct; 'Age is 18 or more' is not accepted. This applies in pseudocode and flowcharts.
Understanding Writing precise conditions (7c) in IGCSE Computer Science Paper 2
What it does: In a condition, = compares two values and the string literal is in double quotes. 'Name is Ali' in words is not accepted. Precision applies in flowcharts as well as pseudocode. The decision diamond should contain a condition such as Age >= 18, not 'Is the age 18 or more?'. Conditions must use symbols. >= means 'greater than or equal to', so Age >= 18 is accepted but 'Age is 18 or more' is not. Use the relational operator <> for 'not equal to'. Words like 'is not zero' are too vague and are not accepted. <= is the symbol for 'less than or equal to'. Use it instead of describing the comparison in words.
Common mistakes: The condition is written in words. Exam answers must use symbols, so it should be IF Age >= 18 THEN. A range check must be written precisely with relational and logical operators. It should be UNTIL Mark >= 0 AND Mark <= 100.
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 146–155) and word search (Modules 146–165).
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
Age >= 18Fill in the Blanks
Spot the Error
Student with a class code? Join your class →