What to hand in
Marks will be awarded for correct code (i.e. for code that produces results; if your code does
not produce the correct result, no marks will be awarded for that part of the question).
You must submit one Java file called: Ass2226.java. For example, if your student
number ID is 101031722, your file will be named: Ass2226101031722.java.
When this file is compiled it must produce a file: Ass2226.class, e.g.
Ass226101031722.class. When run, this must produce the answers to all the coursework
assignment questions by implementing the appropriate algorithms.
Your java file may contain other classes, but they must all be included in the single java file;
please do not submit multiple Java files as you will get a mark of zero – we only need
one file. You must write your code assuming all data files are in the same directory as the
program (and only use their names as arguments as shown in the example below).
Failure to do this will lead to a mark of zero. If you cannot complete a particular question,
the answer should say ‘NOT DONE’. Your program should take the text files described below
as command-line arguments.
To run your program, the Examiners will type (pay attention that the filenames are referenced
without the file extension):