CS 110 Introduction to Computing
Fall 2003

Project #5: Birthday Numerology

Due in class on Monday, November 17, 2003


Write a Java applet 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.

Here is an example applet for your guidance. Your applet should have similar functionality, but design the GUI on your own, this is just a sample design.



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, implementing each step incrementally as you go.
  2. Start early, NOW!
  3. Make sure you enter your name in the NAME slot at the top of the program. Also, use the SIGNATURE slot in your applet.
  4. Once you are done with the exercise, post your applet on your web page and hand in a printed (stapled) report that contains the following:
  5. Start NOW! This cannot be emphasized enough...

Back to: CS110 Course Materials