Graph and Tree Traversal

Graph and Tree Traversal

15 Qs

quiz-placeholder

Similar activities

elanif

elanif

1st Grade

17 Qs

 Chapter 10 Coordination (part 1) WEEK 15

Chapter 10 Coordination (part 1) WEEK 15

KG - University

12 Qs

Kwames Magic Quest: Rise of the Green Flame by Bernard Mensah

Kwames Magic Quest: Rise of the Green Flame by Bernard Mensah

KG - University

12 Qs

NLP_6_7

NLP_6_7

KG - University

11 Qs

3 w22 THURSDAY:  Language Review

3 w22 THURSDAY: Language Review

3rd Grade

11 Qs

Quiz on Informed and Uninformed Algorithms-AI-17.02.2025

Quiz on Informed and Uninformed Algorithms-AI-17.02.2025

KG - University

20 Qs

Unit 5 Test Review

Unit 5 Test Review

KG - University

11 Qs

Trees - Data Structures Quiz

Trees - Data Structures Quiz

KG - University

15 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?