
Quiz on BFS and DFS Algorithms

Quiz
•
Information Technology (IT)
•
University
•
Medium
Kanchan Taksale
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data structure does BFS use?
Stack
Priority Queue
Queue
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main characteristic of uninformed search algorithms?
They use heuristics
They are always optimal
They do not use domain knowledge
They use backtracking
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about BFS?
It always finds the deepest path
It uses LIFO order
It finds the shortest path if all step costs are equal
It never consumes more memory than DFS
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In BFS, nodes are explored in what order?
Alphabetical order
Last-visited first
Deepest node first
Level by level
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which real-world activity best represents BFS?
Solving a maze
Finding an item in a supermarket row-by-row
Navigating deep menu options in a food app
Searching nested folders
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which algorithm uses recursion or a stack?
BFS
Dijkstra
DFS
A*
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In DFS, the search goes as deep as possible before...
Halting
Skipping nodes
Backtracking
Returning an error
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
DATA COM QUIZ

Quiz
•
University
10 questions
Quiz on Switching in Computer Networks

Quiz
•
University
10 questions
AI questions 2

Quiz
•
University
19 questions
Introducción Django

Quiz
•
University
12 questions
Introduction: Fight the Right Battle.

Quiz
•
University
15 questions
Dante Level 2 Pop Quiz - dBs LISO230 Audio Networking

Quiz
•
University
20 questions
Pemahaman Berfikir Komputasional

Quiz
•
9th Grade - University
10 questions
Sequencing Blockly - 2

Quiz
•
7th Grade - University
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 Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University