Task 4 • Shortest path algorithms

Students revisit the greedy algorithm and identify why choosing the shortest next edge can fail. They co-construct a refined shortest-path method that compares total distances from the start, then apply it to weighted road networks to justify the quickest route.

AUS Year 10 NSW Stage 5 VIC Level 10

Space: Supermarket networks

View Sequence overview

Algorithms can be tested and improved by looking for cases where they do not work, then refining the method to make it more reliable.

A shortest-path algorithm provides a repeatable process for comparing total distances and justifying the path with the smallest total weight.

Task