CS 110: Introduction to Programming in Java

Kalamazoo College

Spring 2008

Programming Project 1

Due at the beginning of Lab 2


This programming project should be done individually. It is okay to get help from the TAs and/or the instructor if you get stuck, but you should try to do it on your own first.

You should get into the habit of making backup copies of your work. See Productivity Hint 1.2 on p. 15 of the textbook (actually on the web site) for a discussion of this.


For this project you will write a program similar to the "Hello, your name" program from Lab 1, test it, and document it.

  1. You have a choice for this programming project; you may implement any of the first four programming exercises from Chapter 1 in the textbook (P1.1 - P1.4 on pp. 28 - 29) or you may implement Alternative 5 described below.

  2. Compile and run your program to be sure that it works as specified.
  3. Update the class documentation at the top of the file to accurately describe the purpose and behavior of your main class from a user's perspective. Focus on what the program does, rather than how it does it. Include your name and the date as well as the names of anyone from whom you received help. Providing proper documentation is an important step towards writing well-structured and reusable programs.

  4. When you are done, print it out to turn in. If you are using a USB drive to save your work, move the whole project directory to your USB drive.