CS 20, Summer 2009
Project 1

Due: Tuesday, June 30, 9:00pm
Worth: 100 homework points

Before you begin:
  1. If you do not already have a College of Engineering user account, then sign up here now. Be aware that your account will not be ready to use immediately, as setup requires human processing during working hours. When it is ready, verify you can access it, and change your password as instructed!
  2. Verify that you can log in to your account remotely using a secure shell program (like PuTTy). You may also use the CSIL lab (HFH 1138) itself.
  3. Complete this Student Information Form, and submit it just one time before turning in any projects.

Copies of all necessary files are in ~cs20/p1/ (actually subdirectories part1, part2 and part3) on CSIL:

All parts are derived from specific Exercises at the ends of Chapters 1 and 2 in the required text. Read them, but to the extent instructions here differ from those in the text, the instructions on these web pages take precedence.

  1. Revise the text's classes called Date.java and DaysBetween.java as specified in Chapter 1 Exercise 24 on page 55.
  2. Write Rectangle.java as specified in Chapter 2 Exercise 10 on page 145.
  3. Do part b of Chapter 2 Exercise 11 on page 146, and modified as follows:
  4. Complete the Student Information Form if you have not already done so. Then turn in the four required files at once from your engineering account as follows:
    turnin p1@cs20 Date.java DaysBetween.java Rectangle.java ArraySquareMatrix.java
    Late projects may not be accepted.

Updated 6/20/09 by C. Michael Costanzo