D1: Algorithms on graphs IIEdexcel International A Level Maths: Topic test
20 questions, 54 marks
Edexcel International A Level Maths
D1: Algorithms on graphs II topic test
Total 54 marks
Name
Class
Date
- 1A park ranger must walk along every path in a park at least once, starting and finishing at the car park . The paths join six junctions , , , , and . The path lengths, in hundreds of metres, are , , , , , , , and . There are no other paths.(a)Which junctions have an odd number of paths meeting at them?[1 mark]
- A and
- B and
- C and
- D, and
(b)What is the shortest total length of path that must be walked a second time?[1 mark]- A
- B
- C
- D
(c)Find the length of the shortest route that starts and finishes at and uses every path at least once.[2 marks]Total for question 1: 4 marks
- 2A mountain rescue base is joined to three huts , and by tracks of length km, km and km. There are no other tracks. A tour starts at , visits every hut and returns to .(a)Why can the classical travelling salesman problem not be solved on this network?[1 mark]
- AThe triangle inequality is not satisfied
- BThere are too many vertices for a tour to exist
- CThe network is directed
- DNo cycle visits every vertex exactly once
(b)What is the length of the shortest tour in the practical problem?[1 mark]- A km
- B km
- C km
- D km
(c)Write down the lengths , and in the complete network of shortest distances between the three huts.[2 marks]Total for question 2: 4 marks
- 3A surveyor must visit five weather stations , , , and , starting and finishing at . Every pair of stations is joined by a direct road. The road lengths in km are , , , , , , , , and .(a)Use the nearest neighbour algorithm, starting at , to find an upper bound for the length of the shortest route that visits every station once and returns to . State the route you use.[3 marks](b)By deleting , find a lower bound for the length of the shortest route that visits every station once and returns to .[4 marks]
Total for question 3: 7 marks
- 4Five harbours , , , and are linked by ferry routes. The only direct routes, and their lengths in nautical miles, are , , , , , and .(a)An inspector must travel along every route at least once, starting and finishing at . Determine the length of the shortest such journey. You must make your method and all your pairings clear.[6 marks](b)The network of shortest distances between the harbours has , , , , , , , , and . A cargo vessel must visit every harbour once, starting and finishing at . (i) Use the nearest neighbour algorithm from to find an upper bound. (ii) By deleting , find a lower bound.[6 marks]
Total for question 4: 12 marks
- 5A museum security guard must patrol every corridor at least once, starting and finishing at the entrance . The corridors join five junctions , , , and . The corridor lengths, in tens of metres, are , , , , , and . There are no other corridors.(a)What is the sum of the degrees of the five junctions?[1 mark]
- A
- B
- C
- D
(b)What is the shortest total length of corridor that must be patrolled a second time?[1 mark]- A
- B
- C
- D
(c)Find the length of the shortest patrol route, and state which corridors are walked twice.[2 marks]Total for question 5: 4 marks
- 6A complete network has four towns , , and . Three of the road lengths, in km, are , and .(a)Which statement about the triangle inequality for , and is correct?[1 mark]
- AIt is satisfied because is the shortest arc
- BIt is satisfied because
- CIt is not satisfied because
- DIt cannot be tested without the other lengths
(b)In the practical travelling salesman problem, what is the shortest distance from to ?[1 mark]- A km
- B km
- C km
- D km
(c)A driver on a tour is about to use the direct road . Explain how the driver can shorten the tour, and state the saving.[2 marks]Total for question 6: 4 marks
- 7Five field stations , , , and are joined by a complete network of direct tracks whose lengths, in km, satisfy the triangle inequality: , , , , , , , , and .(a)Use Kruskal's algorithm to find a minimum spanning tree for the stations. List the arcs in the order you select them, and state the weight of the tree.[3 marks](b)Use your tree to find an upper bound for the shortest tour that visits every station once. Then use shortcuts to find a better upper bound, stating the tour you find and its length.[4 marks]
Total for question 7: 7 marks
- 8A bus company's routes join five towns , , , and . The only direct routes, and their lengths in km, are , , , , , and .(a)An inspector must travel along every route at least once, starting and finishing at . Determine the length of the shortest such journey. You must make your method and all your pairings clear.[6 marks](b)The network of shortest distances between the towns has , , , , , , , , and . A tour of length km is known. (i) By deleting , find a lower bound for the shortest tour. (ii) A planner claims that a tour of length km exists. Use your answer to comment on the claim, and state the interval that contains the shortest tour.[6 marks]
Total for question 8: 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).