A tree has 33 edges. How many vertices |V| does it have?
Graph theory worksheet with answers
1.Easy
|E| = 33
|V| =
2.Easy
The adjacency matrix of a simple undirected graph is shown. Find the degree deg(B) of vertex B.
deg(B) =
3.Medium
Does the connected graph have an Euler circuit, an Euler path that is not a circuit, or neither? Click your answer.
|V| = 5|E| = 6
- 1Euler circuit
- 2Euler path, no circuit
- 3neither
4.Medium
A connected graph has 20 vertices and 22 edges. How many edges k must be removed to leave a spanning tree?
|V| = 20|E| = 22
k =
5.Hard
Dijkstra’s algorithm runs from A. Click the vertex that is settled (made permanent) in round 5; A itself is round 1.
start: Around 5
- 1A
- 2B
- 3C
- 4D
- 5E
- 6F
6.Hard
Use Dijkstra’s algorithm to find the length d(F) of the shortest path from A to F in the weighted graph.
start: Aend: F
d(F) =
Answer key
- 1. |V| = 34
- 2. deg(B) = 2
- 3. Euler path, no circuit
- 4. k = 3
- 5. D
- 6. d(F) = 18
Full step-by-step solutions: practise this topic on examproblems.com.