Back to 211 Main Page

Mobius strip

Assignment 3

The Assignment

http://www2.hawaii.edu/~tp_200/ics211/fall2003/A3-OrderedList.htm

Comments

Your ordered list must use a linked-list implementation using Nodes. It must also implement the SortedList interface. You can get all the needed files here. You can also read the Javadoc documenation for them.

In order to use these files, you will need to understand how the Comparable interface works, and how to use the classes I've given you. You can read this description of how these things work. This page also includes a FAQ section.

Implementing SortedList is meant to give you some experience working with interfaces. It also gets you used to writing reusable code. You then use this very general code for a very specific application--your applet!

When you submit your assignment, tell me which browser worked for you. By default, I will use appletviewer for Java 1.2.2. Your browser options (and which Java system they use under the hood) are:

  • appletviewer (Java VM 1.2.2)
  • Internet Explorer 5.0 (Microsoft VM)
  • Netscape 6.0 or 7.1 (JRE 1.3.1)
  • Netscape 4.76 (Java Plugin for Netscape 1.3.1 [NPJava131_01.dll])

Grading

This assignment will be out of 10 points. You will get points for the following:

2.0 - Compiles
Your submitted program compiles and runs without error
1.0 - Complete submission
In your email, include a full link (http://...) to a working version of the applet on the web. Attach your source code (.java files) and the webpage to run it from (.html file). (You can zip them if you really want to.)
1.5 - Good documentation
See this note on documenting your code.
0.5 - Follows ICS coding standards
Use descriptive variable names, use internal capitalization for names, consistently indent and space code, etc.
2.5 - Ordered List
Use a sorted linked-list (not an array!). Correctly implements the provided SortedList interface.
2.5 - Applet interface
Has the requested Add, Remove Largest, Remove Smallest, Clear List, and OK buttons. Allows entry of numbers to the list, and displays the current list. Displays error/status messages, and disables unusable buttons. (You can, if you want, provide further functionality.)


~ztomasze Index : TA Details: ICS211: Assignment 1
http://www2.hawaii.edu/~ztomasze
Last Edited: 19 Oct 2003
©2002 by Z. Tomaszewski.