
Breadth First Search Quiz

Quiz
•
Computers
•
University
•
Hard
PAUL FENOGLIO
Used 8+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used in breadth first search?
Queue
Stack
Array
Heap
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the traversal algorithm used in breadth first search?
queue
stack
linked list
heap
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of breadth first search?
To find the shortest path between two vertices.
To explore all the vertices of a graph or tree in breadth-first order.
To find the maximum flow in a network.
To sort the vertices of a graph in ascending order.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of graph is used in breadth first search?
Undirected graph
Cyclic graph
Weighted graph
Directed graph
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of breadth first search?
O(V)
O(E)
O(V + E)
O(V * E)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In breadth first search, which vertex is visited first?
Starting vertex or root vertex
Random vertex
Middle vertex
Last vertex
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a step in breadth first search?
C
B
D
A
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
DATA STRUCTURES

Quiz
•
University
16 questions
Y13 Graph Traversal

Quiz
•
9th Grade - University
15 questions
Data Structure

Quiz
•
University
20 questions
Data Structures Quiz

Quiz
•
University
20 questions
Data Structures and Algorithm

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
13 questions
Graph Traversal Algorithms Quiz

Quiz
•
12th Grade - University
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - 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