2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
Computers
•
12th Grade - University
•
Hard
Robin Smith
Used 46+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What supporting data structure is used for traversing a graph based on the depth-first traversal technique?
Stack
Queue
Circular Queue
2D Array
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What supporting data structure is used for traversing a graph based on the breadth-first traversal technique?
Stack
Queue
Circular Queue
2D Array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Depth-first traversal is equivalent to which of the following traversal of trees?
Pre-order
Post-order
In-order
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An approach to problem-solving in which different sequences are considered until the best suitable solution is found is called
Traversal
Heuristics
Backtracking
Data Mining
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If visitedNodes = [A], what is the value of visitedNodes in the next step?
visitedNodes = [B]
visitedNodes = [B, C]
visitedNodes = [B, C, D]
visitedNodes = [A, B]
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
If node C has been visited in the current step, what is the value of visitedNodes?
Select All That Apply.
visitedNodes = [A, B, E, I, C]
visitedNodes = [A, B, E, I, F, C]
visitedNodes = [A, B, E, I, F, J, G, C]
visitedNodes = [A, B, E, I, F, J, D, C]
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If node D is visited in the current step, what is the value of the supporting data structure?
[A]
[A, B, C]
[A, B, C, D]
[D, B, C, A]
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
FUNDAMENTALS OF ALGORITHMS - UNIT II

Quiz
•
University
15 questions
Week 11 Networks and Routing

Quiz
•
10th Grade - Professi...
19 questions
L7 Tree Data Structures Quiz

Quiz
•
University
25 questions
Aptitude Competition(SY)

Quiz
•
University
20 questions
CDC_V2

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
20 questions
Data Structures and Algorithms Quiz

Quiz
•
University
20 questions
COMP 210 - Help for MDTM 2

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade