Trees

Trees

University

10 Qs

quiz-placeholder

Similar activities

Trees - Data Structures

Trees - Data Structures

University

7 Qs

Binary Tree Searching - Data Structures

Binary Tree Searching - Data Structures

University

15 Qs

BCSC0006 Trees

BCSC0006 Trees

University

10 Qs

Binary Tree 2

Binary Tree 2

University

10 Qs

UNIT 3

UNIT 3

University

10 Qs

Data Structure

Data Structure

University

15 Qs

Tree

Tree

University

10 Qs

Binary Tree

Binary Tree

University

14 Qs

Trees

Trees

Assessment

Quiz

Computers

University

Hard

Created by

jenitachristy biher

Used 12+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which traversal will give the order A, B, C, D, E, F, G?

Preorder

None of the other options will give this

Postorder

Inorder

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of nodes in a binary tree of height 3?

16

15

8

7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many leaf are there in the tree?

1

4

3

7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this tree, where would the new value "7" be placed?

On the left "leaf" of "4"

On the right "leaf" of "6"

On the left "leaf" of "15"

Over the top of the current number "5"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these tree traversal methods is used to output the contents of a binary tree in ascending order?

Pre-Order

Post-Order

None

In-Order

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given a sequence of number below:

50,60,40,70,45,55,30,80,65,35,25,75,85

When creating a binary search tree, what is the height of the tree?

3

4

5

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the given AVL Tree. How many number of rotations are required after deleting 3?

1

2

3

4

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?