Graph and Tree Traversal

Graph and Tree Traversal

15 Qs

quiz-placeholder

Similar activities

American Revolution Chapter 3: Trouble Begins

American Revolution Chapter 3: Trouble Begins

5th Grade

15 Qs

04/18 - Warm up

04/18 - Warm up

6th - 8th Grade

20 Qs

Holiday Movie Trivia

Holiday Movie Trivia

Professional Development

20 Qs

Quarter 3 PSSA Review

Quarter 3 PSSA Review

KG - University

18 Qs

Echo and Narcissus

Echo and Narcissus

KG - University

12 Qs

Classwork 10/23

Classwork 10/23

KG - University

11 Qs

Symbiosis Quiz

Symbiosis Quiz

KG - University

19 Qs

Compression: Crash Course Computer Science #21

Compression: Crash Course Computer Science #21

9th - 12th Grade

10 Qs

Graph and Tree Traversal

Graph and Tree Traversal

Assessment

Quiz

others

Medium

Created by

Mark Gadsby

Used 20+ times

FREE Resource

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

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?