CS-16 Object Oriented Systems Dec -2003
Qus4(a) Prepare an instance diagram for the class diagram in the following
figure for the expression X+Y/2 / X/3+Y
Parentheses are used in the expression for grouping but are not needed i the diagram. The many multiplicity indicates that a term may be used i more than one expression.
4(b) Modify the above Class Diagram so that terms are not shared and to handle unary minus.

