Search Algorithms Quiz

Search Algorithms Quiz

University

20 Qs

quiz-placeholder

Similar activities

1970 Indian Patent Act- Quiz 1 by Gururaj Surampalli

1970 Indian Patent Act- Quiz 1 by Gururaj Surampalli

University

15 Qs

Unmanned Aircraft System Quiz

Unmanned Aircraft System Quiz

9th Grade - University

25 Qs

ASD - B

ASD - B

University

20 Qs

Search Algorithms Quiz

Search Algorithms Quiz

Assessment

Quiz

Engineering

University

Hard

Created by

Hitendra Sarma

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used to implement BFS efficiently?

Stack

Queue

Priority Queue

Hash Table

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In DFS, what data structure is typically used for its implementation?

Queue

Stack

Heap

Tree

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

BFS is guaranteed to find the shortest path in:

Weighted graphs

Directed Acyclic Graphs

Unweighted graphs

Trees only

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which search method is not complete?

BFS

DFS (without cycle detection)

Uniform Cost Search

A* Search

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case time complexity of BFS in a graph with branching factor b and depth d?

O(b^d)

O(d^b)

O(b*d)

O(d + b)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which search strategy consumes less memory in most practical applications?

BFS

DFS

Uniform Cost

A*

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is both complete and optimal in unweighted graphs?

DFS

BFS

Greedy Search

Iterative Deepening DFS

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?