Skip to content

Paper II · Unit 7: Data Structures and Algorithms

Graph Algorithms

Graph Algorithms is a topic inside Unit 7 (Data Structures and Algorithms) of UGC NET Computer Science and Applications, Paper II (code 87). GateIQ has published 30 questions classified under this topic — 11.6% of everything recorded in this unit, and 30 of them carry a written solution.

What this topic covers

Breadth-First Search, Depth-First Search, Shortest Paths, Maximum Flow, Minimum Spanning Trees

Syllabus wording above is the official heading for this topic; the question counts are GateIQ’s own classification of its published archive.

Try Graph Algorithms PYQs free

Attempt the 5 most recent published questions on this topic right here, with the published answer and explanation after each check. No account is needed and nothing is saved. Practice tracking and analytics are part of UGC IQ.

0 of 5 checked
  1. 1Previous year question

    Consider the following graph :

    Graph


    For the graph; the following sequences of depth first search (DFS) are given

    1. abcghf\text{abcghf}
    2. abfchg\text{abfchg}
    3. abfhgc\text{abfhgc}
    4. afghbc\text{afghbc}

    Which of the following is correct?

    Choose an option to check it.
  2. 2Previous year question

    Consider the undirected graph below:

    Using Prim’s algorithm to construct a minimum spanning tree starting with node aa, which one of the following sequences of edges represents a possible order in which the edges would be added to construct the minimum spanning tree?

    Choose an option to check it.
  3. 3Previous year question

    Match list I\text{list I} with List II\text{List II}

    List IList II(A)Topological sort of DAG(I)O(V+E)(B)Kruskal’s MST algorithm(II)O(VE)(C)Bellman-Ford’s single-source shortest(III)θ(V+E)path algorithm(D)Floyd-Warshall’s all pair shortest(IV)θ(V3)path algorithm\begin{array}{llll} & \text{List I} && \text{List II} \\ (A) & \text{Topological sort of DAG} & (I) & O(V+E) \\ (B) & \text{Kruskal’s MST algorithm} & (II) & O(VE) \\ (C) & \text{Bellman-Ford’s single-source shortest} & (III) & \theta (V+E) \\ & \text{path algorithm} \\ (D) & \text{Floyd-Warshall’s all pair shortest} & (IV) & \theta (V^3) \\ & \text{path algorithm} \end{array}

    Choose the correct answer from the options given below:

    Choose an option to check it.
  4. 4Previous year question

    Let GG be a simple undirected graph, TDT_D be a DFS tree on GG, and TBT_B be the BFS tree on GG. Consider the following statements.

    Statement II: No edge of GG is a cross with respect to TDT_D

    Statement IIII: For every edge (u,v)(u,v) of GG, if uu is at depth ii and vv is at depth jj in TBT_B then ∣i−j∣=1\mid i-j \mid =1

    In the light of the above statements, choose the correct answer from the options given below

    Choose an option to check it.
  5. 5Previous year question

    The weight of minimum spanning tree in graph GG, calculated using Kruskal’s algorithm is:

    Graph

    Choose an option to check it.

25 more questions on Graph Algorithms

These 5 are free to try without an account. The rest of the published questions on Graph Algorithms are part of UGC IQ: see what it includes, or create an account to get started.

Graph Algorithms: questions people ask

How many UGC NET Computer Science questions are asked on Graph Algorithms?

GateIQ has published 30 UGC NET Computer Science previous year questions on Graph Algorithms, and 30 of them carry a written solution. That is 11.6% of the questions in Unit 7, Data Structures and Algorithms.

Which unit of UGC NET Computer Science Paper 2 is Graph Algorithms in?

Graph Algorithms is a topic of Unit 7, Data Structures and Algorithms, in Paper II (Computer Science and Applications, code 87).

Can I practise Graph Algorithms PYQs for free?

Yes. The 5 most recent published questions on this topic are free on this page with no signup, and each shows the published answer with its explanation. The full archive, practice tracking and analytics are part of UGC IQ.

Related topics in Unit 7

Full syllabus · Paper II overview