Answer: [ 05a.html ]
In the following work as a group of 4-6 people. When you have a solution (or 2) wait for a chance to present the diagrams to the class.
Answer: [ 05a.html ]
class Wodget { public: float size; int knobs; string id; };
Answer: [ 05a.html ]
Answer: [ 05a.html ]
Answer: [ 05a.html ]
Answer: [ 05a.html ]
MiniCalc uses simple integer Expressions:
123
1+2
123
1+2
+
apply(left:Int, right:Int): Int
Draw a diagram, using the UML, that describes the classes of objects (Expression, Constant, Operation, Operator) plus their semantics. Do not show any syntax!
Answer: [ 05a.html ]