OCR A Level: Decision 1 - Dijkstra's Algorithm [June 2013 Q5]

It is given that the total weight of the arcs in the network below is 224.

( i ) (\text{i}) Apply Dijkstra's algorithm to the network, starting at A A , to find the shortest route from A A to G G .

( ii ) (\text{ii}) Dijkstra's algorithm has quadratic order (order n 2 n^2 ). It takes 2.25 seconds for a certain computer to apply Dijkstra's algorithm to a network with 7 vertices. Calculate approximately how many hours it will take for a 1400 vertex network.

( iii ) (\text{iii}) How much shorter would the path C E CE need to be for it to become part of a shortest path from A A to G G ?

( iv ) (\text{iv}) Given A C AC and C E CE become blocked, find the shortest distance that one must travel to travel along all the remaining arcs, starting and ending at C C . Show your working.


Input the shortest distance from part ( iv ) (\text{iv}) as your answer.


There are 5 marks available for part (i), 2 marks for part (ii), 2 marks for part (iii) and 6 marks for part (ii).
In total, this question is worth 20.8% of all available marks in the paper.

This is part of the set OCR A Level Problems .


The answer is 237.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Michael Fuller
Mar 7, 2016

The mark scheme for this question: Large Version

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...