Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Binary Search Tree (Recap 1)

Total questions: 13

Worksheet time: 13mins

Name
Class
Date
1.

A tree is composed of ____ connected by edges or lines.

a)

a point 

b)

a leaf node

c)

a root node

d)

nodes

2.

A type of node that is located on the topmost part of the tree is called a (a)   .

3.

A type of node that doesn't consist any children is called a (a)   .

4.

Select the statement(s) that is/are TRUE about a binary search tree?

a)

Each parent node has a maximum of two child nodes.

b)

The value in a left child node is less than the value in the parent node.

c)

The value in the right child node is greater than the value in the parent node.

5.

Is this a Binary Search Tree?

a)

Yes 

b)

No

6.

Could this be a Binary Search Tree?

What is the order of complexity for traversal?

a)

Yes, O(log(n))

b)

No, O(n)

c)

Yes, O(n)

d)

No, O(log(n))

7.

Which of one these trees is a Binary Search Tree?

a)
b)
c)
8.

In a Binary Search Tree, when adding a node with the same value as its root, where would the node be inserted?

a)

Left

b)

Right

c)

Depends on the implementation

d)

No such scenario

9.

Which figure below represents the binary search tree of the following values: { 18, 6, 12, 22, 25, 30, 20, 2 }

a)
b)
c)
d)
10.

Which figure below represents the binary search tree of the following values:{ 20, 30, 18, 22, 25, 6, 2 }

a)
b)
c)
d)
11.

How many steps will it take to find 27 in the given binary search tree?

a)

1

b)

2

c)

3

d)

4

12.

What is the MAXIMUM number of nodes in a binary search tree of height = 5 ?

a)

26-1

b)

25-1

c)

25

d)

26

e)

6

13.

What is the MINIMUM number of nodes in a binary search tree of height = 5?

a)

6

b)

5

c)

26-1

d)

25-1

e)

25