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 6

Module 6
Last modified: March 03 2008 10:26:13 AM

Lab Tasks

You will modify the code you created last time and add additional functionality to your picture manipulator. Chapter 5 of the text goes through many of these ideas. Many were also reviewed in class. The code you turn in MUST use the nested loop structure discussed in Chapter 5. 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 5, PictureManipulator2.java into your Module 6 directory and rename it to PictureManipulator3.java. This will require changing the name of the class and the constructor.
  2. Leave all of the code you wrote for Module 5 inside the class. You will simply be adding to the code for Module 6.
  3. All of your methods will follow this basic template:
  4. 	       public Picture methodName(Picture picture) {
                    //body of method - work that needs to be done to picture
       
               }
    	  

  5. To test out your methods, you need to create an instance of a PictureManipulator3 in the Interactions pane and then create an instance of a Picture. Call the appropriate method on the PictureManipulator3 and pass in the Picture object.
  6. Create solutions to the following problems from the text: 5.9, 5.10, 5.15.


Save Your File

You should save the file you created, named PictureManipulator3.java into your own module6 directory.


Submission

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

submit_cse113 PictureManipulator3.java


Due date (NOTE: Due date has been extended)

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


Lab authored by Adrienne Decker

 

 

 

CSE 113 - Spring 2008 - Footer

 

 
Page Maintained by: Adrienne Decker