| The Introduction to multidisciplinary Computer Science II by James Tam | Return to the course web page |
Item |
Effect on grade |
| Uses static methods (other than the main method) | Divide total marks for Part II by two (rounded down) |
| Contact information not included in the assignment submission | -2 marks |
|
|
Actual mark |
Max |
|
| Naming conventions | 1 | ||
| Layout and appearance of the Java source code (alignment, formatting, whitespace) | 1 | ||
| Layout and appearance of the program output (when the program is actually running) | 1 | ||
| Appropriate use of constants | 1 | ||
| TOTAL | 4 | ||
|
|
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). | 1 | ||
|
|
Actual mark |
Max |
|
| Prompts for and gets as input the user's age | 1 | ||
| Prompts for and gets as input the user's address number | 1 | ||
| Prompts for and gets as input the user's pet information | 1 | ||
| Checks the validity of the age | 2 | ||
| Sets the age and age modifier to the default values when an invalid age has been entered | 1 | ||
| Checks the validity of the address number and sets the appropriate default as needed | 2 | ||
| Sets the address and address modifier to the default values when an invalid address number has been entered | 1 | ||
| Checks that category for the pet type is one of the ones listed | 3 | ||
| Sets the category to pet type and pet modifier to default values if an unlisted pet category has been entered | 1 | ||
| Calculates and displays the numerical fundex value | 2 | ||
| Determines and displays the correct fundex category from the numerical fundex | 3 | ||
| Prompts for and allows additional re-runs of the program using a loop | 2 | ||
| TOTAL FOR PROGRAM FUNCTIONALITY |
20 |
||
| Total score | Letter |
| A | 25 |
| A- | 24 |
| B+ | 23 |
| B | 22 |
| B- | 20 - 21 |
| C+ | 18 - 19 |
| C | 16 - 17 |
| C- | 14 - 15 |
| D+ | 12 - 13 |
| D | 10 - 11 |
| D- | 8 - 9 |
| F | < 7 |
TOTAL MARKS |
LETTER GRADE |