Sorting values into number, text or true/false
The kind of value you have. Look at what it is: a number to count or calculate with, text in quote marks, or an answer that is only true or false. A postcode is text, not a number.
Understanding Sorting values into number, text or true/false in ACARA Digital Technologies Years 5–6
What it does: An answer that can only be true or false is a true/false value, with no quote marks around it. An age is something you can count and calculate with (like 12 + 1), so it is a number. You never add or subtract house numbers. They are labels, so they are best stored as text. 11 has no quote marks and is a quantity, so its data type is a number.
Common mistakes: A name is text, so it needs quote marks. It should be name = "Mia". Without quotes the computer thinks Mia is something else. An age is a number you can calculate with. Quote marks turn it into text, so age + 1 would not work. It should be age = 11.
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 85–104) 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
data typeFill in the Blanks
Spot the Error
Student with a class code? Join your class →