Question 5(a) 2021 · May-June · Paper 32 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 5
Part (a)
Question 5
- Initialisation: setting Base to 0
- … and the rest of the towns to ∞
- Evidence to show values at nodes being updated
- Evidence to show ‘visited node(s)’
- Evidence to show calculation of at least one route
- Evidence to show more than one route has been calculated for at least
Question 3
Question 5
Question 2
Question 9
Question 3
Question 8
Show text version of question
Question 5
Part (a)
Calculate the shortest distance between the base and each of the other towns in the diagram using Dijkstra’s algorithm.
Show your working and write your answers in the table provided.
Base
Question 4
Question 5
Town 1 2 1 Town 2
Question 8
Town 3
7 3 Town 6
Question 1
Question 5
Question 6
Town 4 Town 5
Working .....................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Answers
Town 1 Town 2 Town 3 Town 4 Town 5 Town 6
Question 8
Why this question appears here
71% assigned-topic match · Computational thinking and problem-solving › Algorithms
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9618_s21_qp_32.pdf
