D1 June 2009 Q1

EdexcelOld spec5 marksMinimum Spanning Trees

1.

ABCDEF
A-1351807095225
B135-215125205240
C180215-150165155
D70125150-100195
E95205165100-215
F225240155195215-

The table shows the lengths, in km, of potential rail routes between six towns, A, B, C, D, E and F.

(a) Use Prim’s algorithm, starting from A, to find a minimum spanning tree for this table. You must list the arcs that form your tree in the order that they are selected. (3)
(b) Draw your tree using the vertices given in Diagram 1 in the answer book. (1)
(c) State the total weight of your tree. (1)