|
Comp201: Principles of Object-Oriented Programming I
Spring 2006 -- HW10
|
See Assignments Page for due date! Don't forget your
Honor Pledge file!
Save all of your work in a directory called HW10 or Lab12 on your
U: drive (Owlnet account) inside a directory called Comp201 .
Your homework assignment is to build the (cheap) GUI calculator of lab12.
Grading criteria:
- (10 pts) Program compiles and GUI appears when run.
- (25 pts) InfixCalc, ACalcState,
IBinOp, AddOp
and MulOp classes exist with
proper method signatures, in proper package; AddOp
and MulOp
are singletons.
- (25 pts) All 5 states are implemented.
- (10 pts) Proper state pattern delegations used.
- (5 pts) All digit buttons installed and operational.
- (5 pts) All binary operations buttons installed and operational.
- (25 pts) Correct state transitions implemented.
- (25 pts) Correct non-transition related state behaviors implemented (e.g.
actually evaluating an operation, error handling, etc.)
130 pts total.
When you have completed your homework, zip up the
entire HW10/Lab12 directory and submit the zipped file using the
file upload link on the Assignments Page.
Last Revised
Thursday, 03-Jun-2010 09:50:12 CDT
©2006 Stephen Wong and Dung Nguyen