Graph Theory · Discrete Mathematics
86 questions · asked in 25 of 27 years (2000–2026)
MCQ 59 · MSQ 9 · NAT 181-mark 55 · 2-mark 31
Questions 81–85 of 86
Answer: (B)
Answer:
Answer: (D)
even: two colors are enough, by alternating them around the cycle.
odd: two colors alternate , so the last node gets the same color as the first node, but they are adjacent. So colors fail. Three colors work: color the first nodes alternately with two colors and the last node with the third color.
So the chromatic number is if is even and if is odd.
Read in option (D) as the floor of :
even: .
odd: .
So (D) matches both cases. Options (A), (B) and (C) are single numbers, so each is wrong for at least one parity of .
Answer: (D)
Answer: (D)
Correct Answer:
Answer: (B)
If is visited before , there are two cases:
1. is on an earlier level, so .
2. and are on the same level and came first in the queue, so .
Together, .
(A) is wrong because equality can happen, for example two neighbours of . (C) is wrong because a vertex on a later level is never visited before one on an earlier level.
Answer: (B)
Answer: (C)
Take the tree in the figure as the graph (edges read as undirected). One DFS from visits G, E, B, D, F, K, M, R. Here and the next new vertex is .
(A), (B): D and F are not joined by an edge, so need not be an edge.
(D): the parent of D is B and the parent of F is E, so they need not share a parent.
(C): suppose is not an edge. When DFS is at , if had any unvisited neighbour, DFS would go to one of them next, and that neighbour would be the next new vertex . Then would be an edge. Since it is not, had no unvisited neighbour, so DFS gave no child. So is a leaf of .
Keep practising