← AC9TDI10P09 Implement modular programs with OOP

Debugging programs

AC9TDI10P09 n4 · waypoint 4 of 5 · 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 locate a bug in a program by reading error messages, printing variable state, and tracing execution; modify the program to fix the bug and verify the fix.

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 3: Reading and modifying modular programs.

Width

Minimum
Given a program with a bug, identify the location of the error by reading the error message or printing variable values; explain what caused it; fix it and test the fix.
Typical
Debug a program with at least two bugs using a systematic approach — read error messages, print or inspect variable state, trace execution, locate the cause, apply fix, test; document the debugging process.
Wider
  • Debug a program where the error is a logic error (produces wrong output without crashing) rather than a syntax or runtime error — explain why logic errors are harder to find
  • Investigate and fix a bug in a larger modular program where the cause and symptom are in different modules

Hinge

Students who guess at bug fixes without diagnosis cannot complete N5 — a modular program will always have bugs, and students who cannot systematically locate and explain bugs before fixing them produce programs with unfixed or newly introduced errors.

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) checkDebugging is systematic reasoning under uncertainty — students who guess at fixes without understanding the cause often make things worse. A structured approach (read error → form hypothesis about cause → test hypothesis by printing state → apply fix → verify) is the key skill and must be explicitly scaffolded.

Kit node file for AC9TDI10P09 (JSON; this waypoint is node 4)

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.