CS-16 Object Oriented System Dec 2002
Ous2(a) Prepare object diagrams showing at least 5 relationships among the following object classes include associations,aggregations, and generalizations. Use qualified associations and show multiplicity balls in your diagrams. You do not need to show
attributes or operations. Use association names where needed. As you prepare the diagram, you may add additional object classes.
Automobile, engine, wheel, brake, brake light, door, battery.
Ous 2(b) “The number of lines of code for Writing a program in an Object Oriented Programming Language are less when compared to the number of lines of code for writing the same program in a Procedural Programming Language.” Do you agree with this statement? Justify with example.

