A simple graph has 6 vertices with degrees 4, 2, 2, 2, 1, 1. How many edges |E| does it have?
Graph theory worksheet with answers
1.Easy
deg: 4, 2, 2, 2, 1, 1
|E| =
2.Easy
A tree has 28 vertices. How many edges |E| does it have?
|V| = 28
|E| =
3.Medium
How many different Hamilton circuits H does the complete graph K4 have? Circuits that differ only in the starting vertex or the direction count as the same.
K4
H =
4.Medium
Does the connected graph have an Euler circuit, an Euler path that is not a circuit, or neither? Click your answer.
|V| = 6|E| = 6
- 1Euler circuit
- 2Euler path, no circuit
- 3neither
5.Hard
Kruskal’s algorithm builds a minimum spanning tree. Click the edge it adds as edge number 4; skipped edges do not count.
k = 4
- 1edge AB
- 2edge AC
- 3edge BC
- 4edge CE
- 5edge DE
- 6edge DF
- 7edge EF
- 8edge BE
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. |E| = 6
- 2. |E| = 27
- 3. H = 3
- 4. neither
- 5. edge BE
- 6. d(F) = 21
Full step-by-step solutions: practise this topic on examproblems.com.