(Craf-ta-Graf)
| Lab |
Assigned |
Design Due (Mondays 2 PM) |
Lab Due (Fridays 2 PM) |
| | 22 | Jan |
25 | Jan |
29 | Jan |
[
Design
]
[
Implementation
]
Goals:
By the end of this lab, you should...
-
have a simple yet satisfying design experience.
-
be more comfortable defining procedures that describe simple computations.
-
know how to define a class and instantiate it as an object.
-
know how to declare and access instance variables within a class definition.
-
be able to define constructors, accessors, and other methods.
-
know how to invoke methods on an object.
-
know how to create a new object inside a method and return it as the result
of that method.
-
know how to call methods of one object from within another object.
-
have some familiarity with displaying simple graphics shapes using the
CS101Canvas.
This lab contains two parts: design
and implementation.
The design
is an exercise to be turned in by 2 PM on the Design Due Date shown above.
In class on that day,
a sample design will be presented.
In Lab,
your graded design will be returned. You may then proceed with your
own design or adopt the presented design for your implementation.
Last modified 14:24:25 CST 25 January 1999
by Ron K. Cytron