← AC9TDI6P02 Design algorithms with branching and iteration

Algorithms with both branching and iteration

AC9TDI6P02 n3 · waypoint 3 of 3 · Years 5–6 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 design an algorithm that combines branching and iteration, responding to data

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 2: Multiple alternatives — branching beyond yes/no.

Width

Minimum
Design an algorithm that contains at least one loop and at least one branch within or around it — e.g. repeat a check loop, and branch based on the check result
Typical
Design an algorithm that uses iteration to process a series of inputs and branching to respond differently to each input; evaluate whether one algorithm is better than another for the same problem and explain why
Wider
  • Compare two algorithms that solve the same problem — one using nested loops and one using a single loop with multi-branch conditions — and explain which is clearer or more efficient for a given scenario
  • Design an algorithm that responds to live data (e.g. sensor readings) using a loop that repeats until a condition is met, with branches that determine the response at each iteration

Response modes

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

Integration: a combining task at the wider tierThis node integrates the two structural elements — loops and branches — into a single algorithm. Students who have designed each element separately may not know how to nest them. Tracing through a combined algorithm step by step (what happens at this iteration? which branch fires?) is the integration act.

Related standards

AC9TDI6P05 Implement programs with variables

Kit node file for AC9TDI6P02 (JSON; this waypoint is node 3)

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.