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 56–60 of 86
Answer: (C)
A connected graph has an Euler circuit all of its vertices have even degree.
A connected graph has an Euler path exactly 2 of its vertices have odd degree.
A. A -regular graph where is an even number.
A -regular graph is not always connected. Example: the graph given below is a -regular graph, and it is not an Euler graph. This is so because no single walk covers all the edges.
B. The complete graph of vertices.
In such a graph every vertex has an odd degree, which is 89, so it cannot have an Euler path or circuit.
C. In the complement of a cycle on vertices, the degree of every vertex is its degree in the complete graph on vertices minus its degree in the cycle.
Degree in the complement: . Since every degree is even, the graph has an Euler circuit if it is connected.
It is connected. If a graph with vertices has every vertex of degree at least , then it is connected. Proof by contradiction: suppose there are two components. Then the smaller one has at most vertices, so a vertex in it has degree at most . This is less than , which is a contradiction.
Here the degree of each vertex is , which is greater than . So the graph is connected and has an Euler circuit.
D is wrong because C is true.
Answer: (C)
Which of the following is NOT a topological ordering?
Answer: (D)
Method: pick a vertex with indegree , write it down, remove it with its outgoing edges, and repeat.
In the figure the edges are .
Vertex is the only vertex with indegree , so it comes first. After removing it, and both have indegree , so they come next in either order. Then has indegree . After it, and come in either order. So every topological order has the form .
(A) , (B) and (C) all have this form, so they are valid.
(D) puts first, but there is an edge , so must come before . It is not a topological order.
Answer: (D)
Which one of the following statements is TRUE about the graph?
Answer: (D)
Look at the discovery and finish intervals : , , .
's interval lies inside 's interval. So was found while was still being explored, which means is a descendant of and the two are connected.
is found at time , after has finished at time . In an undirected graph, if were joined to or , it would have been found before and finished. So is in a different component. The figure shows a graph that fits these times, with and joined and apart; the triangle joining all three cannot give these times.
So there are two connected components, and and are connected.
Answer: (D)
Answer: (B)
Big component: the cycle P to Q to V to T to S to P contains P, Q, V, T and S. The cycle P to R to S to P adds R. So P, Q, R, S, T and V all reach each other and form one strongly connected component.
U: U has no outgoing edge, so it cannot reach anything. It is a component by itself.
So the components are {P, Q, R, S, T, V} and {U}. Option C is wrong because it leaves R out, but R is on the cycle P to R to S to P. Option A is wrong because T and V are on a cycle with P, Q and S. Option D is wrong because U cannot reach the others.
Answer: (B)
Answer: (C)
Chromatic number: each edge flips one bit, so it changes the number of 1s by exactly one, and the parity of the number of 1s changes. Colour the strings with an even number of 1s with colour 1 and the others with colour 2. Every edge joins different colours. There is at least one edge, so one colour is not enough. The chromatic number is 2.
Diameter: the shortest path between two strings has length equal to the number of positions where they differ. The most different pair is 00...0 and 11...1, which differ in all n positions. So the diameter is n.
Ratio .
Answer: (C)
Keep practising