Vidyalelo
Data Structure · all questions

Graph Algorithms (DFS, BFS, Dijkstras, etc)
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

167

Questions

5/9

Page

Pick an option on a question to see the right answer and solution.

Bellmann Ford algorithm is used to indicate whether the graph has negative weight cycles or not.

Select an option to see the answer and solution.

Which of the following is not an application of Breadth First Search?

Select an option to see the answer and solution.

Choose the correct statement from the following.

Select an option to see the answer and solution.

Which is the correct technique for finding a maximum matching in a graph?

Select an option to see the answer and solution.

Which type of best first search algorithm was used to predict the closeness of the end of path and its solution?

Select an option to see the answer and solution.

In the given graph, identify the shortest path having minimum cost to reach vertex E if A is the source vertex.
Graph Algorithms (DFS, BFS, Dijkstras, etc) mcq question image

Select an option to see the answer and solution.

Which of the following is not an application of Depth First Search?

Select an option to see the answer and solution.

The Data structure used in standard implementation of Breadth First Search is?

Select an option to see the answer and solution.

Floyd Warshall Algorithm can be used for finding . . . . . . . .

Select an option to see the answer and solution.

Consider the following graph. Using Kruskal's algorithm, which edge will be selected first?
Graph Algorithms (DFS, BFS, Dijkstras, etc) mcq question image

Select an option to see the answer and solution.

Dijkstra's Algorithm is used to solve . . . . . . . . problems.

Select an option to see the answer and solution.

What will be the result of depth first traversal in the following tree?
Graph Algorithms (DFS, BFS, Dijkstras, etc) mcq question image

Select an option to see the answer and solution.

Which data structure is used for implementing a LIFO branch and bound strategy?

Select an option to see the answer and solution.

In the given graph, what is the minimum cost to travel from vertex 1 to vertex 3?
Graph Algorithms (DFS, BFS, Dijkstras, etc) mcq question image

Select an option to see the answer and solution.

What is the space complexity of standard DFS(V: no. of vertices E: no. of edges)?

Select an option to see the answer and solution.

A person wants to visit some places. He starts from a vertex and then wants to visit every place connected to this vertex and so on. What algorithm he should use?

Select an option to see the answer and solution.

How many solution/solutions are available for a graph having negative weight cycle?

Select an option to see the answer and solution.

Kruskal's algorithm is used to . . . . . . . .

Select an option to see the answer and solution.

Both LIFO branch and bound strategy and backtracking leads to depth first search.

Select an option to see the answer and solution.

Which of the following is false about the Kruskal's algorithm?

Select an option to see the answer and solution.