| Exam Board | OCR |
|---|---|
| Module | Further Discrete AS (Further Discrete AS) |
| Year | 2022 |
| Session | June |
| Marks | 9 |
| Paper | Download PDF ↗ |
| Mark scheme | Download PDF ↗ |
| Topic | Shortest Path |
| Type | Basic Dijkstra's algorithm application |
| Difficulty | Moderate -0.8 This is a straightforward application of Dijkstra's algorithm on a small network with only 6 vertices and 8 edges. Part (a) requires simple inspection, part (b) is a standard textbook Dijkstra's application, and part (c) tests basic understanding of MST vs shortest paths. The small size makes calculations routine with minimal scope for error or insight. |
| Spec | 7.04a Shortest path: Dijkstra's algorithm7.04b Minimum spanning tree: Prim's and Kruskal's algorithms |
| Villages connected | A B | A D | B E | B F | C D | C E | D E | E F |
| Length of footpath, km | 3 | 2 | 4 | 6 | 5 | 7 | 3 | 1 |
| Answer | Marks | Guidance |
|---|---|---|
| Answer | Marks | Guidance |
| \(B - A - D - C\) | B1 | This route written |
| Answer | Marks | Guidance |
|---|---|---|
| Answer | Marks | Guidance |
| Route: \(A - D - E - F\) | B1 | Correct route |
| Working: \(A\,\boxed{1}\,(0)\); \(B\,\boxed{3}\,\boxed{3}\), \(C\,\boxed{\phantom{0}}\,\boxed{7}\); \(D\,\boxed{2}\,\boxed{2}\), \(E\,\boxed{4}\,\boxed{5}\), \(F\,\boxed{5}\,\boxed{6}\) | M1 | Use Dijkstra starting at A |
| All permanent values correct (may also see \(C=7\)) | A1 | |
| Alternative: Route \(A-D-E-F\) using Dijkstra starting at \(F\), all permanent values correct (may also see \(C=8\)) | B1, M1, A1 |
| Answer | Marks | Guidance |
|---|---|---|
| AB, AD, CD, DE, EF | M1 | A list of five valid arcs forming a tree connecting the six vertices, or a tree drawn connecting the six vertices |
| Arcs in MST correct (written or drawn) | A1 | Arcs in MST correct |
| Answer | Marks | Guidance |
|---|---|---|
| ADC, ADE, ADEF, BADC, BAD, BEF, CEF, DEF (or reversed) | B1 | At least two of these routes (when not a single arc). May be evidenced by sight of network or graph, or any correct pair in answer |
| Answer | Marks | Guidance |
|---|---|---|
| B and E, B and F, C and E, C and F | M1, A1 | M1: Any two correct pairs written in answer (and at most 6 pairs). A1: All four correct and no others (allow BE, BF, CE, CF). Ignore repeats (e.g. B and E, E and B) |
# Question 6:
## Part (a)
| Answer | Marks | Guidance |
|--------|-------|----------|
| $B - A - D - C$ | B1 | This route written |
## Part (b)
| Answer | Marks | Guidance |
|--------|-------|----------|
| Route: $A - D - E - F$ | B1 | Correct route |
| Working: $A\,\boxed{1}\,(0)$; $B\,\boxed{3}\,\boxed{3}$, $C\,\boxed{\phantom{0}}\,\boxed{7}$; $D\,\boxed{2}\,\boxed{2}$, $E\,\boxed{4}\,\boxed{5}$, $F\,\boxed{5}\,\boxed{6}$ | M1 | Use Dijkstra starting at A |
| All permanent values correct (may also see $C=7$) | A1 | |
| **Alternative:** Route $A-D-E-F$ using Dijkstra starting at $F$, all permanent values correct (may also see $C=8$) | B1, M1, A1 | |
## Question 6(c):
**MST Arcs:**
AB, AD, CD, DE, EF | M1 | A list of five valid arcs forming a tree connecting the six vertices, or a tree drawn connecting the six vertices
Arcs in MST correct (written or drawn) | A1 | Arcs in MST correct
**Shortest routes (when not a single arc):**
ADC, ADE, ADEF, BADC, BAD, BEF, CEF, DEF (or reversed) | B1 | At least two of these routes (when not a single arc). May be evidenced by sight of network or graph, or any correct pair in answer
**Pairs of villages:**
B and E, B and F, C and E, C and F | M1, A1 | M1: Any two correct pairs written in answer (and at most 6 pairs). A1: All four correct and no others (allow BE, BF, CE, CF). Ignore repeats (e.g. B and E, E and B)
**[5 marks total]**
---
6 Eight footpaths connect six villages. The lengths of these footpaths, in km , are given in the table.
\begin{center}
\begin{tabular}{ | l | c | c | c | c | c | c | c | c | }
\hline
Villages connected & A B & A D & B E & B F & C D & C E & D E & E F \\
\hline
Length of footpath, km & 3 & 2 & 4 & 6 & 5 & 7 & 3 & 1 \\
\hline
\end{tabular}
\end{center}
\begin{enumerate}[label=(\alph*)]
\item The shortest route from B to C using these footpaths has length 10 km . Without using an algorithm, write down this shortest route from B to C.
\item Use an appropriate algorithm to find the shortest route from A to F .
\item Write down all the pairs of villages for which the shortest route between them uses at least one footpath that is not in the minimum spanning tree for the six villages.
\end{enumerate}
\hfill \mbox{\textit{OCR Further Discrete AS 2022 Q6 [9]}}