Search Algorithms Quiz

Search Algorithms Quiz

University

20 Qs

quiz-placeholder

Similar activities

Mastering Data Structures

Mastering Data Structures

University

21 Qs

Tech-fest

Tech-fest

University

20 Qs

Hackharbor 3.0 Day 3:Tech

Hackharbor 3.0 Day 3:Tech

University

18 Qs

SNA Module 2

SNA Module 2

University

15 Qs

INFORMATIKA PSAS GANJIL KELAS 9

INFORMATIKA PSAS GANJIL KELAS 9

9th Grade - University

25 Qs

Examen Estructura de datos 2P

Examen Estructura de datos 2P

University

20 Qs

ACM Tech Weekend Quiz (Sept 20)

ACM Tech Weekend Quiz (Sept 20)

University

20 Qs

DAA 4th Sem

DAA 4th Sem

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?