Recording actual results and a pass or fail verdict
Copy the actual result exactly as the program gave it, then mark Pass only if it matches the expected result, otherwise Fail. Never change the expected result to fit, and add a note for fails.
Understanding Recording actual results and a pass or fail verdict in ACARA Digital Technologies Years 9–10
What it does: The student records the output word for word, instead of summarising or tidying it up. The expected result stays at 20, and the note records the likely cause of the failure to help fix the code. Record the actual result exactly as the program gave it, including words, spaces and punctuation. A shortened version could hide a real bug. When the actual result matches the expected result, the test is a Pass. Never change the expected result to match the program. The expected result comes from the requirements, so a mismatch shows the program may have a bug. Notes on a failure should say what happened and give a clue about the cause. This helps you find and fix the error later.
Common mistakes: The expected result must be worked out before the test and kept fixed. Copying the actual result into expected makes the test pass automatically (and actual does not exist yet). It should be expected = 20. A single = assigns a value, so it cannot compare the actual and expected results. Use == to check for a match: if actual == expected:.
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
Pass or FailFill in the Blanks
Spot the Error
Student with a class code? Join your class →