|
|
Max score |
Coding style (marks may be awarded independent of program
functionality)
|
|
|
Neat and presentable organization of source code with appropriate
use of white space |
2 |
|
Neat and presentable program output |
2 |
|
Naming conventions: self-descriptive names using standard
conventions for variables, constants, function names |
3 |
|
Use of named constants |
1 |
|
Deals with errors in a helpful and positive manner (repetition notes
slides #46 - 47) |
2 |
|
Penalty:
Boolean and mathematical expressions are not simple and easy to read |
-4 |
|
Penalty: gross
inefficiencies in program code (e.g., duplicated program code via
cut and paste) |
-4 |
|
Penalty: global variables
employed (other than the debugging flag or flags) |
-4 |
|
Penalty: program consists
of fewer than 6 functions |
-10 |
|
Special penalty: program
does not implement any functions: max assignment grade point is 1.7
regardless of other style, documentation or functionality marks |
|
Sub total for style
|
10
|
Documentation (marks may be awarded independent of program
functionality)
|
|
|
Header documentation: contains overall
description of program. |
3 |
|
Header documentation: demonstrates
some form of versioning system employed (date or version #) |
1 |
|
Provides an accurate list of features /
limitations (functionality not implemented) in the program (1
marks for each feature listed as completed or as not completed x 16
features listed below). Miscategorizations or other inaccuracies
will not be awarded marks. |
16 |
|
Penalty: Name, ID and tutorial section not included in the header
documentation |
-6 |
|
Sub total for documentation
|
20
|
Functionality (only qualify for these marks if the program runs)
|
|
|
Displays introduction |
1 |
|
Displays conclusion |
1 |
|
Displays directional menu |
1 |
|
Loads start positions from file |
4 |
|
Homer can move in the 4 compass directions (1 mark for each
direction) |
4 |
|
Error message is displayed if player tries to move Homer in the 4
inter-cardinal directions |
2 |
|
Error message is displayed if player tries to enter a value higher
than 9 for the direction |
1 |
|
Player can quit the game by entering '0'
at the directional menu |
1 |
|
Debugging mode implemented
(flag toggles and at least one debugging message is displayed) |
2 |
|
Game prevents Homer from moving onto occupied squares |
4 |
|
Lose game condition implemented: Homer drowns if moved onto water |
4 |
|
Homer can get distracted |
4 |
|
Lose game condition implemented: Homer can freeze in Alaska (only 2
marks if freezing occurs for 10 non-successive turns) |
4 |
|
Win game condition implemented: Homer reaching Springfield |
4 |
|
EPA agents can move (1 mark for each case) |
9 |
|
Lose game condition implemented: Homer captured by an EPA agent |
4 |
|
Sub total |
50
|
|
|
|
OVERALL ASSIGNMENT TOTAL
|
80
|
Maximum grade point for assignment
|
4.3
|