- IB
- Question Type 3: Applying minimum spanning trees under real world context
This question assesses the application of Kruskal’s algorithm to determine the minimum spanning tree (MST) of a weighted graph and the calculation of the MST's total weight.
Five substations and must be connected by cables. The cable lengths (in km) are: , , , , , , , , and .
Find the minimum spanning tree using Kruskal’s algorithm and determine its total cable length.
[5]Four towns and are connected by roads with the following distances:
Find the minimum spanning tree and its total distance for the original network.
[3]A new road is built. Determine the new minimum spanning tree and its total distance.
[3]Use Prim’s algorithm to find a minimum spanning tree for the network with nodes and and weighted edges: , , , , , , .
Start the algorithm at node . List the edges in the order added and give the total weight.
[5]Five villages and are connected by the roads: , , , , , , and . A spanning tree for this network uses edges and .
If road is closed, determine which replacement road should be used to reconnect the villages into a spanning tree with the minimum possible total weight, and calculate the new total length.
[4]Six cities and must be connected by telecommunication links. The costs (in units) of possible links are: , , , , , , , , .
Determine the minimum spanning tree and its total cost.
[4]Seven power stations A through G must be interconnected. The possible line costs (in units) are: .
Find the minimum spanning tree and its total cost.
[4]The question asks to find the minimum spanning tree (MST) of a weighted graph representing mountain towns and roads using an algorithm such as Kruskal's or Prim's, and to calculate the total weight of the MST.
Five mountain towns numbered 1 to 5 need roads. The difficulty ratings for roads are: , , , , , , . Find the minimum spanning tree that minimizes total difficulty and state its difficulty sum.
[4]Six computer labs A, B, C, D, E and F require cable connections. Possible cable lengths (m) are: , , , , , , , , .
Find the minimum spanning tree and its total cable length.
[5]Starting from warehouse , use Prim’s algorithm to connect six warehouses and with minimum total distance. The distances (in km) are: .
List the edges as they are added and give the total distance.
[6]Five sensors and in a wireless network must be connected. The energy costs for links are: , , , , , , .
Determine the minimum spanning tree and its total energy cost.
[4]Six oil wells, labelled 1 to 6, require a pipeline network. The potential pipe lengths (in km) between the wells are as follows:
; ; ; ; ; ; ; ;
Determine the minimum spanning tree and calculate its total length.
[4]Five villages and need to be connected by roads. The lengths (in km) of possible roads are: , , , , , , , .
Determine the minimum spanning tree and its total length.
[4]