Java Programming Assignment
Assigned: 11/14/96
Due: 11/21/96 (Thursday by midnight)
Submission procedure: see below
The Java programming assignment is very open-ended. Because most
of language is already familiar to you, there is little value in writing
simple, contrived code snippets. I would like to give you the freedom to
have some fun writing interesting code. Below are a number of suggestions
for codes you could write. Choose only one. If you are not especially
excited by Java, choose the easiest option (your grade will not suffer).
If you find Java interesting (and have some time), choose one of the more
ambitious options.
Warning: Don't sink all your time into this project. Make sure
you keep up with the readings and your other courses.
- Write a really cool Java applet. Have some fun; experiment. Talk to
me if you are not sure of appropriateness. Submission procedure:
mail me the URL for a page that contains your applet and pointers to all
your source code.
- Extend an existing applet (e.g., Aquarium
or Cannon). This
requires that you understand an existing applet well enough to extend it
in some interesting way. For example, it sure would be nice to have a target
to shoot at in the Cannon applet. Submission procedure: mail
me the URL for a page that contains your applet and pointers to all your
source code AND a pointer to the applet you are extending.
- Write a stand-alone Java application (i.e., an application that
lives outside of a web browser). For example, you could write an English
to pig latin translator. For this option, you don't have to learn all the
applet/windowing stuff. Submission procedure: mail me your Java
code in a single mail message. Include a description of what the code does,
and include code to test your code.
- Write a generic list class. This option is the most precisely defined,
and it is thus the easiest. You don't have to learn any applet/windowing
stuff. I have written some code to test your list class. See here
for details. Submission procedure: mail me your Java code
in a single mail message.
echris@cs.washington.edu (11/14/96)