April 2000 QUESTION 1 (Compulsory) Total Marks: 30 Marks |
Click here to access
other questions
Click to access |
(a)Explain what is meant by the following
terms: (b)(i)Explain how a binary search works.[3
marks ] (c)Assume the following declaration of a dynamic binary tree and the procedure FooBar (i)Describe the effect of
FooBar on the root of a tree like the one above.[2 marks ] (d)(i)Define a type,called
MyType which can be used to store up to 50 real (e)Given the following declaration
of the type NUMTYPE |