
Quiz on Search Algorithms
Authored by Kanchan Taksale
Information Technology (IT)
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data structure is used in BFS?
Stack
Queue
Linked List
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true for BFS?
It uses LIFO structure
It may not find the shortest path
It explores all nodes at one depth before moving to the next
It is faster than DFS
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
BFS is optimal when:
All actions have the same cost
Graph has cycles
Goal node is far
Nodes have variable cost
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
BFS is a type of:
Informed search
Blind search
Heuristic search
Local search
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal guarantees the shortest path in unweighted graphs?
DFS
A*
UCS
BFS
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data structure is used in DFS?
Queue
Stack
Heap
Array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
DFS is not guaranteed to find the optimal path because:
It is incomplete
It explores the deepest path first
It uses heuristics
It doesn’t store visited nodes
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?