Introduction - If you have any usage issues, please Google them yourself
CP2004:03 Object-Oriented Programming with Java Marking Criteria Sheets
CPC
2James Cook University 3
demonstrate your continuous effort during the weeks leading to the
submission. It is not sufficient to make a single import of your final version. [-
3]
Learning Achievement
6.1, 2.4,
3.4 Programming style as per http://java.sun.com/docs/codeconv/ , see example
http://java.sun.com/docs/codeconv/html/CodeConventions.doc10.html#182 .
Three or more java source files will be inspected at random [-1 marks for
each violation of the following rules]:
1. Class names: SomeClass variables: classVar1
2. No magic numbers. All constants are final, e.g. final SIZE = 10 (not
arr[10])
3. all class variables/attributes are private
4. space after java keywords since keywords are not functions, e.g. if (…)
[not if(…)]. No spaces after method names
5. if statements always use braces {}, see
http://java.sun.com/docs/codeconv/html/CodeConventions.doc6.html#449