
Advanced DataStructures
Authored by Rajalakshmi S
Computers
University
Used 1+ times

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
1 min • 1 pt
What is the primary difference between an adjacency matrix and an adjacency list?
Adjacency matrix is space-efficient for sparse graphs
Adjacency list is faster for checking if two nodes are connected
Adjacency matrix requires O(V^2) space, while adjacency list requires O(|V|+|E|) space
Adjacency list is slower for graph traversal
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What type of graph is required to perform a topological sort?
Directed Cyclic Graph
Undirected Graph
Directed Acyclic Graph
Weighted Graph
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In topological Sort, which vertex is chosen first?
A vertex with highest indegree
A vertex with negative values
Any vertex
A vertex with zero indegree
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity of Topological sort in a graph with V vertex and E edges
O(V^2)
O( |V| + |E| )
O( V log V)
O( E^2)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Dijkstra's Algorithm is used to find the shortest path between
All pair of vertices in a graph
A single source vertex to all other vertices in a graph
All vertices to a single destination vertex in a graph
All edges in a graph
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Dijkstra's algorithm does not work correctly if the graph contains
Positive Edge Weights
Self - Loops
Zero Edge Weights
Negative Edge Weights
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In Dijkstra's Algorithm, What value is assigned to the source vertex at the beginning?
-1
Infinity
0
The maximum weight of the graph
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Introduction to Computing
Quiz
•
University
15 questions
Round 2 Debug-The-Code
Quiz
•
University
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
10 questions
DP-100 Day 2
Quiz
•
University - Professi...
10 questions
DS Quiz1
Quiz
•
University
15 questions
MapleSoft Quiz
Quiz
•
University
10 questions
BIS Week 3 Workshop
Quiz
•
University
10 questions
KS3 Computational Thinking
Quiz
•
KG - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University