CS-16 Object Oriented Systems June-2004
Q.3(a) Prepare a data flow diagram for computing the area of a cectangle.
Q.3(b) Assume that the area calculation of a rectangle as above is a polymorphic function ofthe class ‘Rectangle’ that inherits other properties from the class ‘Shape’. Create the class declarations of the ‘Rectangle’ clas indicating the inherited properties., Constructors/destructiors and any other data member and member functions.
Q.3© For Each ofthe following systems, identify the relative importance of the three aspects ofmodelling, namely, object, dynamic and functional modelling:
(i) Telephone enswering machines
(ii) Printer

