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

Banco de Dados

Banco de Dados

University - Professional Development

20 Qs

Multimedia Video & Animation

Multimedia Video & Animation

University

20 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

Uji Pengetahuan Jaringan Komputer

Uji Pengetahuan Jaringan Komputer

9th Grade - University

20 Qs

MIDTERM EXAM - IT APP

MIDTERM EXAM - IT APP

University

17 Qs

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - 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?