OCR D1 Specimen — Question 6 15 marks

Exam BoardOCR
ModuleD1 (Decision Mathematics 1)
SessionSpecimen
Marks15
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicShortest Path
TypeDijkstra combined with Chinese Postman
DifficultyStandard +0.3 This is a standard D1 question combining routine Dijkstra's algorithm with Chinese Postman and nearest neighbour algorithms. Part (i) is textbook Dijkstra application, part (ii) requires identifying odd vertices and pairing them (standard Chinese Postman), and part (iii) is straightforward nearest neighbour. All three parts follow algorithmic procedures taught directly in the specification with no novel problem-solving required, making this slightly easier than average overall.
Spec7.04a Shortest path: Dijkstra's algorithm7.04c Travelling salesman upper bound: nearest neighbour method7.04e Route inspection: Chinese postman, pairing odd nodes

6 [Answer part (i) of this question on the insert provided.]
The diagram shows a simplified version of an orienteering course. The vertices represent checkpoints and the weights on the arcs show the travel times between checkpoints, in minutes. \includegraphics[max width=\textwidth, alt={}, center]{b1227633-913e-41a9-8bf8-1f064056963e-4_483_931_461_630}
  1. Use Dijkstra's algorithm, starting from checkpoint \(\boldsymbol { A }\), to find the least travel time from \(A\) to \(D\). You must show your working, including temporary labels, permanent labels and the order in which permanent labels were assigned. Give the route that takes the least time from \(A\) to \(D\).
  2. By using an appropriate algorithm, find the least time needed to travel every arc in the diagram starting and ending at \(A\). You should show your method clearly.
  3. Starting from \(A\), apply the nearest neighbour algorithm to the diagram to find a cycle that visits every checkpoint. Use your solution to find a path that visits every checkpoint, starting from \(A\) and finishing at \(D\).

Question 6:
Part (i) - Dijkstra's Algorithm
AnswerMarks Guidance
AnswerMark Guidance
Correct temporary labels at each vertexM1 Evidence of Dijkstra working
Correct order of becoming permanent shownA1
All permanent values correctA1
Least travel time = \(54\) minutesA1 cao
Route: \(A - B - C - D\)A1 ft from their working
# Question 6:

## Part (i) - Dijkstra's Algorithm

| Answer | Mark | Guidance |
|--------|------|----------|
| Correct temporary labels at each vertex | M1 | Evidence of Dijkstra working |
| Correct order of becoming permanent shown | A1 | |
| All permanent values correct | A1 | |
| Least travel time = $54$ minutes | A1 | cao |
| Route: $A - B - C - D$ | A1 | ft from their working |
6 [Answer part (i) of this question on the insert provided.]\\
The diagram shows a simplified version of an orienteering course. The vertices represent checkpoints and the weights on the arcs show the travel times between checkpoints, in minutes.\\
\includegraphics[max width=\textwidth, alt={}, center]{b1227633-913e-41a9-8bf8-1f064056963e-4_483_931_461_630}\\
(i) Use Dijkstra's algorithm, starting from checkpoint $\boldsymbol { A }$, to find the least travel time from $A$ to $D$. You must show your working, including temporary labels, permanent labels and the order in which permanent labels were assigned. Give the route that takes the least time from $A$ to $D$.\\
(ii) By using an appropriate algorithm, find the least time needed to travel every arc in the diagram starting and ending at $A$. You should show your method clearly.\\
(iii) Starting from $A$, apply the nearest neighbour algorithm to the diagram to find a cycle that visits every checkpoint. Use your solution to find a path that visits every checkpoint, starting from $A$ and finishing at $D$.

\hfill \mbox{\textit{OCR D1  Q6 [15]}}