CS110 Introduction to Computing
Spring 2006

Assignment#7: Birthday Numerology
Due in class on Tuesday, April 25, 2006
There is no credit for late work.

What to do: Write a Java program that inputs a person's date of birth (month, day, year):

Do only one of the ones written in green.

Algorithms for some of the above computations will be discussed during lectures. Feel free to use the web to search for answers to these exercises, not necessarily the Java code, which will be your own

Some useful pointers and hints:

The calendar is the subject of many informative pages on the web, and the formulas we are asking you to program for this assignment can be found (even including code examples in some cases) through some surfing. Use the information links below to the pages indicated for some descriptions that we thought would be helpful. You can also use any other sources to get further explanation, but be sure to reference any pages that you use as comment lines containing the web site location (URL) as a footnote along with your code (note that your HTML file does not need to link to the URLs you reference). For surfing, it is helpful to be a bit descriptive in your search string -- I used "calendar day of week" in google.com and found a lot of helpful sites.

Extra Credit

Do two or more of the green choices above.

Notes for both exercises

  1. As demonstrated in class, design your program in a modular fashion, using object-oriented design techniques, implementing each step incrementally as you go.
  2. Start early, NOW!
  3. Make sure you enter your name in the NAME at the top of each file of your java program.
  4. Once you are done with the exercise, hand in a printed (stapled) report that contains the following:
  5. Start NOW! This cannot be emphasized enough...

Also: Stop by Deepak's Office (no later than April 27 at 2:00p) to show him a demo of your program. Note that the deadline for the Demo is AFTER the date the project is due. All printed work should still be handed in by the due date.

There is no credit for late work.


Back to CS110 Spring 2006 Materials.