Question 6

Edexcel Further Maths November 2021 9FM0-3D A Level Decision Mathematics 1 - question paperA level10 marks

On the specification

(a)(i)
3D 2.2 Dijkstra's and Floyd's algorithms
(a)(ii)
3D 2.2 Dijkstra's and Floyd's algorithms
(b)
3D 1.1 Algorithms: order and implementation (3D Decision Maths 1)
(c)
3D 1.1 Algorithms: order and implementation (3D Decision Maths 1)
Question text

6. B 15 E 32 33 17 30 D 75 95 A F 50 50 25 16 70 41 G 105 10 C 113 H Figure 4 In Figure 4 the weights on the arcs represent distances. (a) (i) Use Dijkstra’s algorithm to find the shortest path from A to H. (ii) State the length of the shortest path from A to H. (6) 2 One application of Dijkstra’s algorithm has order n , where n is the number of nodes in the network. A computer produces a table of shortest distances between any two different nodes by repeatedly applying Dijkstra’s algorithm from each node of the network. It takes the computer 0.082 seconds to produce a table of shortest distances for a network of 10 nodes. (b) Calculate approximately how long it will take, in seconds, for the computer to produce a table of shortest distances for a network with 200 nodes. You must give a reason for your answer. (3) (c) Explain why your answer to part (b) can only be an approximation. (1) (Total for Question 6 is 10 marks)