Graph and Tree Traversal

Graph and Tree Traversal

15 Qs

quiz-placeholder

Similar activities

PLANTS

PLANTS

KG - University

17 Qs

Review of Nervous, Respiratory & Circulatory systems 3-28-25

Review of Nervous, Respiratory & Circulatory systems 3-28-25

7th Grade

18 Qs

Pax Chapters 28, 29, 30

Pax Chapters 28, 29, 30

KG - University

20 Qs

Tuck Everlasting Chapter One

Tuck Everlasting Chapter One

5th Grade

12 Qs

Ecosystem and Energy Flow Quiz

Ecosystem and Energy Flow Quiz

4th Grade

10 Qs

Ag Mech 1- 1.02 Review

Ag Mech 1- 1.02 Review

KG - University

20 Qs

Spelling Test Unit 15

Spelling Test Unit 15

KG - University

20 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?