AS June 2022 Q1

EdexcelAS paperCurrent spec9 marksAlgorithmsMinimum Spanning Trees

1.

5544345928374152334247

The list of eleven numbers shown above is to be sorted into ascending order.

(a) Carry out a quick sort to produce the sorted list. You should show the result of each pass and identify your pivots clearly. (4)
Figure 1: weighted network on vertices A to G with arcs AC 55, AB 52, BC 41, BD 47, CD 34, CE 37, CF 33, DE 28, DG 59, EG 42, FG 44
Figure 1
(b) Use Kruskal’s algorithm to find the minimum spanning tree for the network in Figure 1. You should list the arcs in the order in which you consider them. For each arc, state whether or not you are adding it to your minimum spanning tree. (3)
(c)
(i) Draw the minimum spanning tree on Diagram 1 in the answer book.
(ii) State the total weight of the tree. (2)
Diagram 1: the vertices A to G of Figure 1 with no arcs
Diagram 1