Minimum spanning trees Quiz
Studying this course? Keep your progress in one place.
Pick an answer for each. Quizzes never use energy.
5 questions, one answer each
Each answer is checked as you go, with why.
See all 5 questions
1. A network has 8 vertices. How many arcs are in a spanning tree?
- A.
- B.
- C.
- D.
2. Kruskal's algorithm considers an arc whose ends are already joined by arcs chosen earlier. What should you do?
- A. Accept it
- B. Restart with a different vertex
- C. Reject the next arc instead
- D. Reject it
3. Prim's algorithm has built a tree on . Which arc can be chosen next?
- A. Any unused arc in the network
- B. The smallest arc overall
- C. The smallest arc joining to another vertex
- D. The largest arc from
4. The arcs of a tree are , , and . What is the total weight?
- A.
- B.
- C.
- D.
5. A matrix has the first row , 5, 9, 2. What does the entry show?
- A. An arc between the first and second vertices of weight
- B. An arc between the first and third vertices of weight
- C. The total weight of the tree
- D. The number of arcs