HW1-Spring 2007
- (20 pts) Attempting
- (5 pts) the submitted file is Picture.java
- (5 pts) two new methods exist in the submitted file
- (5 pts) the new methods are at the bottom of the class definition
- (5 pts) the new methods are manipulations that were not previously in the class Picture
- (15 pts) Comments (half points for each method)
- (5 pts) Any comment exists
- (10 pts) Comment describes the picture manipulation
- (10 pts) Naming (5 pts for each method)
- (10 pts) function names describe the manipulation being performed
- (5 pts) Compile
- (5 pts) the class as a whole compiles
- (30 pts) Code
- (20 pts) for loop is used in one method and a while loop is used in the other (10 pts each)
- (5 pts) properly loops through all the pixels
- (5 pts) modifies individual pixels using setColor, setPixel, setRed...etc
- (20 pts) Functionality
- (20 pts) actually performs the manipulation described (10 pts for each method)
Link to this Page