User interface language: English | Español

Date May Example question Marks available 7 Reference code EXM.1.AHL.TZ0.23
Level Additional Higher Level Paper Paper 1 Time zone Time zone 0
Command term Show and Find Question number 23 Adapted from N/A

Question

Sameer is trying to design a road system to connect six towns, A, B, C, D, E and F.

The possible roads and the costs of building them are shown in the graph below. Each vertex represents a town, each edge represents a road and the weight of each edge is the cost of building that road. He needs to design the lowest cost road system that will connect the six towns.

Name an algorithm that will allow Sameer to find the lowest cost road system.

[1]
a.

Find the lowest cost road system and state the cost of building it. Show clearly the steps of the algorithm.

[7]
b.

Markscheme

EITHER          

Prim’s algorithm      A1

OR

Kruskal’s algorithm       A1

[1 mark]

a.

EITHER          

using Prim’s algorithm, starting at A

       A1A1A1A1A1

lowest cost road system contains roads AC, CD, CF, FE and AB       A1

cost is 20       A1

OR

using Kruskal’s algorithm

       A1A1A1A1A1

lowest cost road system contains roads CD, CF, FE, AC and AB       A1

cost is 20       A1

Note: Accept alternative correct solutions.

[7 marks]

b.

Examiners report

[N/A]
a.
[N/A]
b.

Syllabus sections

Topic 3—Geometry and trigonometry » AHL 3.16—Tree and cycle algorithms, Chinese postman, travelling salesman
Show 87 related questions
Topic 3—Geometry and trigonometry

View options