D1: Graphs and minimum spanning trees – Edexcel IAL Decision Mathematics (WDM1)

10 questions · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
1
WDM1 D1 · Jun 2026 · Section 1, Question 3May/June 2026D19 marks
Loading question…
Question text

3.
H
F
40
C
20
33
14
17
24
9
48
5
12
E
G
B
22
I
15
81
34
D
51
18
J
46
A
Figure 2
[The total length of the network is 489]
Figure 2 represents a network of cycle paths between ten locations, A, B, C. D, E, F,
G, H, I and J. The number on each arc is the time, in minutes, to cycle between the
corresponding locations.
(a) State, with a reason, whether the network is Eulerian, semi‑Eulerian or neither.
(1)
(b) (i) Use Dijkstra’s algorithm to determine the shortest time to cycle from A to H
(ii) State the quickest cycle route from A to H
(6)
The paths from A to B, A to J and B to C become blocked and cannot be used.
(c) Determine the increase in the shortest time to cycle from A to H. You must justify
your answer.
(2)
(Total for Question 3 is 9 marks)

2
WDM1 D1 · Jun 2026 · Section 1, Question 8May/June 2026D110 marks
Loading question…
Question text

8.
M
Q
x + 8
2x + 1
28
22
4x + 4
27
32
N
L
R
T
25
4x + 8
29
25
26
3x + 1
P
S
2x – 1
Figure 4
[The total length of the network is 16x + 235]
Figure 4 shows a network of cables between eight computer stations, L, M, N, P, Q, R,
S and T. The number on each arc is the distance, in metres, between the corresponding
nodes, where x is an unknown value less than 12
(a) State whether LMNPRST is an example of a path, giving reasons for your answer.
(2)
An engineer must check every cable for damage. She must find a route of minimum
length, which travels along every cable at least once, starting at L and finishing at T.
Given that each of the two possible routes repeats exactly 3 arcs,
(b) determine the range of possible values of x
(5)
Given that the two possible routes have the same length,
(c) calculate the length of the route, justifying your answer.
(3)
(Total for Question 8 is 10 marks)

3
WDM1 D1 · Jun 2026 · Section 2, Question 6May/June 2026D19 marks
Loading question…
Question text

6.
y
35
30
25
20
15
10
5
0
35 x
0
5
10
15
20
25
30
Question 6 continued
Question 6 continued
Question 6 continued
Use this graph only if you need to redraw your answer to part (b).
y
35
30
25
20
15
10
5
0
35 x
0
5
10
15
20
25
30
(Total for Question 6 is 9 marks)

Advertisement
4
WDM1 D1 A · Jun 2026 · Question 1May/June 2026D1 A7 marks
Loading question…
Question text

1. The following list of ten numbers is to be sorted into ascending order.
18 13 21 17 23 14 20 15 16 19
(a) Use bubble sort to sort the list into ascending order. You should only show the result
of each pass.
(3)
(b)
B
E
17
14
13
19
15
21
D
A
20
18
16
23
C
F
Figure 1
The list of ten numbers in part (a) represents the lengths of cables, in metres, that
connect six workstations, as shown in Figure 1.
The workstations must be connected using the minimum amount of cabling.
(i) Use Kruskal’s algorithm to find the minimum spanning tree for the network. You
must clearly show the order in which the arcs are selected.
(ii) State the weight of the minimum spanning tree.
(4)
(Total for Question 1 is 7 marks)

5
WDM1 D1 A · Jun 2026 · Question 7May/June 2026D1 A13 marks
Loading question…
Question text

7.
A
B
C
D
E
F
G
H
A
–
43
38
52
44
39
57
48
B
43
–
41
39
50
46
36
43
C
38
41
–
48
53
44
51
45
D
52
39
48
–
43
52
47
49
E
44
50
53
43
–
50
42
46
F
39
46
44
52
50
–
48
54
G
57
36
51
47
42
48
–
42
H
48
43
45
49
46
54
42
–
The table above shows the shortest distance, in miles, between eight towns, A, B, C, D,
E, F, G and H.
A delivery driver must visit each town at least once and return to the starting point. The
driver wishes to minimise the total distance travelled.
(a) (i) Using Prim’s algorithm, starting at D, obtain a minimum spanning tree for
the network. You must clearly state the order in which you select the arcs of
your tree.
(ii) State the weight of the tree.
(3)
(b) Draw the minimum spanning tree on the diagram in the answer book.
(1)
(c) Use your answer to part (a) to determine an initial upper bound for the length of the
delivery driver’s route.
(1)
(d) Use one shortcut, starting from B, to obtain an improved upper bound with a
length less than 500 miles, stating the shortcut used and the length of the improved
upper bound.
(2)
(e) Show that there are two nearest neighbour routes starting from A, stating both routes
and their lengths.
(3)
Question 7 continued
(f) By deleting H and all of its arcs, calculate a lower bound for the length of the
delivery driver’s route.
(2)
A second lower bound of 321 miles is calculated by deleting A and all of its arcs.
(g) Write down the smallest interval that must contain the length of the delivery
driver’s route.
(1)
(Total for Question 7 is 13 marks)

6
WDM1 D1 · Jun 2025 · Section 1, Question 2May/June 2025D19 marks
Loading question…
Question text

2:
P
Q
R
S
T
U
V
P
–
105
90
195
270
95
155
Q
105
–
195
295
370
190
255
R
90
195
–
110
185
180
245
S
195
295
110
–
75
115
170
T
270
370
185
75
–
180
245
U
95
190
180
115
180
–
65
V
155
255
245
170
245
65
–
The table shows the least distances, in metres, between seven signposts, P, Q, R, S, T, U
and V.
Aisha must visit each signpost to check that it has not been damaged. She needs to find
a route which minimises the distance travelled, starting and finishing at P.
(a) Use Prim’s algorithm, starting at P, to obtain a minimum spanning tree for the
network. You must clearly show the order in which you select arcs.
(2)
(b) Use the answer to part (a) to obtain an initial upper bound for the length of
Aisha’s route.
(2)
(c) Use the nearest neighbour algorithm, starting at P, to find a second upper bound for
the length of Aisha’s route. You should state both the route and its length.
(3)
(d) By deleting T and all of its arcs, and using the answer to part (a), obtain a lower
bound for the length of Aisha’s route.
(2)
(Total for Question 2 is 9 marks)

7
WDM1 D1 · Jun 2024 · Section 1, Question 3May/June 2024D18 marks
Loading question…
Question text

3.
C
61
E
H
9
18
10
40
7
13
A
52
30
J
D
51
38
8
27
20
59
B
13
34
9
F
G
5
Figure 2
Figure 2 models a network of tracks between nine ranger stations,
A, B, C, D, E, F, G, H and J, in a forest. The number on each edge gives the time, in
minutes, to travel along the corresponding track. The forest ranger wishes to travel from
A to J as quickly as possible.
(a) Use Dijkstra’s algorithm to find the shortest time needed to travel from A to J.
State the quickest route.
(6)
(b) Hence determine the weight of the minimum spanning tree for the network given in
Figure 2. Give a reason for your answer.
You do not need to find the minimum spanning tree.
(2)
(Total for Question 3 is 8 marks)

8
WDM1 D1 · Jun 2024 · Section 1, Question 4May/June 2024D114 marks
Loading question…
Question text

4.
J
31
15
A
B
19
36
15
65
7
24
E
84
23
H
39
C
13
56
10
G
40
17
D
F
Figure 3
[The total weight of the network is 494]
Direct roads between nine factories, A, B, C, D, E, F, G, H and J, are represented in
Figure 3.
The number on each arc represents the lengths, in kilometres, of the corresponding road.
The table below shows the shortest distances, in kilometres, between the nine factories.
A
B
C
D
E
F
G
H
J
A
‑
15
7
25
15
42
64
51
46
B
15
‑
22
40
30
57
49
36
31
C
7
22
‑
32
22
49
71
58
53
D
25
40
32
‑
10
17
57
70
71
E
15
30
22
10
‑
27
67
66
61
F
42
57
49
17
27
‑
40
53
72
G
64
49
71
57
67
40
‑
13
32
H
51
36
58
70
66
53
13
‑
19
J
46
31
53
71
61
72
32
19
‑
Table of shortest distances
(a) Starting at A, use Prim’s algorithm to find a minimum spanning tree for the table of
shortest distances. You must state the order in which you select the arcs of your tree.
(3)
(b) State the weight of the minimum spanning tree.
(1)
A route is needed that minimises the total distance to traverse each road at least once.
The route must start at E and finish at F.
(c) Determine the length of this route. You must give a reason for your answer.
(2)
It is now decided to start the route at C and finish the route at A. The route must include
every road at least once and must still minimise the total distance travelled.
(d) By considering the pairings of all relevant nodes, find the roads that need to be
traversed twice.
(4)
Naoko needs to visit all nine factories, starting and finishing at the same factory, and
wishes to minimise the total distance travelled.
(e) Starting at B, use the nearest neighbour algorithm on the table of shortest distances
to find an upper bound for the length of Naoko’s route. Write down the cycle,
obtained from the table of shortest distances, which gives this upper bound.
(2)
(f) By deleting C and all of its arcs, use the values in the table of shortest distances to
find a lower bound for the length of Naoko’s route.
(2)
(Total for Question 4 is 14 marks)

Advertisement
9
WDM1 D1 · Jun 2023 · Section 1, Question 7May/June 2023D112 marks
Loading question…
Question text

7.
A
B
C
D
E
F
G
H
A
–
38
37
37
42
41
27
x
B
38
–
26
32
33
38
37
34
C
37
26
–
39
38
39
30
39
D
32
39
–
37
36
29
36
x
E
37
33
38
37
–
32
33
30
F
42
38
39
36
32
–
31
28
G
41
37
30
29
33
31
–
33
H
27
34
39
36
30
28
33
–
The network represented by the table shows the least distances, in km, between eight
museums, A, B, C, D, E, F, G and H.
A tourist wants to visit each museum at least once, starting and finishing at A. The
tourist wishes to minimise the total distance travelled. The shortest distance between A
and D is x km where 32  x  35
(a) Using Prim’s algorithm, starting at A, obtain a minimum spanning tree for the
network. You must clearly state the order in which you select the arcs of your tree.
(3)
(b) Use your answer to (a) to determine an initial upper bound for the length of the
tourist’s route.
(1)
(c) Starting at A, use the nearest neighbour algorithm to find another upper bound for
the length of the tourist’s route. Write down the route that gives this upper bound.
(2)
The nearest neighbour algorithm starting at E gives a route of
E – H – A – D – G – C – B – F – E
(d) State which of these two nearest neighbour routes gives the better upper bound.
Give reasons for your answer.
(2)
Starting by deleting A, and all of its arcs, a lower bound of 235 km for the length of the
route is found.
(e) Determine the smallest interval that must contain the optimal length of the tourist’s
route. You must make your method and working clear.
(4)
(Total for Question 7 is 12 marks)

10
WDM1 D1 · Jun 2022 · Section 1, Question 3May/June 2022D114 marks
Loading question…
Question text

3.
S
34
48
B
10
Y
6
26
28
20
P
21
A
54
18
15
L
12
42
17
C
40
H
11
14
W
M
21
Figure 2
The network in Figure 2 shows the distances, in miles, between ten towns, A, B, C, H,
L, M, P, S, W and Y.
(a) Use Kruskal’s algorithm to find a minimum spanning tree for the network. You
should list the arcs in the order in which you consider them. In each case, state
whether you are adding the arc to your minimum spanning tree.
(3)
A
B
C
H
L
M
P
S
W
Y
A
–
6
18
15
54
29
16
26
29
74
B
6
–
22
21
60
35
10
32
33
80
C
18
22
–
17
59
31
12
44
11
80
H
15
21
17
–
42
14
29
41
28
63
L
54
60
59
42
–
40
70
28
61
21
M
29
35
31
14
40
–
43
55
21
61
P
16
10
12
29
70
43
–
42
23
90
S
26
32
44
41
28
55
42
–
55
48
W
29
33
11
28
61
21
23
55
–
82
Y
74
80
80
63
21
61
90
48
82
–
The table shows the shortest distances, in miles, between the ten towns.
(b) Use Prim’s algorithm on the table, starting at A, to find the minimum spanning tree
for this network. You must clearly state the order in which you select the arcs of
your tree.
(3)
(c) State the weight of the minimum spanning tree found in (b).
(1)
Sharon needs to visit all of the towns, starting and finishing in the same town, and
wishes to minimise the total distance she travels.
(d) Use your answer to (c) to calculate an initial upper bound for the length of
Sharon’s route.
(1)
(e) Use the nearest neighbour algorithm on the table, starting at W, to find an upper
bound for the length of Sharon’s route. Write down the route which gives this
upper bound.
(2)
Using the nearest neighbour algorithm, starting at Y, an upper bound of length 212 miles
was found.
(f) State the best upper bound that can be obtained by using this information and your
answers from (d) and (e). Give the reason for your answer.
(1)
(g) By deleting W and all of its arcs, find a lower bound for the length of
Sharon’s route.
(2)
Sharon decides to take the route found in (e).
(h) Interpret this route in terms of the actual towns visited.
(1)
(Total for Question 3 is 14 marks)

Advertisement