W2005 A2 Information
Marking and Submission Information
The mark for A2 will be out of 100. To simplify the marking and
to force you to be more observant of style, we will use the following
rather crude marking scheme. The scheme may not say exactly what you will
it indicates what mark you cannot get.
An assignment will not receive an A, i.e., 80 or more, if
it contains any one of the following style errors (even a single
instance of one of these errors):
Also, you cannot receive an A if
- a method name or variable name starting with a capital letter
- a class name starting with a lower case letter
- a constant which is not all capitals
- a number other than 0 or 1 in your program which is not assigned to
a constant, i.e., there should be no magic numbers in your
- poor indentation
- a method or class without javadoc comments
- a method which is repeated verbatim in two subclasses (where
it should be in the superclass)
- an instance variable which is not private
- a class which does not have a clear responsibility (for example
rather than having a Car class, putting all the car responsibilities
into the panel class)
- missing a README file which explains roughly what your program
does and any interesting features or limitations of your program.
- you do not do the demo
- you cannot explain your code properly
- you cannot make a last minute change that might be
requested on the day of the demo or during the demo.
Correctness: If your code does not meet the requirements
as specified in the assignment, then the mark will be B or
less, depending on how serious the omissions are.
Exception Handling: None needed in this program.
Bonus: There are no bonus marks that can take your mark over
100, since we do not want to increase the weight of the assignments.
However, it is possible that some extra features can make up for
a small error that might otherwise take your grade down.
Also, it goes without saying that your code
should not be too similar to anyone elses (see the CMF re. plagiarism).
If some part of your code is from somewhere other than your head or
the course text, cite your source in a comment.
Submission instructions: (if you have a partner, only one of you
submit-cps209-0n *.java (where this includes all the files necessary
to compile your program).
submit-cps209-0n README (where this text file explains what works
and what doesn't work in your assignment).