December
1999 QUESTION 2 Total Marks: 15 Marks |
Click here to access other
questions
Click to access |
(a) |
Describe what is meant by an ordered binary tree .
|
[2] |
(b) |
Given the arithmetic expression (B ^ A )/(C + D ) (i)Draw a tree structure diagram to represent the expression;[2 marks ] (ii)Convert the expression into Pre-fix notation;[2 marks ] (iii)Convert the expression into Post-fix notation.[2 marks ]
|
[6] |
(c) |
Given the following definition of a binary tree:
(i)Describe what is meant by an In-fix
(In-order)traversal of a binary
|
[7] |