← AC9TDI8P09 Implement programs with functions

Debugging programs

AC9TDI8P09 n4 · waypoint 4 of 4 · 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 identify and fix errors in programs by testing, reading error messages, and tracing program execution

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 existing code.

Width

Minimum
Given a program with an error, identify the error and fix it; explain what was wrong
Typical
Debug programs with multiple errors (syntax and logic); use error messages and systematic testing to locate each error; explain the fix for each
Wider
  • Compare debugging strategies — reading error messages vs adding print statements vs using a step-through debugger; explain when each is most useful
  • Limited width — debugging is a process applied the same way regardless of program. The variety comes from the programs being debugged, not from the debugging 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) checkDebugging requires a systematic process — read the error message → locate the relevant code → understand what it's trying to do → identify what's wrong → fix and verify. Students who approach debugging by random modification or by re-reading code without a strategy waste time and miss logic errors. Scaffolding the debugging process builds a transferable systematic habit.

Related standards

AC9TDI8P05 Design nested algorithms · AC9TDI8P06 Trace algorithms for errors

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