Back to the full dot-point answer
NSWMaths Standard 2Quick questions
Year 12: Networks
Quick questions on Minimum spanning trees and Prim's algorithm for HSC Maths Standard 2
11short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.
What is spanning tree?Show answer
A spanning tree of a connected graph is a subgraph that:
What is minimum spanning tree (MST)?Show answer
A minimum spanning tree is a spanning tree with the smallest total edge weight among all possible spanning trees of the graph.
What is kruskal's algorithm?Show answer
Kruskal's algorithm sorts all edges and adds them in order, skipping any that create a cycle:
What is which to use?Show answer
The HSC accepts either; show your working clearly so the marker can follow which algorithm you used.
What is cycle check (Kruskal's)?Show answer
An edge creates a cycle if both endpoints are already connected (directly or via existing tree edges). For small graphs you can spot this visually; for larger graphs, keep track of which vertices are in which component as you add edges.
What is kruskal's on the same network?Show answer
Sort all edges by weight: .
What is australian context?Show answer
A regional NSW council wants to lay fibre optic cable connecting small towns. The possible routes follow existing roads with known lengths. Total available routes: edges between the town vertices. The MST gives the minimum total cable needed: edges, total length determined by the specific weights.
What is not checking for cycles in Kruskal's?Show answer
The cheapest unused edge sometimes creates a cycle. Skip those.
What is skipping the work?Show answer
Markers want to see each step: which edge added, which considered and skipped. A bare final tree without working loses marks.
What is wrong total weight?Show answer
Sum all the chosen edge weights at the end.
What is disconnected MST?Show answer
A spanning tree must connect every vertex. If your edges form a forest (disconnected components), you have made a mistake. :::