CS-16 Object Oriented Systems June-2004
Q.2(a) Prepare object diagrams showing at least 5 relationships among the following object classes. Include associations, aggregations and generalizations. Use qualified associations and show multiplicityballs in your diagrams. You do not need to show attributes or operations. Use association names where needed. As you prepare teh diagrams, you may add additional classes, if necessary.
School, Playground, Principla, Board, Clasroom, Book, Student, Teacher, Canteen, Rest room, Computer, Desk, Chair, Rules, Door, Swing.
Q.2(b) What is the purpose of a state diagram? Draw and explain, a si diagram for a phone line.

