topic badge

9.06 Minimal spanning tree algorithms

Interactive practice questions

Apply Prim’s algorithm to the following network:

a

Starting from vertex $A$A, which edge should be selected first?

$AB$AB

A

$AC$AC

B

$AD$AD

C

$BC$BC

D

$BD$BD

E

$CD$CD

F
b

Which edge should be selected second?

$AB$AB

A

$AC$AC

B

$AD$AD

C

$BC$BC

D

$BD$BD

E

$CD$CD

F
c

Which edge should be selected third?

$AB$AB

A

$AC$AC

B

$AD$AD

C

$BC$BC

D

$BD$BD

E

$CD$CD

F
d

What is the weight of the minimal spanning tree?

Easy
1min

Apply Kruskal’s algorithm to the following network:

Easy
1min

The following weighted network shows possible connections (and associated costs, in millions of dollars) for connecting rural towns to a common cabled internet service.

To minimise the cost of connecting each town to the network, we want to find the minimal spanning tree.

Easy
3min

The direct flight routes between five major cities are shown in the network below. Each edge is marked with the distance (in km) traveled on each route.

The operating airline wants to find the minimal spanning tree for the network to maximise efficiency.

Easy
3min
Sign up to access Practice Questions
Get full access to our content with a Mathspace account

Outcomes

MS2-12-8

solves problems using networks to model decision-making in practical problems

What is Mathspace

About Mathspace