CS-16 Object Oriented System June -2003
Q. 3( a) Prepare a verbal description of a situation that involves recursion. Prepare the corresponding object diagram.
Ous 3(b) Prepare a data flow diagram for computing the average of sequence of input values. A separate control input is provided to reset the computation. Each time a new value is input the average of ail values input since the last rest command should be output. Since you have no way of knowing how many values will be processed between resets, the mount of data storage that you use should not depend on the number of input values.

