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

23 questions · page 2 of 2

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
16
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)

17
WDM1 D1 · Jan 2023 · Section 2, Question 5January 2023D19 marks
Loading question…
Question text

5.
D
20
18
24
23
C
G
29
16
28
E
A
19
21
17
27
B
21
26
F
17
21
19
25
H
Figure 3
(a) Explain why it is impossible to draw a graph with eight vertices in which the vertex
orders are 1, 2, 2, 3, 3, 4, 4 and 6
(1)
Figure 3 shows the network T. The numbers on the arcs represent the distances, in km,
between the eight vertices, A, B, C, D, E, F, G and H.
(b) Determine whether or not A – C – D – E – C – B – F is an example of a path on T.
You must justify your answer.
(2)
(c) Use Prim’s algorithm, starting at A, to find the minimum spanning tree for T. You
must clearly state the order in which you select the arcs of the tree.
(3)
(d) Draw the minimum spanning tree using the vertices given in Diagram 1 in the
answer book.
(1)
The weight of arc CF is now increased to a value of x. The minimum spanning tree for
T is unique and includes the same arcs as those found in (c).
(e) Write down the smallest interval that must contain x.
(2)
(Total for Question 5 is 9 marks)

18
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
19
WDM1 D1 · Oct/Nov 2021 · Question 3Oct/Nov 2021D126 marks
Loading question…
Question text

3.
The table below represents a complete network that shows the least costs of travelling between
eight cities, A, B, C, D, E, F, G and H.
A
B
C
D
E
F
G
H
A
–
36
38
40
23
39
38
35
B
36
–
35
36
35
34
41
38
C
38
35
–
39
25
32
40
40
D
40
36
39
–
37
37
26
33
E
23
35
25
37
–
42
24
43
F
39
34
32
37
42
–
45
38
G
38
41
40
26
24
45
–
40
H
35
38
40
33
43
38
40
–
Srinjoy must visit each city at least once. He will start and finish at A and wishes to minimise his
total cost.
(a) Use Prim’s algorithm, starting at A, to find a minimum spanning tree for this network. You
must list the arcs that form the tree in the order in which you select them.
(3)
(b) State the weight of the minimum spanning tree.
(1)
(c) Use your answer to (b) to help you calculate an initial upper bound for the total cost of Srinjoy’s
route.
(1)
(d) Show that there are two nearest neighbour routes that start from A. You must make the routes
and their corresponding costs clear.
(4)
(e) State the best upper bound that can be obtained by using your answers to (c) and (d).
(1)
(f) Starting by deleting A and all of its arcs, find a lower bound for the total cost of Srinjoy’s route.
You must make your method and working clear.
(3)
(g) Use your results to write down the smallest interval that must contain the optimal cost of
Srinjoy’s route.
(2)
(Total 15 marks)
4.
F(w)
12
y
13
z
G(5)
K(6)
C(v)
H(7)
L(5)
5
13
20
25
13
20
25
D(4)
x
A(5)
E(7)
M(4)
I(10)
0
6
20
0
6
21
B(6)
J(4)
Figure 2
The network in Figure 2 shows the activities that need to be carried out by a company to complete
a project. Each activity is represented by an arc, and the duration, in days, is shown in brackets.
Each activity requires one worker. The early event times and the late event times are shown at each
vertex.
(a) Complete the precedence table in the answer book.
(2)
A cascade chart for this project is shown on Grid 1.
0
2
4
6
8
10
12
14
16
18
20
22
24
26
B
E
H
L
A
C
D
F
G
I
J
K
M
Grid 1
(b) Use Figure 2 and Grid 1 to find the values of v, w, x, y and z.
(3)
The project is to be completed in the minimum time using as few workers as possible.
(c) Calculate a lower bound for the minimum number of workers required. You must show your
working.
(1)
(d) On Grid 2 in your answer book, construct a scheduling diagram for this project.
(3)
Before the project begins it is found that activity F will require an additional 5 hours to complete.
The durations of all other activities are unchanged. The project is still to be completed in the
shortest possible time using as few workers as possible.
(e) State the new minimum project completion time and state the new critical path.
(2)
(Total 11 marks)

20
WDM1 D1 · Oct/Nov 2020 · Question 1Oct/Nov 2020D17 marks
Loading question…
Question text

1.
The table below shows the distances, in metres, between six vertices, A, B, C, D, E and F, in
a network.
A
B
C
D
E
F
A
–
18
23
17
28
19
B
–
–
18
20
11
24
C
–
–
23
20
25
13
D
–
–
–
17
11
22
E
–
–
–
–
28
25
F
–
–
19
24
13
22
(a) Draw the weighted network using the vertices given in Diagram 1 in the answer book.
(2)
(b) Use Kruskal’s algorithm to find a minimum spanning tree for the network. You should list
the edges in the order that you consider them and state whether you are adding them to your
minimum spanning tree.
(3)
(c) Draw the minimum spanning tree on Diagram 2 in the answer book and state its total weight.
(2)
(Total 7 marks)

21
WDM1 D1 · Oct/Nov 2020 · Question 3Oct/Nov 2020D17 marks
Loading question…
Question text

3.
The table below shows the least distances, in km, between six towns, A, B, C, D, E and F.
A
B
C
D
E
F
A
–
57
76
59
72
65
B
–
57
67
80
66
76
C
–
76
67
71
83
80
D
–
59
80
71
77
78
E
–
72
66
83
77
69
F
–
65
76
80
78
69
Mei must visit each town at least once. She will start and finish at A and wishes her route to
minimise the total distance she will travel.
(a) Starting with the minimum spanning tree in the answer book, use the shortcut method to find
an upper bound below 520 km for Mei’s route. You must state the shortcut(s) you use and the
length of your upper bound.
(2)
(b) Use the nearest neighbour algorithm, starting at A, to find another upper bound for the length
of Mei’s route.
(2)
(c) Starting by deleting E, and all of its arcs, find a lower bound for the length of Mei’s route.
Make your method clear.
(3)
(Total 7 marks)

22
WDM1 D1 · Jan 2020 · Question 1January 2020D122 marks
Loading question…
Question text

1.
The table below shows the distances, in km, between six data collection points, A, B, C, D, E and F.
A
B
C
D
E
F
A
–
35
42
55
48
50
B
–
35
40
49
52
31
C
–
42
40
47
53
49
D
–
55
49
47
39
44
E
–
48
52
53
39
52
F
–
50
31
49
44
52
Ferhana must visit each data collection point. She will start and finish at A and wishes to minimise
the total distance she travels.
(a) Starting at A, use the nearest neighbour algorithm to obtain an upper bound for the distance
Ferhana must travel. Make your method clear.
(2)
(b) Starting by deleting B, and all of its arcs, find a lower bound for the distance Ferhana must
travel. Make your calculation clear.
(3)
(Total 5 marks)
2.
C
19
B
32
A
29
25
34
30
15
22
E
F
D
30
32
13
11
17
23
18
J
H
G
20
Figure 1
(a) Define the terms
(i) tree,
(ii) minimum spanning tree.
(3)
(b) Use Kruskal’s algorithm to find the minimum spanning tree for the network shown in Figure 1.
You must clearly show the order in which you consider the edges. For each edge, state whether
or not you are including it in the minimum spanning tree.
(3)
(c) Draw the minimum spanning tree using the vertices given in Diagram 1 in the answer book and
state the weight of the minimum spanning tree.
(2)
(Total 8 marks)
3.
4
24
D(x)
10
24
E(7)
J(9)
A(4)
I(7)
33
7
0
F(5)
K(10)
z
B(5)
33
0
17
y
L(11)
G(9)
C(7)
28
17
7
33
M(9)
H(10)
17
7
Figure 2
The network in Figure 2 shows the activities that need to be undertaken by a company to complete
a project. Each activity is represented by an arc and the duration, in days, is shown in brackets.
Each activity requires one worker. The early event times and late event times are shown at each
vertex.
The total float on activity D is twice the total float on activity E.
(a) Find the values of x, y and z.
(3)
(b) Draw a cascade chart for this project on Grid 1 in the answer book.
(4)
(c) Use your cascade chart to determine a lower bound for the minimum number of workers
needed to complete the project in the shortest possible time. You must make specific reference
to time and activities. (You do not need to provide a schedule of the activities.)
(2)
(Total 9 marks)

23
WDM1 D1 · Jan 2017 · Question 1January 2017D171 marks
Loading question…
Question text

1.
Use the binary search algorithm to try to locate the name Hilbert in the following alphabetical list.
Clearly indicate how you chose your pivots and which part of the list is being rejected at each stage.
Descartes
Euler
Gauss
Hamilton
Lagrange
Noether
Poisson
Ramanujan
Stokes
Turing
(Total 4 marks)
2.
A
B
C
D
E
F
G
H
A
–
27
51
32
29
23
47
40
B
27
–
24
35
20
42
33
28
C
51
24
–
37
43
31
26
34
D
32
35
37
–
39
45
44
30
E
29
20
43
39
–
38
45
55
F
23
42
31
45
38
–
53
45
G
47
33
26
44
45
53
–
39
H
40
28
34
30
55
45
39
–
The table represents a network that shows the average journey time, in minutes, between eight
towns, A, B, C, D, E, F, G and H.
(a) Use Prim’s algorithm, starting at A, to find the minimum spanning tree for this network. You
must clearly state the order in which you select the edges of your tree.
(3)
(b) Draw the minimum spanning tree using the vertices given in Diagram 1 in the answer book.
(1)
(c) State the weight of the minimum spanning tree.
(1)
(Total 5 marks)
3.
A
1
A
1
B
2
B
2
C
3
C
3
4
4
D
D
E
E
5
5
F
6
F
6
Figure 1
Figure 2
Figure 1 shows the possible allocations of six workers, A, B, C, D, E and F, to six tasks, 1, 2, 3,
4, 5 and 6. Each task must be assigned to only one worker and each worker must be assigned to
exactly one task.
Figure 2 shows an initial matching.
(a) Starting from the given initial matching, use the maximum matching algorithm to find an
alternating path from A to 4. Hence find an improved matching. You should list the alternating
path you use, and state your improved matching.
(3)
(b) Explain why it is not possible to find a complete matching.
(1)
After training, task 1 is added to worker A’s possible allocations.
(c) Starting from the improved matching found in (a), use the maximum matching algorithm to
find a complete matching. You should list the alternating path you use, and state your complete
matching.
(3)
(Total 7 marks)
4.
23
18
27
9
25
10
12
30
24
The numbers in the list represent the weights, in kilograms, of nine suitcases. The suitcases are to
be transported in containers that will each hold a maximum weight of 45 kilograms.
(a) Calculate a lower bound for the number of containers that will be needed to transport the
suitcases.
(2)
(b) Use the first-fit bin packing algorithm to allocate the suitcases to the containers.
(2)
(c) Using the list provided, carry out a bubble sort to produce a list of the weights in descending
order. You need only give the state of the list after each complete pass.
(4)
(d) Use the first-fit decreasing bin packing algorithm to allocate the suitcases to the containers.
(2)
(e) Explain why it is not possible to transport the suitcases using fewer containers than the number
used in (d).
(1)
(Total 11 marks)
5.
B
C
13.2
8.9
2.4
A
D
11.5
5.3
6.5
5.5
F
2.7
E
G
4.9
10.2
1.2
12.5
J
3.1
1.9
I
H
6.4
10.5
K
Figure 3
[The total weight of the network is 106.7]
Figure 3 models a network of cycle tracks that have to be inspected. The number on each arc
represents the length, in km, of the corresponding track. Angela needs to travel along each cycle
track at least once and wishes to minimise the length of her inspection route. She must start and
finish at A.
(a) Use an appropriate algorithm to find the tracks that will need to be traversed twice. You should
make your method and working clear.
(5)
(b) Find a route of minimum length, starting and finishing at A. State the length of your route.
(2)
A new cycle track, AC, is under construction. It will be 15 km long. Angela will have to include
this new track in her inspection route.
(c) State the effect this new track will have on the total length of her route. Justify your answer.
(2)
(Total 9 marks)
6.
A
14
D
8
4
21
8
25
B
10
5
E
C
2x
4
H
17
12
F
4
9
x
6
G
Figure 4
Figure 4 represents a network of roads. The number on each arc represents the time taken, in
minutes, to drive along the corresponding road.
Stieg wishes to minimise the time spent driving from his home at A, to his office at H. The amount
of traffic

Advertisement