|
Actual mark
|
Max
|
|
Naming conventions |
Poor -2 |
Some poorly named
identifiers +0
|
Good and clear
throughout +2 |
|
2 |
|
Layout and appearance
of the Java source code (alignment, formatting, whitespace) |
Very cluttered, no
whitespace -2 |
Slightly too much/too
little +0 |
Appropriate use of
whitespace: +2 |
|
2 |
|
Layout and appearance
of the program output (when the program is actually running) |
Very cluttered, no
whitespace, formatting -2 |
Slightly too much/too
little +0 |
Appropriate use of
whitespace: +2 |
|
2 |
|
Appropriate use of
constants |
|
|
|
|
1 |
|
TOTAL |
|
|
|
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DOCUMENTATION
|
|
|
|
Actual mark
|
Max
|
|
Documentation for this
program should include: some sort of versioning system, a description of the
features of the program (what it does rather than how it does it),
limitations of the program (features not implemented or cases that it can't
handle). |
No documentation: -4 |
Minor omissions or
other problems: +2 |
Appropriate level of
detail: +4 |
|
4 |
|
|
|
PROGRAM FUNCTIONALITY
|
|
|
|
Actual mark |
Max |
Program
setup: Class Fun properly defined and located in it's own file |
|
1 |
Program setup: Driver
class instantiates instance of class Fun and begins program, driver located
in it's own file |
|
1 |
Attributes of class
Fun properly initialized |
|
1 |
Method: Introduction |
|
1 |
Method:
calculateAddressModifier (inputs 1, return 1, calculation 2) |
|
4 |
Method:
calculateAgeModifier (inputs 1, return 1, calculation 2) |
|
4 |
Method:
determineFundex (inputs 1, return 1, calculation 2) |
|
4 |
Method:
determinePetModifier (inputs 1, return 1, determine modifier = 7) |
|
9 |
Method:
displayFundex (display 1, error check 2) |
|
3 |
Method: getAddress
(display and prompt 1, return 1, handle invalid 2) |
|
4 |
Method: getAge
(display and prompt 1, return 1, handle invalid 2) |
|
4 |
Method: getPet
(display and prompt 2, return 1, handle invalid 2) |
|
5 |
Method: start (main
loop 1, calls to the other methods 2) |
|
3 |
TOTAL FOR PROGRAM FUNCTIONALITY |
|
44
|