Edexcel D1 2001 January — Question 1 6 marks

Exam BoardEdexcel
ModuleD1 (Decision Mathematics 1)
Year2001
SessionJanuary
Marks6
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicMinimum Spanning Trees
TypeApply Prim's algorithm from vertex
DifficultyEasy -1.2 This is a straightforward application of Prim's algorithm with a small 6-node network and clearly presented distance table. Students simply follow the algorithmic procedure (select nearest unconnected vertex repeatedly) with no problem-solving insight required. The calculation in part (b) is trivial addition. This is easier than average A-level maths content, being purely procedural recall from a Decision Maths module.
Spec7.04b Minimum spanning tree: Prim's and Kruskal's algorithms

This question should be answered on the sheet provided in the answer booklet. A school wishes to link 6 computers. One is in the school office and one in each of rooms \(A\), \(B\), \(C\), \(D\) and \(E\). Cables need to be laid to connect the computers. The school wishes to use a minimum total length of cable. The table shows the shortest distances, in metres, between the various sites.
OfficeRoom ARoom BRoom CRoom DRoom E
Office--816121014
Room A8--1413119
Room B1614--121511
Room C121312--118
Room D10111511--10
Room E14911810--
  1. Starting at the school office, use Prim's algorithm to find a minimum spanning tree. Indicate the order in which you select the edges and draw your final tree. [5 marks]
  2. Using your answer to part (a), calculate the minimum total length of cable required. [1 mark]

AnswerMarks Guidance
(a)M1 A1 HUSSAIN occurs before JONES. So first list is 1. ALLEN, 2. BALL, 3. COOPER, 4. EVANS, 5. HUSSAIN
M1 A1Middle is now \(\lfloor\frac{1(1+5)}{2}\rfloor = 3\) is COOPER
M1 A1Comparison 2: HUSSAIN occurs after COOPER. So list 3 is 4. EVANS, 5. HUSSAIN. Middle is now \(\lfloor\frac{1(4+5)}{2}\rfloor = 5\)
A1 (6)Comparison 3: HUSSAIN has been found at position 5
(b)B1 cae(1) Maximum number of comparisons with a list of 11 names is 4
(a) | M1 A1 | HUSSAIN occurs before JONES. So first list is 1. ALLEN, 2. BALL, 3. COOPER, 4. EVANS, 5. HUSSAIN | 
| M1 A1 | Middle is now $\lfloor\frac{1(1+5)}{2}\rfloor = 3$ is COOPER |
| M1 A1 | Comparison 2: HUSSAIN occurs after COOPER. So list 3 is 4. EVANS, 5. HUSSAIN. Middle is now $\lfloor\frac{1(4+5)}{2}\rfloor = 5$ |
| A1 (6) | Comparison 3: HUSSAIN has been found at position 5 |

(b) | B1 cae(1) | Maximum number of comparisons with a list of 11 names is 4 |

---
This question should be answered on the sheet provided in the answer booklet.

A school wishes to link 6 computers. One is in the school office and one in each of rooms $A$, $B$, $C$, $D$ and $E$. Cables need to be laid to connect the computers. The school wishes to use a minimum total length of cable.

The table shows the shortest distances, in metres, between the various sites.

\begin{center}
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
 & Office & Room A & Room B & Room C & Room D & Room E \\
\hline
Office & -- & 8 & 16 & 12 & 10 & 14 \\
\hline
Room A & 8 & -- & 14 & 13 & 11 & 9 \\
\hline
Room B & 16 & 14 & -- & 12 & 15 & 11 \\
\hline
Room C & 12 & 13 & 12 & -- & 11 & 8 \\
\hline
Room D & 10 & 11 & 15 & 11 & -- & 10 \\
\hline
Room E & 14 & 9 & 11 & 8 & 10 & -- \\
\hline
\end{tabular}
\end{center}

\begin{enumerate}[label=(\alph*)]
\item Starting at the school office, use Prim's algorithm to find a minimum spanning tree. Indicate the order in which you select the edges and draw your final tree. [5 marks]

\item Using your answer to part (a), calculate the minimum total length of cable required. [1 mark]
\end{enumerate}

\hfill \mbox{\textit{Edexcel D1 2001 Q1 [6]}}