Beyeh
Beyeh
QUESTION 1
b
a
Figure 1
B E
Figure 2
A D F G
C H
QUESTION 2
3a 5
a) Given an algebraic expression .
8y x
i. Construct a binary tree for the given expression.
ii. Determine the height of the tree.
iii. List all the leaves.
iv. State ancestors of 8.
(8 marks)
0 1
1 Figure 3
0 1 0
B
F 0
1
0 1
0 E
O 1
L
T U
QUESTION 3