← AC9TDI6P02 Design algorithms with branching and iteration

Iteration — loops until a condition is met

AC9TDI6P02 n1 · waypoint 1 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 that repeats steps until a condition is met

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

Students can follow and describe algorithms involving sequencing, comparison operators (branching) and iteration (AC9TDI4P02). They have worked with existing algorithms and described how they work. They have not yet designed algorithms themselves — the shift from reading/describing to creating is the new demand at this band.

Width

Minimum
Design an algorithm that includes a loop with a clear condition for stopping — e.g. keep mixing UNTIL combined, subtract UNTIL result is zero
Typical
Design algorithms with iteration for a range of problem types — counting loops (repeat N times), condition loops (repeat until X), and nested actions within the loop; represent the loop structure clearly in pseudocode, flowchart, or structured English
Wider
  • Design an algorithm for First Nations rangers to monitor live tracking data for feral animals — repeating a check-and-respond loop until a target is captured or leaves the area
  • Design an algorithm that uses a loop to process each item in a dataset (e.g. each plant in a survey grid) and accumulates a result across iterations

Hinge

Loop design in N1 is a prerequisite component for N3's combined branching+iteration algorithm — students who cannot design a correct loop (with stopping condition) cannot produce a valid combined algorithm. The stopping condition error introduced here carries directly into N3.

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) checkStudents designing loops for the first time often specify the loop action correctly but omit or mis-specify the stopping condition. Explicitly scaffolding the loop design as: (1) what step repeats? (2) what condition must be checked? (3) what value changes each iteration? — prevents loops with no exit condition.

Related standards

AC9TDI4P02 Algorithms with branching and iteration · AC9TDI6P05 Implement programs with variables

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