Graph Connectivity Matching and Colouring questions — page 1 of 2

Q47

GATE CS 2026 CS-1Discrete MathematicsMSQ2 marks
Let G(V,E)G(V, E) be a simple, undirected graph. A vertex cover of GG is a subset V′⊆VV' \subseteq V such that for every (u,v)∈E(u, v) \in E, u∈V′u \in V' or v∈V′v \in V'. Let the size of the smallest vertex cover in GG be kk. Let SS be any vertex cover of size kk.

For a vertex v∈Vv \in V, which of the following constraints will always ensure that v∈Sv \in S?
More than one option can be correct.
Show answer without attempting

Answer: A

Q57

GATE CS 2026 CS-1Discrete MathematicsNAT2 marks
Let GG be an undirected graph, which is a path on 8 vertices. The number of matchings in GG is ______. (answer in integer)
Show answer without attempting

Answer: 34

Q8

GATE CS 2026 CS-2Discrete MathematicsMCQ2 marks−2/3 if wrong
Figures (i) and (ii) represent intercity highway systems. The black dots represent cities and the line segments between them represent intercity highways.

A salesperson needs to make a trip. She needs to start from a city, visit each of the remaining cities exactly once, and finally return to the same city from which she started.

Which one of the following options is then true?
Question figure
Show answer without attempting

Answer: A

Q36

GATE CS 2026 CS-2Discrete MathematicsMCQ2 marks−2/3 if wrong
Consider a complete graph KnK_n with nn vertices (n>4n > 4). Note that multiple spanning trees can be constructed over KnK_n. Each of these spanning trees is represented as a set of edges. The Jaccard coefficient between any two sets is defined as the ratio of the size of the intersection of the two sets to the size of the union of the two sets.

Which one of the following options gives the lowest possible value for the Jaccard coefficient between any two spanning trees of KnK_n ?
Show answer without attempting

Answer: C

Q34

GATE CS 2024 CS-1Discrete MathematicsNAT1 mark
The number of spanning trees in a complete graph of 4 vertices labelled A, B, C, and D is _________
Show answer without attempting

Answer: 16

Q51

GATE CS 2024 CS-1Discrete MathematicsMSQ2 marks
The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. Let GG be any graph with nn vertices and chromatic number kk. Which of the following statements is/are always TRUE?
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q51

GATE CS 2024 CS-2Discrete MathematicsMSQ2 marks
Let GG be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in GG has even weight. Which of the following statements is/are TRUE for every such graph GG ?
More than one option can be correct.
Show answer without attempting

Answer: D

Q60

GATE CS 2024 CS-2Discrete MathematicsNAT2 marks
The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. The chromatic number of the following graph is _________
Question figure
Show answer without attempting

Answer: 2

Q55

GATE CS 2023 CSDiscrete MathematicsMSQ2 marks
Let GG be a simple, finite, undirected graph with vertex set {v1,…,vn}\{v_1, \dots, v_n\}. Let Δ(G)\Delta(G) denote the maximum degree of GG and let N={1,2,… }\mathbb{N} = \{1, 2, \dots\} denote the set of all possible colors. Color the vertices of GG using the following greedy strategy:
for i = 1, ..., n
  color(vᵢ) ← min{j ∈ ℕ : no neighbour of vᵢ is colored j}
Which of the following statements is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: A, B

Q30

GATE CS 2022 CSDiscrete MathematicsNAT1 mark
Consider a simple undirected graph of 10 vertices. If the graph is disconnected, then the maximum number of edges it can have is ____________.
Show answer without attempting

Answer: 36

Q37

GATE CS 2022 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
Consider a simple undirected unweighted graph with at least three vertices. If AA is the adjacency matrix of the graph, then the number of 3-cycles in the graph is given by the trace of
Show answer without attempting

Answer: D

Q50

GATE CS 2022 CSDiscrete MathematicsMSQ2 marks
The following simple undirected graph is referred to as the Peterson graph.

Which of the following statements is/are TRUE?
Question figure
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q52

GATE CS 2022 CSDiscrete MathematicsMSQ2 marks
Which of the properties hold for the adjacency matrix AA of a simple undirected unweighted graph having nn vertices?
More than one option can be correct.
Show answer without attempting

Answer: A

Q58

GATE CS 2022 CSDiscrete MathematicsNAT2 marks
Let G(V,E)G(V, E) be a directed graph, where V={1,2,3,4,5}V = \{1, 2, 3, 4, 5\} is the set of vertices and EE is the set of directed edges, as defined by the following adjacency matrix AA.

A[i][j]={1,1≤j≤i≤50,otherwiseA[i][j] = \begin{cases} 1, & 1 \le j \le i \le 5 \\ 0, & \text{otherwise} \end{cases}

A[i][j]=1A[i][j] = 1 indicates a directed edge from node ii to node jj. A directed spanning tree of GG, rooted at r∈Vr \in V, is defined as a subgraph TT of GG such that the undirected version of TT is a tree, and TT contains a directed path from rr to every other vertex in VV. The number of such directed spanning trees rooted at vertex 5 is_____________.
Show answer without attempting

Answer: 24

Q16

GATE CS 2021 CS-1Discrete MathematicsNAT1 mark
In an undirected connected planar graph GG, there are eight vertices and five faces. The number of edges in GG is ______.
Show answer without attempting

Answer: 11

Q36

GATE CS 2021 CS-1Discrete MathematicsMCQ2 marks−2/3 if wrong
Let G=(V,E)G = (V, E) be an undirected unweighted connected graph. The diameter of GG is defined as:
diam(G)=max⁡u,v∈V{the length of shortest path between u and v}\mathrm{diam}(G) = \max_{u, v \in V} \{\text{the length of shortest path between } u \text{ and } v\}
Let MM be the adjacency matrix of GG.
Define graph G2G_2 on the same set of vertices with adjacency matrix NN, where
Nij={1if Mij>0 or Pij>0, where P=M20otherwiseN_{ij} = \begin{cases} 1 & \text{if } M_{ij} > 0 \text{ or } P_{ij} > 0, \text{ where } P = M^2 \\ 0 & \text{otherwise} \end{cases}
Which one of the following statements is true?
Show answer without attempting

Answer: A

Q52

GATE CS 2020 CSDiscrete MathematicsNAT2 marks
Graph GG is obtained by adding vertex ss to K3,4K_{3,4} and making ss adjacent to every vertex of K3,4K_{3,4}. The minimum number of colours required to edge-colour GG is __________.
Show answer without attempting

Answer: 7

Q12

GATE CS 2019 CSDiscrete MathematicsMCQ1 mark−1/3 if wrong
Let GG be an undirected complete graph on nn vertices, where n>2n > 2. Then, the number of different Hamiltonian cycles in GG is equal to
Show answer without attempting

Answer: C OR D

Q43

GATE CS 2018 CSDiscrete MathematicsNAT2 marks
Let GG be a graph with 100!100! vertices, with each vertex labelled by a distinct permutation of the numbers 1,2,…,1001, 2, \dots, 100. There is an edge between vertices uu and vv if and only if the label of uu can be obtained by swapping two adjacent numbers in the label of vv. Let yy denote the degree of a vertex in GG, and zz denote the number of connected components in GG.

Then, y+10z=‾y + 10z = \underline{\quad\quad\quad}.
Show answer without attempting

Answer: 109

0/200 correct0 marks

Related topics in Discrete Mathematics