True or false values
A data type with only two possible values: true or false. It stores the answer to a yes/no question, like 'is the light on?', just like on and off in binary.
Understanding True or false values in ACARA Digital Technologies Years 5–6
What it does: true and false are the only two Boolean values, just as a binary switch is only on or off. On means yes, so the answer to 'Is the light on?' is true. The door is not open, so the yes/no answer is no, which is false. The Boolean value false means no, so this variable says it is not raining. Booleans have only two possible values, so 'maybe' does not match the broken code's data type. Text "true" is a string. A real Boolean value true has no quote marks.
Common mistakes: A Boolean can only be True or False, and Falce is a typo. Line 2 should be door_open = False. A Boolean can only be True or False. Yes is not a Boolean value, so line 3 should be has_pet = True.
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 73–84) and word search (Modules 73–104).
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
BooleanFill in the Blanks
Spot the Error
Student with a class code? Join your class →