Optimisation: Dijkstra's shortest path algorithm
AQA 75174.3 L5A-levelLesson packSubscription

Also online
This worksheet marks itself
Set it as homework or classwork and every answer is marked as pupils go, with feedback on what they got wrong. The scores go straight into your mark book, so you can see who needs help before the next lesson.
- 12 questions
- 34 marks
- about 35 minutes
- marked instantly
Question types: short answer, multiple choice, matching, true or false.
One question from this worksheet
- 1. The question
- 2. A pupil answers
- 3. Marked instantly
About this resource
10 C# programming challenges in three sets, each with exact test data, plus a trace-the-weighted-matrix Do Now, a short key idea, two exam questions with mark schemes and a worksheet. Covers AQA 7517 4.3.6.1 Dijkstra's shortest path algorithm: trace it, and know its applications.
17 slides.
Lesson outline
- Do Now: fewest edges or shortest?
- Do Now: answers
- Key idea: The shortest path on a weighted graph
- Key idea: Tracing it: one row per vertex visited
- Key idea: Reading the route back, and uses
- Key idea: Dijkstra in C#
- Set 1: the pieces
- Set 2: the whole algorithm
- Exam question E1: read the results
- Model answer E1
- Exam question E2: a satnav
- Model answer E2
Unit bundle4.3 Algorithms · full C# lessons


