D1 June 2008 Q4

EdexcelOld spec8 marksMinimum Spanning Trees

4.

Figure 4: network with vertices A to G and arc weights
Figure 4
(a) State two differences between Kruskal’s algorithm and Prim’s algorithm for finding a minimum spanning tree. (2)
(b) Listing the arcs in the order that you consider them, find a minimum spanning tree for the network in Figure 4, using
(i) Prim’s algorithm,
(ii) Kruskal’s algorithm. (6)