Skip to content

GATE CS Graphs questions

Practise Graphs 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.

4 on this page
Official PYQ2016Programming and Data StructuresGraphsNAT · 1 mark
Consider the weighted undirected graph with 44 vertices, where the weight of edge {i,j}\{i,j\} is given by the entry WijW_{ij} in the matrix WW. W=[02852058850x58x0]\begin{bmatrix} 0&2 &8 &5 \\ 2&0 &5 &8 \\ 8&5 &0 &x \\ 5& 8 &x &0 \end{bmatrix} The largest possible integer value of xx, for which at least one …
Official PYQ2015Programming and Data StructuresGraphsMCQ · 1 mark
Which one of the following hash functions on integers will distribute keys most uniformly over 1010 buckets numbered 00 to 99 for ii ranging from 00 to 20202020?
Official PYQ2014Programming and Data StructuresGraphsMCQ · 1 mark
Let G=(V,E)G=(V,E) be a directed graph where VV is the set of vertices and EE the set of edges. Then which one of the following graphs has the same strongly connected components as GG ?
Official PYQ1997Programming and Data StructuresGraphsMCQ · 1 mark
Let GG be the graph with 100100 vertices numbered 11 to 100100. Two vertices ii and jj are adjacent if ∣i−j∣=8\vert i-j \vert =8 or ∣i−j∣=12\vert i-j \vert=12. The number of connected components in GG is