Skip to content

GATE CS Graphs: Connectivity, Matching, Colouring questions

Practise Graphs: Connectivity, Matching, Colouring questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2026Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 2 marks
Let G(V,E)G(V, E) be a simple, undirected graph. A vertex cover of GG is a subset V′⊆VV^{\prime} \subseteq V such that for every (u,v)∈E,u∈V′(u, v) \in E, u \in V^{\prime} or v∈V′v \in V^{\prime}. 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 …
Official PYQ2026Engineering MathematicsGraphs: Connectivity, Matching, ColouringMSQ · 2 marks
An undirected, unweighted, simple graph G(V,E)G(V, E) is said to be 22-colorable if there exists a function c:V→{0,1}c: V \rightarrow\{0,1\} such that for every (u,v)∈E,c(u)≠c(v)(u, v) \in E, c(u) \neq c(v). Which of the following statements about 22-colorable graphs is/are true?
Official PYQ2026Engineering MathematicsGraphs: Connectivity, Matching, ColouringNAT · 2 marks
Let GG be an undirected graph, which is a path on 88 vertices. The number of matchings in GG is ____\_\_\_\_. (answer in integer)
Official PYQ2026Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 2 marks
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 …
Official PYQ2024Engineering MathematicsGraphs: Connectivity, Matching, ColouringNAT · 1 mark
The number of spanning trees in a complete graph of 44 vertices labelled A, B, C,\text{A, B, C,} and D\text{D} is _________.
Official PYQ2024Engineering MathematicsGraphs: Connectivity, Matching, ColouringMSQ · 2 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?
Official PYQ2024Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 1 mark
​​​​Let A\text{A} be the adjacency matrix of a simple undirected graph G\text{G}. Suppose A\text{A} is its own inverse. Which one of the following statements is always TRUE?
Official PYQ2024Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 2 marks
Let G\text{G} be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in G\text{G} has even weight. Which of the following statements is/are TRUE for every such graph G\text{G}?
Official PYQ2024Engineering MathematicsGraphs: Connectivity, Matching, ColouringNAT · 2 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 __________.
Official PYQ2023Engineering MathematicsGraphs: Connectivity, Matching, ColouringMSQ · 2 marks
Let GG be a simple, finite, undirected graph with vertex set {v1,…,vn}\left\{v_{1}, \ldots, v_{n}\right\}. Let Δ(G)\Delta(G) denote the maximum degree of GG and let N={1,2,…}\mathbb{N}=\{1,2, \ldots\} denote the set of all possible colors. Color the vertices of GG using the following greedy strategy: for i=1,…,ni=1, \ldots, n …
Official PYQ2022Engineering MathematicsGraphs: Connectivity, Matching, ColouringNAT · 1 mark
Consider a simple undirected graph of 1010 vertices. If the graph is disconnected, then the maximum number of edges it can have is _______________ .
Official PYQ2022Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 2 marks
Consider a simple undirected unweighted graph with at least three vertices. If A\textit{A} is the adjacency matrix of the graph, then the number of 3–3–cycles in the graph is given by the trace of
Official PYQ2022Engineering MathematicsGraphs: Connectivity, Matching, ColouringMSQ · 2 marks
The following simple undirected graph is referred to as the Peterson graph. Which of the following statements is/are TRUE?\text{TRUE}? The size of the largest independent set of the given graph is 3.3. (A subset of vertices of a graph form an independent set if no two vertices of the subset are adjacent.)
Official PYQ2022Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 2 marks
Which of the properties hold for the adjacency matrix AA of a simple undirected unweighted graph having nn vertices?
Official PYQ2021Engineering MathematicsGraphs: Connectivity, Matching, ColouringNAT · 1 mark
In an undirected connected planar graph GG, there are eight vertices and five faces. The number of edges in GG is _________.
Official PYQ2021Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 2 marks
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}\text{diam}(G)=\displaystyle \max_{u,v\in V} \{\text{the length of shortest path between $u$ 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 …
Official PYQ2020Engineering MathematicsGraphs: Connectivity, Matching, ColouringNAT · 2 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 _______
Official PYQ2019Engineering MathematicsGraphs: Connectivity, Matching, ColouringMSQ · 1 mark
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
Official PYQ2019Engineering MathematicsGraphs: Connectivity, Matching, ColouringMCQ · 2 marks
Let GG be any connected, weighted, undirected graph. GG has a unique minimum spanning tree, if no two edges of GG have the same weight. GG has a unique minimum spanning tree, if, for every cut of GG, there is a unique minimum-weight edge crossing the cut. Which of the following statements is/are TRUE?
Official PYQ2018Engineering MathematicsGraphs: Connectivity, Matching, ColouringNAT · 1 mark
The chromatic number of the following graph is _____