Questions: Trees and Spanning Trees

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A graph has 7 vertices and 6 edges. Is it necessarily a tree?

AYes — any graph on n vertices with exactly n−1 edges is always a tree
BNo — it could be disconnected and contain cycles, satisfying neither tree condition
CNo — a tree on 7 vertices requires exactly 7 edges
DNo — only graphs with n+1 edges can be connected
Question 2 Multiple Choice

A connected graph G has 8 vertices and many edges. You build a spanning tree of G. How many edges does the spanning tree have?

AIt depends on which edges are in G
B7 edges, regardless of G's structure
C8 edges, one per vertex
DIt depends on which spanning tree algorithm is used
Question 3 True / False

Removing any single edge from a tree always disconnects it.

TTrue
FFalse
Question 4 True / False

A connected graph on n vertices has exactly one spanning tree.

TTrue
FFalse
Question 5 Short Answer

Explain why any two of the three properties — connected, acyclic, has n−1 edges — imply the third for a graph on n vertices.

Think about your answer, then reveal below.