CSC 160 Fall 2009 - Homework 9
Assigned T 12/1, due Th 12/10


Read Chapter 9 of the textbook. (E-mail me any questions you may have.)

Do not start any of the exercises below until you have fully read and understood the parts of Chapter 9 in the textbook relevant to that exercise. E-mail the instructor any questions you have or things you find unclear in the reading assignment.

Part One: Codelab (40 points total)
Do the following exercises in the HW9 section of Codelab:
  • 10 points: Invoking Methods - 20574, 20646
  • 10 points: Invoking Object Methods - 20579, 20581
  • 20 points: Definitions - 20651, 20655



  • Part Two: BlueJ (60 points total)
    Do the following exercises on pages 330-331 of the textbook:
  • (30 points): Exercise 9.3
  • (30 points): Exercise 9.6-just the part for Spheres (omit the part for Boxes). For more details, click here.
  • (Extra Credit - 20 points): Exercise 9.8
    For full credit, use must use correct filenames and include name/date and program description at the top of each Java class.


  • Submitting the BlueJ part of your Assignment
  • You must submit one file for each exercise through Moodle. Either, zip up the folder for the project and submit a .zip file. Or, submit the .java file from the folder for each project.
  • For full credit, the project name for Exercise 9.3 must be named "hw9[LastName]9.3" where [LastName] is replaced with your last name. (For example, if I were submitting this assignment, I would name the file "hw9Wittenstein9.3")
  • The filenames for the other exercises should have the same name except that the 9.3 is changed to the correct exercise number.



    Last Modified: 12/3/09