← AC9TDI6P02 Design algorithms with branching and iteration

Multiple alternatives — branching beyond yes/no

AC9TDI6P02 n2 · waypoint 2 of 3 · Years 5–6 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 design an algorithm with more than two branches (multiple alternatives, not just binary if/else)

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

None yet.

Success criteria

Prior knowledge

Waypoint 1: Iteration — loops until a condition is met.

Width

Minimum
Design an algorithm with at least three alternatives — e.g. IF distance < 2km THEN walk, ELSE IF distance < 5km THEN ride, ELSE catch the bus
Typical
Design multi-branch decision logic for a real problem context, using nested IF/ELSE IF/ELSE structure; trace through the algorithm with at least three different inputs to verify the correct branch fires for each
Wider
  • Design an algorithm for a garden watering decision system that considers multiple inputs — humidity level AND soil moisture level — requiring nested conditions, not just a single threshold
  • Design an algorithm modelling how rangers decide how to respond when feral animal tracking data shows different threat levels (approaching slowly / approaching quickly / already at site / retreating)

Hinge

Multi-branch design in N2 is the second prerequisite component for N3 — students who cannot write mutually exclusive multi-branch conditions will produce overlapping branches when combining with iteration in N3, causing algorithms that fire incorrect branches.

Response modes

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

Context breadth: more contexts in the vary or modify stepStudents who have only written binary (if/else) branches struggle to see how to chain alternatives. Problem contexts with three or more clearly distinct outcomes (transport mode, threat level, grade bands) make the multi-branch structure feel natural rather than arbitrary.
Structured reasoning: a worked chain of reasons, then a write-and-compare (reasoning) checkThe critical error in multi-branch design is overlapping conditions — students write branches where multiple conditions could be true simultaneously. Tracing through edge cases (exactly 2km, exactly 5km) using a structured verify-step prevents this.

Related standards

AC9TDI6P05 Implement programs with variables

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