CSE 12: Survey of Computer Science
Assignment #5 (Computer Architecture and Java programming)

In The Universal Computer, do exercises 5.1, 5.4, 5.6, 5.12, 5.15, 5.18, 5.40, 5.45, 5.47, 5.53, 5.56, and 5.71.

Design and implement a calculator based on the use case analysis that we completed in lab a couple of weeks ago.
(Minmin provided a complete use case solution under Course Documents, "Lab Slides".)
In lab on Monday, you'll revise your UML design for the calculator problem--show it to Minmin before leaving lab,
so she can incorporate this in her evaluation of your assignment without your having to submit it,
and also steer you in the right direction if there are problems with your design.
Then you will implement your new design in Java, except for the report function (that's extra credit).
Hint: the Calculator is rather similar to the Counter example handout which I am presenting in class this week.
While in lab, you will work in pairs, two people at one monitor, with one person as the driver (entering code)
and the other person as the navigator (making suggestions). Switch roles about every 15 minutes.
After lab, you may either arrange to continue to work as a pair with your partner, or work on your own.
When you submit your Java program as part of your assignment, indicate the name of your partner,
whether you continued to work together after lab, and describe how helpful your partner was to you in completing the assignment.

Extra credit: 5.22, 5.72 and/or implement the report function of the Calculator.

Due: Wednesday, 10/20, anytime before midnight.

Prof. Blank