CSE 113 - Spring 2008 - Banner
   CSE 113 - Spring 2008 - Introduction to Computer Programming I
CSE 113 - Spring 2008 - Navigation CSE 113 - Spring 2008 - Assignments: Module 7

Module 7
Last modified: March 18 2008 11:53:41 AM

Lab Tasks

You will modify the code you created last time and add additional functionality to your picture manipulator. Chapter 6 of the text goes through many of these ideas. Many were also reviewed in class. Once again, this set of tasks is not necessarily linear. You may have to go back and forth between editing and testing several times before moving on to the next step on the list.

  1. Copy the file you created for Module 6, PictureManipulator3.java into your Module 7 directory and rename it to PictureManipulator4.java. This will require changing the name of the class and the constructor.
  2. Leave all of the code you wrote for Module 6 inside the class. You will simply be adding to the code for Module 7.
  3. To test out your methods, you need to create an instance of a PictureManipulator4 in the Interactions pane and then create an instance of a Picture. Call the appropriate method on the PictureManipulator4 and pass in the Picture object.
  4. Create solutions to the following problems from the text: 6.4, 6.6, 6.14. For each method you will need to make sure there is a parameter that is Picture object and that the method returns the modified Picture object. Note that some of the methods might also require additional parameters based on their functionality.


Save Your File

You should save the file you created, named PictureManipulator4.java into your own module7 directory.


Submission

You should make sure to name your class and save your file with the name PictureManipulator4.java. Submit this file by going back out to the Unix prompt and typing:

submit_cse113 PictureManipulator4.java


Due date (NOTE: Due date has been extended)

Your lab submission is due no later than 11:59:59 pm on April 4th. Remember, no late labs will be accepted.


Lab authored by Adrienne Decker

 

CSE 113 - Spring 2008 - Footer

 

 
Page Maintained by: Adrienne Decker