1.4.2 Data Structures - Graphs and Trees

1.4.2 Data Structures - Graphs and Trees

12th Grade - University

20 Qs

quiz-placeholder

Similar activities

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

INTRODUCTION TO TREE DATA STRUCTURE

INTRODUCTION TO TREE DATA STRUCTURE

University

20 Qs

DSA - Binary Tree 2-3

DSA - Binary Tree 2-3

University

20 Qs

special exam in BINARY TREE

special exam in BINARY TREE

University

15 Qs

Y13 Graph Traversal

Y13 Graph Traversal

9th Grade - University

16 Qs

Graph Traversal

Graph Traversal

12th Grade

25 Qs

Introduction to Tree Data Structure (TDS)

Introduction to Tree Data Structure (TDS)

University

20 Qs

Data Structures - Tree

Data Structures - Tree

University - Professional Development

20 Qs

1.4.2 Data Structures - Graphs and Trees

1.4.2 Data Structures - Graphs and Trees

Assessment

Quiz

Computers

12th Grade - University

Medium

Created by

Robin Smith

Used 188+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many parent nodes are there?

4

5

6

7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many leaf nodes are there?

4

5

6

7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following is TRUE about this tree?

This tree is a binary tree only

This tree is a binary search tree

This is a non-binary tree

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What traversal gives out the letters in alphabetical order?

In-order traversal

Pre-order traversal

Post-order traversal

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the order of nodes traversed in a pre-order traversal of this tree?

A, B, C, D, E, F, G, H, I, J

E, B, A, C, D, G, F, I, H, J

A, D, C, B, F, H, J, I, G, E

B, A, C, D, G, F, I, H, J, E

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the order of nodes traversed in a post-order traversal of this tree?

A, B, C, D, E, F, G, H, I, J

E, B, A, C, D, G, F, I, H, J

A, D, C, B, F, H, J, I, G, E

B, A, C, D, G, F, I, H, J, E

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Traversing this tree, the arithmetic expression obtained is a×b + c÷d.

What type of traversal was performed?

In-order

Pre-order

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