Test table layout
A table with one row per test case. Its columns are test number, purpose, input, expected result, actual result and pass or fail.
Understanding Test table layout in ACARA Digital Technologies Years 9–10
What it does: Input and expected result are planned in advance. They show what you will enter and what the program should do. The actual result is filled in after running the code. Pass or fail comes from comparing it with the expected result. A test table has one row per test case. Each test gets its own row so you can see every result. A test table records what you test, what you put in, what should happen, what did happen and the verdict.
Common mistakes: The purpose column holds a text description, so it must be a string in quotes: purpose = "Normal value". Without quotes Python reads it as code and fails. Every row needs the same columns. This row has no expected result, so it doesn't line up with the others. It should be (3, "Abnormal", -1, "Err").
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 536–590) and word search (Modules 536–622).
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
test tableFill in the Blanks
Spot the Error
Student with a class code? Join your class →