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

Kuiz 3

Kuiz 3

12th Grade - University

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Python List

Python List

4th Grade - University

15 Qs

Data Security Worksheet

Data Security Worksheet

10th Grade - University

15 Qs

CIS2303 Week 4_5 Ch_3

CIS2303 Week 4_5 Ch_3

University

18 Qs

SQL Revision for Year 12

SQL Revision for Year 12

11th - 12th Grade

20 Qs

Module 11 - Essential Peripherals 4

Module 11 - Essential Peripherals 4

9th - 12th Grade

18 Qs

QUIS Animasi

QUIS Animasi

9th - 12th Grade

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