Adding a condition column to a trace table
A trace table column headed by a condition, such as age >= 13, that records TRUE or FALSE on each row so you can see which path the algorithm took and why.
Understanding Adding a condition column to a trace table in ACARA Digital Technologies Years 7–8
What it does: The column heading copies the IF condition. Its TRUE or FALSE entry shows which branch ran. Splitting the compound condition into parts lets you check each part by itself before you combine them with AND or OR. 72 is greater than or equal to 50, so the condition is TRUE. FALSE means the test failed, so the THEN steps are skipped. Having a value in the column does not make the IF run.
Common mistakes: A condition column must be headed by a condition that can be TRUE or FALSE. 'age + 13' is a calculation, not a condition. The heading should be 'age >= 13'. 51 > 50 is TRUE, so the condition column must show TRUE. This row also shows the output Pass, which only happens on the TRUE path.
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 420–481) and word search (Modules 420–519).
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
condition columnFill in the Blanks
Spot the Error
Student with a class code? Join your class →