Gate
Exam
Which of the following statements is/are TRUE for undirected graphs?
P: Number of odd degree vertices is even. Q: Sum of degrees of all vertices is even.
Option
(A) P only
(B) Q only
(C) Both P and Q
(D) Neither P nor Q
Read Solution (Total 2)
-
- draw sample undirected graph and check (A)only follows
- 10 years agoHelpfull: Yes(0) No(0)
- Answer (C)
Q is true: Since the graph is undirected, every edge increases the sum of degrees by 2.
P is true: If we consider sum of degrees and subtract all even degrees, we get an even number (because Q is true). So total number of odd degree vertices must be even. - 8 years agoHelpfull: Yes(0) No(0)
Gate Other Question