Trees

Trees

University

10 Qs

quiz-placeholder

Similar activities

tree

tree

University

10 Qs

A-Level Computer Science Data Structures Quiz

A-Level Computer Science Data Structures Quiz

12th Grade - University

14 Qs

DSA-Quiz1

DSA-Quiz1

University

12 Qs

Data Structures -Trees & Sorting

Data Structures -Trees & Sorting

University

15 Qs

UNIT 3

UNIT 3

University

10 Qs

Binary Search Tree (Recap 1)

Binary Search Tree (Recap 1)

11th Grade - University

13 Qs

DS Quiz1

DS Quiz1

University

10 Qs

Trees & Binary Tree

Trees & Binary Tree

University

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