Search Header Logo

Graph and Tree Traversal

Authored by Mark Gadsby

others

Used 22+ times

Graph and Tree Traversal
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is shown in this diagram

Rooted Tree
Simple Graph
Weighted Graph
Tree

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Is the statement "an in-order traversal always visits the nodes in ascending order" true or false?

True
False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

A traversal method that explores as far as possible along each branch before backtracking

Breadth First Traversal

Standard Traversal

Depth First Traversal

Branch Traversal

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

A traversal that explores nodes closest to the start node before exploring nodes further away

Breadth First Traversal
Standard Traversal
Depth First Traversal
Branch Traversal

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Which data structure is typically used to keep track of the nodes to visit in a BFS

Array

Stack

Queue

Linked List

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Traversing a tree by visiting the root, traversing the left sub-tree, then the right sub-tree.

In-Order
Pre-Order
Post-Order
Special-Order

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Traversing a tree by traversing the left sub-tree, visiting the root, then the right sub-tree.

In-Order
Pre-Order
Post-Order
Special-Order

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?