← AC9TDI10P06 Validate algorithms and programs

Designing boundary test cases

AC9TDI10P06 n2 · waypoint 2 of 4 · Years 9–10 Digital Technologies (processes) · Processes and production skills · Hinge

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 identify boundary conditions for an algorithm or program and design test cases that verify boundary behaviour is handled correctly.

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 algorithms and identifying unexpected state.

Width

Minimum
For a given algorithm, identify at least one boundary condition and write a test case that checks it; explain what the test case is checking.
Typical
Identify the full set of boundary conditions for an algorithm (e.g. minimum/maximum valid input, exact equality cases, first/last element of a collection); write test cases for each and explain what each checks.
Wider
  • Determine boundary test cases for a geometric algorithm (e.g. shape intersection when shapes just touch vs overlap vs are separate) and verify each case
  • Explain why boundary conditions are the most likely place for algorithms to fail and connect this to how conditions are evaluated in code

Hinge

A test suite without boundary cases at N4 does not constitute systematic validation — the descriptor specifically requires a range of test cases, and boundary cases are the most likely failure points in algorithmic implementations.

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) checkIdentifying boundaries requires systematic reasoning: what values represent the edge of the valid range? What happens at exactly the boundary value vs one above/below? Students who approach testing intuitively often miss the most important boundary case. A structured approach (identify range → find boundary → test at boundary, just inside, just outside) is the key skill.

Kit node file for AC9TDI10P06 (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.