| Computer Science I for majors by James Tam |
| 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 | |
| Naming conventions: self-descriptive names using camel case or underscores for variables | 2 | |
| Naming conventions: self-descriptive names using upper case only for named constants | 2 | |
| Use of named constants | 1 | |
| Deals with errors in a helpful and positive manner (repetition notes slides #46 – 47 | 2 | |
| Neat and presentable organization of program output (prompts and brief report) | 2 | |
| Penalty: Boolean and mathematical expressions are not simple and easy to read | -1 | |
Sub total for style |
11 |
|
Documentation (marks may be awarded independent of program functionality) |
||
| Header documentation: contains overall description of program. | 4 | |
| 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 (0.5 marks for each feature listed as completed or as not completed x 10 features listed below) |
5 | |
| Penalty: Name, ID and tutorial section not included in the header documentation | -6 | |
Sub total for documentation |
10 |
|
Functionality (only qualify for these marks if the program runs) |
||
| Describes to user how the simulation works | 1 | |
| Prompts for and allows user to enters hours studying | 1 | |
| Prompts for and allows user to enters hours having fun | 1 | |
| Repeatedly prompts using a loop when total hours isn’t equal to twenty | 4 | |
|
· Using branches: Can determine and display grade point when zero hours spent studying (2 marks for each case) |
4 | |
|
· Using branches: Can determine and display grade point when 1 - 9 hours spent studying (2 marks for each case) |
10 | |
|
· Using branches: Can determine and display grade point when 10 - 17 hours spent studying (2 marks for each case) |
10 | |
|
· Using branches: Can determine and display grade point when 18 - 20 hours spent studying (2 marks for each case) |
10 | |
| (These features require above functionality to be correct for marks to be granted) | ||
| Correctly calculates the number of ‘fun points’ | 2 | |
| Correctly calculates and displays the number of satisfaction points | 2 | |
| Sub total | 45 | |
OVERALL ASSIGNMENT TOTAL |
66 |
|
Grade Point for assignment |
4.0 |
|
| Min score | Grade point |
| 66 | 4.0 |
| 64 | 3.9 |
| 62 | 3.8 |
| 60 | 3.7 |
| 58 | 3.6 |
| 56 | 3.5 |
| 54 | 3.4 |
| 52 | 3.3 |
| 50 | 3.2 |
| 48 | 3.1 |
| 47 | 3.0 |
| 46 | 2.9 |
| 45 | 2.8 |
| 44 | 2.7 |
| 43 | 2.6 |
| 42 | 2.5 |
| 41 | 2.4 |
| 40 | 2.3 |
| 39 | 2.2 |
| 38 | 2.1 |
| 37 | 2.0 |
| 36 | 1.9 |
| 35 | 1.8 |
| 34 | 1.7 |
| 32 | 1.6 |
| 30 | 1.5 |
| 28 | 1.4 |
| 26 | 1.3 |
| 24 | 1.2 |
| 22 | 1.1 |
| 20 | 1.0 |
| 14 | 0.7 |
| 0 | 0 |