Question 4Medium
In any graph, the sum of the degrees of all vertices equals
- The number of edges
- The number of vertices
- Twice the number of edges
- Half of the number of edges
Answer: C. Twice the number of edges
Explanation
The handshaking lemma: sum of degrees = 2E. So the number of odd-degree vertices is even.
Step-by-step solution
- The handshaking lemma: sum of degrees = 2E.
- So the number of odd-degree vertices is even.
- So the answer is: Twice the number of edges.
Why the other options are wrong
- A. Each edge adds 2 to the degree sum.
- B. Vertices count is a different quantity.
- D. Half would be too small.
Question 10Hard
A connected graph has an Euler circuit if and only if
- Every vertex has even degree
- Every vertex has odd degree
- It has exactly two odd vertices
- It has no cycles
Answer: A. Every vertex has even degree
Explanation
An Euler circuit uses every edge once and returns. It needs all even degrees.
Step-by-step solution
- An Euler circuit uses every edge once and returns.
- It needs all even degrees.
- So the answer is: Every vertex has even degree.
Why the other options are wrong
- B. Odd degrees everywhere is not required.
- C. Two odd vertices gives an Euler path.
- D. Trees have no circuit.