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 46–50 of 86
Answer: (C)
A tree with n vertices has n 1 edges, so . If is the same for both trees, they have the same number of vertices.
Answer: |S| = |T|
Answer: (B)
There are vertices but only possible degree values, so by the pigeonhole principle at least two vertices have the same degree.
The other options are not always true: the path on 4 vertices has degrees 1, 2, 2, 1, so no 3 vertices share a degree, which rules out (C). The path on 3 vertices has degrees 1, 2, 1, which rules out (D). (A) is false because of the pigeonhole argument.
Answer: (B)
Answer: (A)
The graph is connected and has vertices, so it has at least one edge. Its two end points need different colours, so 1 colour is not enough.
So the chromatic number is exactly 2. Options C and D are the values for graphs that contain odd cycles, such as the complete graph on n vertices (chromatic number n).
Answer: (A)
1.a b e f d g c
2.a b e f c g d
3.a d g e b c f
4.a d b c g e f
A Depth First Search (DFS) is started at node a. The nodes are listed in the order they are first visited. Which of the above is/are possible output(s)?
Answer: (B)
1. a b e f d g c: after f, its unvisited neighbours are c and g, but d is not a neighbour of f. Not a DFS.
2. a b e f c g d: a-b, b-e and e-f are edges. After f, c is an unvisited neighbour. At c, all neighbours (b, e, f) are visited, so DFS goes back to f and then goes to its unvisited neighbour g. From g it goes to d. Valid.
3. a d g e b c f: a-d, d-g, g-e, e-b, b-c and c-f are all edges, and each next vertex is an unvisited neighbour of the previous one. Valid.
4. a d b c g e f: after c, its unvisited neighbours are e and f, but g is not a neighbour of c. Not a DFS.
Only 2 and 3 are possible outputs.
Answer: (B)
Answer: (D)
In a simple undirected graph, the sum of all vertex degrees is even, because each edge adds to the total degree. So the count of odd degree vertices must be even. If it were odd, their sum would be odd, and the total degree would be odd too.
Now one new vertex is joined to all these odd degree vertices, and their number is even. So the degree of is even as well. Also, every vertex joined to gets its degree raised by . So the vertices that had odd degree before now have even degree.
Now every vertex in the graph has even degree. This is the necessary and sufficient condition for an Euler graph. So (D) is correct.
Keep practising