← AC9TDI8P06 Trace algorithms for errors

Specifying test cases

AC9TDI8P06 n2 · waypoint 2 of 3 · Years 7–8 Digital Technologies (processes) · Processes and production skills

Draft, from Waypoints Kit v0.2. Generated from Kit's node data and not yet reviewed by a specialist in Digital Technologies (processes): treat it as a starting suggestion and check it before use.

Checkpoint

Students can specify test cases by choosing inputs and stating expected outputs before tracing

Make a primer for this
Opens Create with a Primer starter: title, goals from the success criteria, the misconception and width suggestions to choose from. Nothing is published until you send it in.

Lessons on this site

No lesson is tagged to this waypoint. The standard is generally covered by some courses; see the standard's page for which are the main focus and which only touch it.

Success criteria

Prior knowledge

Waypoint 1: Tracing step by step.

Width

Minimum
Given an algorithm, specify at least one test case with a chosen input and the expected output; trace to check whether actual output matches
Typical
Specify multiple test cases including edge cases (boundary values, zero, negative); explain why each test case was chosen and what it tests
Wider
  • Evaluate how test case selection affects confidence in algorithm correctness — can three test cases be enough, or does the algorithm's structure determine how many are needed?
  • Limited width — test case specification is a systematic skill. The variety comes from the algorithms being tested, not from the testing process itself.

Response modes

Where extra effort goes at this waypoint (width), not what kind of lesson it is.

Structured reasoning: a worked chain of reasons, then a write-and-compare (reasoning) checkSpecifying test cases requires students to reason about what the algorithm should do before they trace it — stating expected outputs requires understanding the algorithm's intent. Scaffolding the reasoning (what should happen at this input? why? what would an edge case expose?) prevents students from specifying tests that only confirm correct behaviour.

Related standards

AC9TDI8P05 Design nested algorithms · AC9TDI8P09 Implement programs with functions

Kit node file for AC9TDI8P06 (JSON; this waypoint is node 2)

Descriptors: Australian Curriculum v9 (ACARA, CC BY 4.0). Waypoints, success criteria, width and response modes: Waypoints Kit v0.2 (CC BY-NC-SA 4.0), waypoints-kit 834ceb8. Corrections go to Kit, not this site.