Search Header Logo

Quiz on Warshall’s Algorithm

Authored by DURAI S

Computers

University

Used 2+ times

Quiz on Warshall’s Algorithm
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Warshall’s Algorithm used for?

Finding the shortest path in a graph

Finding the transitive closure of a graph

Finding the minimum spanning tree

Detecting cycles in a graph

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Warshall’s Algorithm is based on which programming paradigm?

Greedy

Divide and Conquer

Dynamic Programming

Backtracking

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Warshall’s Algorithm is mainly applied to which type of graph?

Weighted Graph

Unweighted Graph

Directed Graph

Undirected Graph

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of Warshall’s Algorithm for a graph with n vertices?

O(n)

O(n^2)

O(n^3)

O(2^n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary operation performed in Warshall’s Algorithm?

Addition

Multiplication

Logical OR and AND operations

Subtraction

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which matrix does Warshall’s Algorithm primarily modify during execution?

Distance matrix

Adjacency matrix

Cost matrix

Incidence matrix

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of Warshall’s Algorithm is represented as:

A spanning tree

A shortest path matrix

A transitive closure matrix

A sorted list of edges

Access all questions and much more by creating a free account

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?

Discover more resources for Computers