D1 January 2005 Q5
5.

Figure 3 shows a network of paths. The number on each arc gives the distance, in metres, of that path.
(i) Use Dijkstra’s algorithm to find the shortest distance from \(A\) to \(H\). (5)
(ii) Solve the route inspection problem for the network shown in Figure 3. You should make your method and working clear. State a shortest route, starting at \(A\), and find its length.
[The total weight of the network is 1241]
(6)| Scheme | Marks |
|---|---|
![]() | M1 A1 A1ft A1ft |
| shortest distance is 385 m | A1 |
| (5) |
| Scheme | Marks |
|---|---|
| odd vertices \(B, C, D, G\) | M1 |
| \(BC + DG = 95 + 145 = 240\ *\) | A1 |
| \(BD + CG = 169 + 179 = 348\) | A1 |
| \(BG + CD = 249 + 74 = 323\) | A1 |
| (4) | |
| Repeat \(BC, DE\) and \(EG\) | |
| e.g. \(ABCBFHGFEGECDEDA\) | B1 |
| length \(1241 + 240 = 1481\) m | B1 |
| (2) | |
| (11 marks) |
