All worksheets topics

Spanning trees and network optimisationAQA A-Level Further Maths: Subtopic test

10 questions, 27 marks

AQA A-Level Further Maths

Spanning trees and network optimisation

Total 27 marks

Name

Class

Date

  1. 1
    A network has six nodes AA to FF. The arcs and their weights are ABAB 6, ACAC 9, BCBC 4, BDBD 8, CDCD 5, CECE 7, DEDE 3, DFDF 10 and EFEF 2.
    (a)
    How many arcs does a spanning tree of this network contain?
    [1 mark]
    • A66
    • B99
    • C44
    • D55
    (b)
    What is the total weight of a minimum spanning tree?
    [1 mark]
    • A2121
    • B2020
    • C2323
    • D2727
    (c)
    Explain why Kruskal's algorithm rejects arc CECE.
    [2 marks]

    Total for question 1: 4 marks

  2. 2
    Five villages P,Q,R,S,TP,Q,R,S,T are to be linked by cables. The possible links and their costs, in hundreds of pounds, are PQPQ 12, PRPR 8, PSPS 15, PTPT 9, QRQR 10, QSQS 7, QTQT 14, RSRS 11, RTRT 6 and STST 13.
    (a)
    Which arc does Kruskal's algorithm select first?
    [1 mark]
    • AQSQS
    • BPRPR
    • CRTRT
    • DPTPT
    (b)
    Prim's algorithm is applied starting at PP. In which order are the arcs added?
    [1 mark]
    • APRPR, RTRT, QRQR, QSQS
    • BPRPR, PTPT, QRQR, QSQS
    • CRTRT, QSQS, PRPR, QRQR
    • DPRPR, RTRT, RSRS, QSQS
    (c)
    Explain why Prim's algorithm starting at PP does not select arc QSQS, with weight 7, until the last step, even though it is lighter than arc PRPR.
    [2 marks]

    Total for question 2: 4 marks

  3. 3
    Five towns AA to EE are to be connected by cable laid along direct links. The distances in km between the towns, with rows and columns in the order A,B,C,D,EA,B,C,D,E, are given by (05948506739602104720118310110)\begin{pmatrix} 0&5&9&4&8 \\ 5&0&6&7&3 \\ 9&6&0&2&10 \\ 4&7&2&0&11 \\ 8&3&10&11&0 \end{pmatrix}. The cable is to have the least possible total length.
    (a)
    Use Prim's algorithm, starting at AA, to find a minimum spanning tree. State the order in which the arcs are added and the total length.
    [3 marks]
    (b)
    The direct link ADAD becomes unavailable. Find the new minimum spanning tree and its total length, and state the increase in length.
    [4 marks]

    Total for question 3: 7 marks

  4. 4
    A network has seven nodes AA to GG. The arcs and their weights are ABAB 7, ADAD 5, BCBC 8, BDBD 9, BEBE 7, CECE 5, DEDE 15, DFDF 6, EFEF 8, EGEG 9 and FGFG 11.
    (a)
    Use Kruskal's algorithm to find a minimum spanning tree. List the arcs in the order you consider them, say which you reject and why, and state the total weight.
    [6 marks]
    (b)
    Use Prim's algorithm starting at GG to find a minimum spanning tree. A van must travel from GG to FF along the tree arcs; compare this route with the direct arc FGFG and comment on what this shows about minimum spanning trees.
    [6 marks]

    Total for question 4: 12 marks

End of questions

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).