The boolean data type: true and false
A data type with only two values, true or false, written in lowercase with no quotes. Comparisons like 5 > 3 give a boolean, and true is not the same as the string "true".
Understanding The boolean data type: true and false in ACARA Digital Technologies Years 7–8
What it does: false is a boolean keyword. It is lowercase and has no quotation marks around it. Putting quotes around true makes it text, so typeof reports string instead of boolean. A boolean holds only true or false.
Common mistakes: Boolean values must be lowercase. True with a capital T is not defined and causes a ReferenceError. It should be let isReady = true;. Quotes turn true into a string, so typeof would print string instead of boolean. A boolean is written without quotes: let isHappy = 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 562–580) and word search (Modules 522–580).
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 →