Dijkstra's algorithm

Dijkstra's algorithm Quiz

Spec 2.2 · Edexcel A-Level Further Maths: Quiz

Studying this course? Keep your progress in one place.

Pick an answer for each. Quizzes never use energy.

5 questions, one answer each

Each answer is checked as you go, with why.

See all 5 questions
  1. 1. The working values at three unlabelled vertices are 9, 7 and 12. Which is made permanent?

    • A. 99
    • B. 1212
    • C. 77
    • D. None yet
  2. 2. XX has label 10 and road XY=4XY=4. YY has working value 15. What happens?

    • A. YY keeps 15
    • B. YY is replaced by 19
    • C. YY is replaced by 14
    • D. YY is made permanent as 14 at once
  3. 3. How do you find the shortest route after the labels are known?

    • A. Join the vertices in order of labelling
    • B. Choose the smallest edges from the start
    • C. Add every edge length
    • D. Work back from the target through vertices whose label plus edge length gives the current label
  4. 4. Roads: SA=3SA=3, SB=5SB=5, AB=1AB=1, AT=7AT=7, BT=4BT=4. What is the shortest distance from SS to TT?

    • A. 88
    • B. 99
    • C. 1010
    • D. 77
  5. 5. When can the algorithm stop if only the shortest route to TT is needed?

    • A. When TT first gets a working value
    • B. When TT is given a permanent label
    • C. When all edges have been used
    • D. When every working value has been crossed out

Quiz