GATE Computer ScienceEasyGATE CS (PYQ pattern)
A tree has 3 vertices of degree 4, 2 vertices of degree 3 and every other vertex is a leaf (degree 1). How many vertices does the tree have?
- A. 13
- B. 14
- C. 15
- D. 16
Correct answer: C. 15
Let L be the number of leaves: degree sum 12 + 6 + L = 2(E) = 2(5 + L − 1) gives L = 10, so the tree has 5 + 10 = 15 vertices.
More Discrete Mathematics questions
- The wheel W₉ consists of a hub joined to every vertex of a 9-cycle. What is its chromatic number?
- What is the maximum number of edges in a simple graph on 13 vertices that contains no K₄ (complete graph on 4 vertices)?
- How many Boolean functions of 4 variables are symmetric (their value depends only on how many inputs are 1)?
- Let π = (1 2 3 4)(5 6 7)(8 9) in S₉. Which statement about π is correct?
- T(0) = 1 and T(n) = 2T(n − 1) + n·2ⁿ for n ≥ 1. What is T(10)?
- In how many ways can 4 seats be chosen from 12 seats arranged in a circle so that no two chosen seats are adjacent?