A simple graph has 7 vertices with degrees 4, 4, 3, 3, 2, 1, 1. How many edges |E| does it have?
Graph theory worksheet with answers
1.Easy
deg: 4, 4, 3, 3, 2, 1, 1
|E| =
2.Easy
A tree has 12 edges. How many vertices |V| does it have?
|E| = 12
|V| =
3.Medium
How many different Hamilton circuits H does the complete graph K6 have? Circuits that differ only in the starting vertex or the direction count as the same.
K6
H =
4.Medium
A connected graph has 15 vertices and 21 edges. How many edges k must be removed to leave a spanning tree?
|V| = 15|E| = 21
k =
5.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) =
6.Hard
Kruskal’s algorithm builds a minimum spanning tree. Click the edge it adds as edge number 3; skipped edges do not count.
k = 3
- 1edge AB
- 2edge AC
- 3edge BD
- 4edge DE
- 5edge DF
- 6edge EF
- 7edge GB
- 8edge GC
- 9edge GD
- 10edge GE
Answer key
- 1. |E| = 9
- 2. |V| = 13
- 3. H = 60
- 4. k = 7
- 5. d(F) = 15
- 6. edge EF
Full step-by-step solutions: practise this topic on examproblems.com.