Assignment 5
The fifth assignment has to be handed in before November 26.
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 methods should be handed in (no documentation is
required) and the method definitions should put in the classes
NumberOfLeafs, HasMoreThanThreeChildren and HasHeapOrderProperty and these
classes should be submitted electronically. Use NumberOfLeafs.java,
HasMoreThanThreeChildren.java and HasHeapOrderProperty.java as the filenames
of the Java programs. On Ariel, type
submit 2011 a5 NumberOfLeafs.java HasMoreThanThreeChildren.java HasHeapOrderProperty.java
to submit the program. If the files are successfully submitted a message
like
submitted: NumberOfLeafs.java (1142 bytes)
submitted: HasMoreThanThreeChildren.java (1857 bytes)
submitted: HasHeapOrderProperty.java (1564 bytes)
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 fifth assignment can be found here.
The office hours of the teaching assistant can be found
here.
Reading material
Section 6.2.2
Additional material
SortedSequenceSimplePriorityQueue.java