
DSA + System Design - 16

Quiz
•
Computers
•
Professional Development
•
Hard
Puneet Kansal
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following algorithms is most efficient to find the shortest path in a weighted graph with non-negative weights?
Breadth-First Search (BFS)
Depth-First Search (DFS)
Dijkstra's Algorithm
Bellmanford
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of DFS and BFS for traversal of a graph?
O(V + E)
O(V^2)
O(E^2)
O(V)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which data structure is used in the implementation of Prim’s Algorithm for finding the Minimum Spanning Tree?
Stack
Queue
Min-Heap (Priority Queue)
Hash Table
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a connected undirected graph, what is the Maximum number of edges in a spanning tree?
V
V - 1
E
E - 1
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the context of graphs, what does the term "bipartite" mean?
The graph is connected and acyclic
The graph can be colored with two colors without any two adjacent vertices having the same color
The graph contains a cycle
The graph is weighted
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following algorithms is used to find all pairs shortest paths in a graph?
Bellman-Ford Algorithm
Floyd-Warshall Algorithm
Prim’s Algorithm
Dijkstra’s Algorithm
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which algorithm can handle negative weights and negative cycles in a graph while finding single source shortest path?
Dijkstra’s Algorithm
Bellman-Ford Algorithm
Prim’s Algorithm
Floyd-Warshall Algorithm
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Bitcoin

Quiz
•
Professional Development
13 questions
Cybersecurity training - Cryptography 2

Quiz
•
Professional Development
15 questions
Routing and Switching - Fundamentals

Quiz
•
Professional Development
15 questions
Programming - Screening Test

Quiz
•
3rd Grade - Professio...
10 questions
Introduction to Digital Skills CPD Quiz

Quiz
•
Professional Development
15 questions
Artificial Intelligence and Machine Learning Quiz

Quiz
•
Professional Development
11 questions
Enterprise Module 9.3 Queuing Algorithm

Quiz
•
Professional Development
12 questions
Operating Systems

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development