← AC9TDI8P06 Trace algorithms for errors

Tracing step by step

AC9TDI8P06 n1 · waypoint 1 of 3 · Years 7–8 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 trace an algorithm precisely, step by step, tracking variable values to predict the output for a given input

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

Students can design algorithms with nested control structures and represent them in flowcharts and pseudocode (AC9TDI8P05). They can follow simple algorithms but have not yet systematically traced algorithms using desk checks, specified test cases with expected outputs, or identified errors through tracing.

Width

Minimum
Given an algorithm and an input, trace through each step and predict the output
Typical
Use a desk check table (input, variables, output) to trace an algorithm systematically; track how variable values change at each step
Wider
  • Follow instructions for making woven baskets or nets by hand, as done by First Nations Australians, and trace the steps to predict how modifications to the instructions would change the output
  • Limited width — tracing is a mechanical process applied the same way regardless of algorithm. More algorithms to trace is practice, not broader application.

Hinge

Students who skip steps or track variable values loosely cannot identify errors at Node 3 — they will trace incorrectly and miss the divergence between expected and actual output. Imprecise tracing makes test case specification at Node 2 meaningless.

Response modes

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

Consolidation: more practise steps, short feedback loopsSystematic tracing is the prerequisite for specifying test cases and identifying errors. Width is thin — tracing works the same way regardless of algorithm. What helps is more practice: more algorithms traced precisely, building the discipline of step-by-step tracking until it becomes habitual.

Related standards

AC9TDI8P05 Design nested algorithms · AC9TDI8P09 Implement programs with functions

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

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.