All worksheets topics

Dijkstra's algorithmEdexcel A-Level Further Maths: Subtopic test

10 questions, 27 marks

Edexcel A-Level Further Maths

Dijkstra's algorithm

Total 27 marks

Name

Class

Date

  1. 1
    A road network joins a depot SS to a warehouse TT through four junctions AA, BB, CC and DD. The roads and their lengths in km are SA=4SA=4, SB=7SB=7, AB=2AB=2, AC=6AC=6, BC=3BC=3, BD=8BD=8, CD=6CD=6, CT=8CT=8 and DT=4DT=4. Dijkstra's algorithm is used to find the shortest route from SS to TT.
    (a)
    What is the final label of vertex BB?
    [1 mark]
    • A77
    • B22
    • C66
    • D99
    (b)
    Which is the shortest route from SS to TT and its length?
    [1 mark]
    • AS−B−D−TS-B-D-T, 19 km
    • BS−A−C−TS-A-C-T, 18 km
    • CS−B−C−TS-B-C-T, 18 km
    • DS−A−B−C−TS-A-B-C-T, 17 km
    (c)
    Explain why the final label at BB is 6 and not 7.
    [2 marks]

    Total for question 1: 4 marks

  2. 2
    Six towns AA to FF are joined by roads with lengths in km: AB=5AB=5, AC=8AC=8, BC=2BC=2, BD=9BD=9, CD=4CD=4, CE=9CE=9, DE=3DE=3, DF=10DF=10 and EF=6EF=6. Dijkstra's algorithm is used starting from AA.
    (a)
    Counting AA as the first, which vertex receives the fourth permanent label?
    [1 mark]
    • ADD
    • BCC
    • CEE
    • DFF
    (b)
    What is the final label of FF?
    [1 mark]
    • A2121
    • B2020
    • C2323
    • D2424
    (c)
    Use the labels to find the shortest route from AA to FF and show how you worked it out.
    [2 marks]

    Total for question 2: 4 marks

  3. 3
    A courier network has seven vertices SS, AA, BB, CC, DD, XX and TT. The roads and their lengths in km are SA=8SA=8, SC=12SC=12, AC=3AC=3, AX=11AX=11, BC=2BC=2, BD=6BD=6, BT=10BT=10, CD=7CD=7, CT=5CT=5, DX=9DX=9 and XT=4XT=4.
    (a)
    Apply Dijkstra's algorithm from SS. Show the working values at CC, and state the permanent labels of the next three vertices to be labelled after SS.
    [3 marks]
    (b)
    A courier must travel from SS to TT and must call at XX. Find the shortest such route and its length.
    [4 marks]

    Total for question 3: 7 marks

  4. 4
    A delivery network has eight vertices SS, AA, BB, CC, DD, EE, FF and TT. The roads and their lengths in km are SD=3SD=3, SF=6SF=6, AB=17AB=17, AD=14AD=14, AT=13AT=13, BC=15BC=15, BD=9BD=9, BE=8BE=8, BF=11BF=11, BT=16BT=16, CF=18CF=18, EF=19EF=19 and ET=2ET=2.
    (a)
    Use Dijkstra's algorithm to find the shortest route from SS to TT. Give the vertices in the order they are labelled, with their final labels, and state the route and its length.
    [6 marks]
    (b)
    The road BEBE is closed. Explain why the labels of DD, FF, BB and AA do not change, find the new shortest route from SS to TT, and state how much longer it is.
    [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).