GRAPH ALGORITHMS

GRAPH ALGORITHMS

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Sasikumar 21Cs049

Used 4+ times

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not single source shortest path algorithm

Dijikstra's

Algorithm

Bellman-Ford

Algorithm

Floyd-Warshall

Algorithm

Bidirectional Dijkstra's algorithm

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following algorithms can detect negative weight cycles in a graph?

Dijkstra's algorithm

Bellman-Ford algorithm

Prim's algorithm

Kruskal's algorithm

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following algorithms can find the maximum flow in a flow network?

Dijkstra's algorithm

Bellman-Ford algorithm

Ford-Fulkerson algorithm

Prim's algorithm

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which traversal algorithm can be used to find the connected components of a graph?

Breadth-first search

Depth-first search

Dijkstra's algorithm

Prim's algorithm

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is bi-connectivity in a graph?

When a graph is connected by two disjoint paths

When a graph has a single cycle

When a graph has no articulation points

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The time complexity of Kruskal's algorithm

V^2

O(V)

O(V^2)

O(log V)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a strongly connected component in a directed graph?

A set of vertices that are connected by a single path

A set of vertices that are connected by a cycle

A set of vertices that have a common neighbor

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?