Assignment 4

The fourth assignment has to be handed in before November 6. Students should put their name, student number and Ariel login name on their assignment. There is an assignment box for this course on the first floor of CCB. A print out of the class should be handed in (no documentation is required) and the class definition should be submitted electronically. Use ArrayPositionalSequence.java as the filename of the Java program. On Ariel, type
submit 2011 a4 ArrayPositionalSequence.java
to submit the program. If the file is successfully submitted a message like
All files successfully submitted
is printed. For more details, see the manual page of submit. Programs that do not compile or run on Ariel are awarded an F. The letter grade for the assignment is a rough average of the letter grades for the three parts.

The fourth assignment can be found here.

The office hours of the teaching assistant can be found here.

Reading material

Chapter 4 from Section 4.2 up to Section 4.4

Additional material

Position.java
PositionalSequence.java
PositionalSequenceException.java
ArrayPosition.java
NSNode.java