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

Excel Quiz

Excel Quiz

KG - University

15 Qs

Data structure test1

Data structure test1

12th Grade

20 Qs

School Mangement System ICT 0417 IGCSE

School Mangement System ICT 0417 IGCSE

10th - 12th Grade

18 Qs

QUIZ 2

QUIZ 2

University

20 Qs

DSA5541 Quiz 1 TRI 2210

DSA5541 Quiz 1 TRI 2210

University

20 Qs

Java Quiz 1

Java Quiz 1

University

20 Qs

Computer Science Quiz

Computer Science Quiz

University

15 Qs

1.4.2 Data Structures - Graphs and Trees

1.4.2 Data Structures - Graphs and Trees

Assessment

Quiz

Computers

12th Grade - University

Practice Problem

Medium

Created by

Robin Smith

Used 188+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?