OCR Further Discrete AS 2022 June — Question 6 9 marks

Exam BoardOCR
ModuleFurther Discrete AS (Further Discrete AS)
Year2022
SessionJune
Marks9
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicShortest Path
TypeBasic Dijkstra's algorithm application
DifficultyModerate -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.
Spec7.04a Shortest path: Dijkstra's algorithm7.04b Minimum spanning tree: Prim's and Kruskal's algorithms

6 Eight footpaths connect six villages. The lengths of these footpaths, in km , are given in the table.
Villages connectedA BA DB EB FC DC ED EE F
Length of footpath, km32465731
  1. 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.
  2. Use an appropriate algorithm to find the shortest route from A to F .
  3. 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.

Question 6:
Part (a)
AnswerMarks Guidance
AnswerMarks Guidance
\(B - A - D - C\)B1 This route written
Part (b)
AnswerMarks Guidance
AnswerMarks 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:
AnswerMarks Guidance
AB, AD, CD, DE, EFM1 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):
AnswerMarks 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
Pairs of villages:
AnswerMarks Guidance
B and E, B and F, C and E, C and FM1, 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]
# 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]}}