Search Header Logo

2.3.1 Graph Traversal & Path Finding Algorithms

Authored by Robin Smith

Computers

12th Grade - University

Used 46+ times

2.3.1 Graph Traversal & Path Finding Algorithms
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Media Image

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

Media Image

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

Media Image

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]

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?