Let be an undirected graph, which is a path on vertices. The number of matchings in is ________. (answer in integer)
GATE CSE · Engineering Mathematics
Generate GATE-level questions covering graph terminology (vertices, edges, degree), types of graphs (complete, bipartite, regular, planar), graph traversals (BFS, DFS), spanning trees (MST via Kruskal/Prim), shortest paths (Dijkstra, Bellman-Ford), Eulerian/Hamiltonian paths, graph coloring, and matching.
115 questions · 20 PYQs · 0 AI practice · GATE CSE 2027
🎯 These are sample questions
Just sign in to unlock everything. Free for all students.
Let be an undirected graph, which is a path on vertices. The number of matchings in is ________. (answer in integer)
An undirected, unweighted, simple graph is said to be -colorable if there exists a function such that for every . Which of the following statements about -colorable graphs is/are true?
Let be a simple, undirected graph. A vertex cover of is a subset such that for every or . Let the size of the smallest vertex cover in be . Let be any vertex cover of size . For a vertex , which of the following constraints will always ensure that ?
The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. Let be any graph with vertices and chromatic number . Which of the following statements is/are always TRUE?
The number of edges present in the forest generated by the DFS traversal of an undirected graph with 100 vertices is 40 . The number of connected components in is ____
Let be a directed graph and a depth first search (DFS) spanning tree in that is rooted at a vertex . Suppose is also a breadth first search (BFS) tree in , rooted at . Which of the following statements is/are TRUE for every such graph and tree ?
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 _______

Let be the adjacency matrix of a simple undirected graph . Suppose is its own inverse. Which one of the following statements is always TRUE?
Let be a simple, finite, undirected graph with vertex set . Let denote the maximum degree of and let denote the set of all possible colors. Color the vertices of using the following greedy strategy: for Which of the following statements is/are TRUE?
Consider a simple undirected graph of 10 vertices. If the graph is disconnected, then the maximum number of edges it can have is .
Consider a simple undirected unweighted graph with at least three vertices. If is the adjacency matrix of the graph, then the number of 3-cycles in the graph is given by the trace of
The following simple undirected graph is referred to as the Peterson graph. Which of the following statements is/are TRUE?

Which of the properties hold for the adjacency matrix of a simple undirected unweighted graph having vertices?
Consider the following directed graph: Which of the following is/are correct about the graph?

In a directed acyclic graph with a source vertex s, the quality-score of a directed path is defined to be the product of the weights of the edges on the path. Further, for a vertex v other than s, the quality-score of v is defined to be the maximum among the quality-scores of all the paths from s to v. The quality-score of s is assumed to be 1. The sum of the quality-scores of all vertices on the graph shown above is ______

An articulation point in a connected graph is a vertex such that removing the vertex and its incident edges disconnects the graph into two or more connected components. Let T be a DFS tree obtained by doing DFS in a connected undirected graph G. Which of the following options is/are correct?
G is an undirected graph with vertex set {v1, v2, v3, v4, v5, v6, v7} and edge set {v1v2, v1v3, v1v4 ,v2v4, v2v5, v3v4, v4v5, v4v6, v5v6, v6v7 }. A breadth first search of the graph is performed with v1 as the root node. Which of the following is a tree edge?
Graph G is obtained by adding vertex s to and making s adjacent to every vertex of . The minimum number of colours required to edge-colour G is _______
Let G be an undirected complete graph on n vertices, where n > 2. Then, the number of different Hamiltonian cycles in G is equal to
Let G be an undirected complete graph on n vertices, where n 2. Then, the number of different Hamiltonian cycles in G is equal to
Want unlimited AI-generated Graph Theory questions?
Sign up free and practice with adaptive difficulty — Easy, Medium, Hard. New questions every session.
Start practising for free →