CS-16 Object Oriented System Dec 2002
Ous3(a) Write code, including class declarations and methods, to implement One-to-Many association which is traversed in the direction from One-to-Many. The association is considered ordered.
QUS3(b)There is a clear distinction between the definition and the implentation of a function. The definition describes the behavior f the function while the implementation actually computes the function. The definition of a function may be used to test the accuracy of the implementation. Prepare definitions of each of the following functions using mathematics, diagrams, or pre- and post conditions.
(i) Absolute value
(ii) Square root

