AQA D1 2011 June — Question 3 9 marks

Exam BoardAQA
ModuleD1 (Decision Mathematics 1)
Year2011
SessionJune
Marks9
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicMinimum Spanning Trees
TypeApply Prim's algorithm in matrix form
DifficultyModerate -0.8 This is a straightforward application of Prim's algorithm from a matrix, which is a standard algorithmic procedure in D1. Students follow a mechanical process (select smallest edge from connected vertices, repeat), requiring careful bookkeeping but no problem-solving insight or novel thinking. Part (b) simply repeats the algorithm with one vertex removed.
Spec7.04b Minimum spanning tree: Prim's and Kruskal's algorithms

3 A group of eight friends, \(A , B , C , D , E , F , G\) and \(H\), keep in touch by sending text messages. The cost, in pence, of sending a message between each pair of friends is shown in the following table.
\(\boldsymbol { A }\)\(\boldsymbol { B }\)\(\boldsymbol { C }\)\(\boldsymbol { D }\)\(\boldsymbol { E }\)\(\boldsymbol { F }\)\(\boldsymbol { G }\)\(\boldsymbol { H }\)
\(\boldsymbol { A }\)-15101216111417
\(\boldsymbol { B }\)15-151415161615
\(\boldsymbol { C }\)1015-111012149
\(\boldsymbol { D }\)121411-11121412
\(\boldsymbol { E }\)16151011-131514
\(\boldsymbol { F }\)1116121213-148
G141614141514-13
\(\boldsymbol { H }\)171591214813-
One of the group wishes to pass on a piece of news to all the other friends, either by a direct text or by the message being passed on from friend to friend, at the minimum total cost.
    1. Use Prim's algorithm starting from \(A\), showing the order in which you select the edges, to find a minimum spanning tree for the table.
    2. Draw your minimum spanning tree.
    3. Find the minimum total cost.
  1. Person \(H\) leaves the group. Find the new minimum total cost.

Question 3:
Part (a)(i):
AnswerMarks Guidance
AnswerMarks Guidance
Select \(AC = 10\)B1 First edge correct
Select \(CE = 10\) or \(CD = 11\)M1 Correct application of Prim's
Correct sequence: \(AC\), \(CE\), \(CD\), \(AF\) or \(CF\), \(FH\), \(DE\) or \(DG\) or similar correct orderA1 Evidence of algorithm being applied
All 7 edges of MST correctly selectedA1 Full correct set of edges
Part (a)(ii):
AnswerMarks Guidance
AnswerMarks Guidance
Correct tree drawn with 8 nodes, 7 edges matching selected edgesB1 Correct structure
Edges correctly labelled with weightsB1 All weights correct
Part (a)(iii):
AnswerMarks Guidance
AnswerMarks Guidance
Minimum total cost \(= 93\) penceB1 Correct sum of MST edges
Part (b):
AnswerMarks Guidance
AnswerMarks Guidance
Remove \(H\) and any edges incident to \(H\); find new MST for remaining 7 nodesM1 Correct method of removing \(H\)
New minimum total cost \(= 89\) penceA1 Correct answer
# Question 3:

## Part (a)(i):

| Answer | Marks | Guidance |
|--------|-------|----------|
| Select $AC = 10$ | B1 | First edge correct |
| Select $CE = 10$ or $CD = 11$ | M1 | Correct application of Prim's |
| Correct sequence: $AC$, $CE$, $CD$, $AF$ or $CF$, $FH$, $DE$ or $DG$ or similar correct order | A1 | Evidence of algorithm being applied |
| All 7 edges of MST correctly selected | A1 | Full correct set of edges |

## Part (a)(ii):

| Answer | Marks | Guidance |
|--------|-------|----------|
| Correct tree drawn with 8 nodes, 7 edges matching selected edges | B1 | Correct structure |
| Edges correctly labelled with weights | B1 | All weights correct |

## Part (a)(iii):

| Answer | Marks | Guidance |
|--------|-------|----------|
| Minimum total cost $= 93$ pence | B1 | Correct sum of MST edges |

## Part (b):

| Answer | Marks | Guidance |
|--------|-------|----------|
| Remove $H$ and any edges incident to $H$; find new MST for remaining 7 nodes | M1 | Correct method of removing $H$ |
| New minimum total cost $= 89$ pence | A1 | Correct answer |
3 A group of eight friends, $A , B , C , D , E , F , G$ and $H$, keep in touch by sending text messages. The cost, in pence, of sending a message between each pair of friends is shown in the following table.

\begin{center}
\begin{tabular}{|l|l|l|l|l|l|l|l|l|}
\hline
 & $\boldsymbol { A }$ & $\boldsymbol { B }$ & $\boldsymbol { C }$ & $\boldsymbol { D }$ & $\boldsymbol { E }$ & $\boldsymbol { F }$ & $\boldsymbol { G }$ & $\boldsymbol { H }$ \\
\hline
$\boldsymbol { A }$ & - & 15 & 10 & 12 & 16 & 11 & 14 & 17 \\
\hline
$\boldsymbol { B }$ & 15 & - & 15 & 14 & 15 & 16 & 16 & 15 \\
\hline
$\boldsymbol { C }$ & 10 & 15 & - & 11 & 10 & 12 & 14 & 9 \\
\hline
$\boldsymbol { D }$ & 12 & 14 & 11 & - & 11 & 12 & 14 & 12 \\
\hline
$\boldsymbol { E }$ & 16 & 15 & 10 & 11 & - & 13 & 15 & 14 \\
\hline
$\boldsymbol { F }$ & 11 & 16 & 12 & 12 & 13 & - & 14 & 8 \\
\hline
G & 14 & 16 & 14 & 14 & 15 & 14 & - & 13 \\
\hline
$\boldsymbol { H }$ & 17 & 15 & 9 & 12 & 14 & 8 & 13 & - \\
\hline
\end{tabular}
\end{center}

One of the group wishes to pass on a piece of news to all the other friends, either by a direct text or by the message being passed on from friend to friend, at the minimum total cost.
\begin{enumerate}[label=(\alph*)]
\item \begin{enumerate}[label=(\roman*)]
\item Use Prim's algorithm starting from $A$, showing the order in which you select the edges, to find a minimum spanning tree for the table.
\item Draw your minimum spanning tree.
\item Find the minimum total cost.
\end{enumerate}\item Person $H$ leaves the group. Find the new minimum total cost.
\end{enumerate}

\hfill \mbox{\textit{AQA D1 2011 Q3 [9]}}