
Quiz on Warshall’s Algorithm

Quiz
•
Computers
•
University
•
Medium
DURAI S
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
time and space complexity

Quiz
•
University
10 questions
ADA Module-3 Quiz 2025

Quiz
•
University
15 questions
Routing Algorithms

Quiz
•
University
10 questions
CSS TECH TRIVIA - MEDIUM LEVEL

Quiz
•
University
14 questions
Traveling Salesman Quiz - Batch 1

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
5 questions
Algorithm analysis: Dynamic Programming

Quiz
•
University
10 questions
Basics of Computers

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade