Introduction to Computer Science II for non-majors by James Tam |
Documentation | Actual score | Max score | |
Versioning | 1 | ||
Program features listed | 2 | ||
Program limits listed | 1 | ||
Documentation marks earned | 4 | ||
Contact info missing: -2 marks | |||
Subtotal: Documentation marks | 4 | ||
Style | Actual score | Max score | |
Good naming conventions (variables, constants) | 1 | ||
Layout and appearance of source code | 1 | ||
Layout and appearance of output | 1 | ||
Style marks earned | 3 | ||
Constants not properly employed: -1 mark | |||
Subtotal: style marks | 3 | ||
Functionality marks | Actual score | Max score | |
Zodiac constructor initializes attributes | 1 | ||
Introduction method describes program | 1 | ||
Determine sign method maps birth date to sign (0.5 marks for each sign) | 6 | ||
isDayValid Boolean method implemented as specified | 2 | ||
isMonthValid Boolean method implemented as specified | 2 | ||
promptDay method implemented as specified (1 mk for output message, 1 for setting attribute) | 2 | ||
promptMonth method implemented as specified (1 mk for output message, 1 for setting attribute) | 2 | ||
Program repeatedly prompts when day invalid | 1 | Likely part of startZodiac method | |
Program repeatedly prompts when month invalid | 1 | Likely part of startZodiac method | |
startZodiac method: calls other methods as appropriate | 2 | ||
Subtotal functionality marks earned | 20 | ||
Divide mark by two if static methods (save main) used | |||
Divide mark by two if a single class was used to implement the solution | |||
Subtotal after deductions (if applicable) | |||
Subtotal: Functionality marks | 20 | ||
Functionality marks | Actual score | Max score | |
Driver: branch | 2 | ||
Driver: loop | 2 | ||
Testing marks | 4 | ||
(Marks for testing: covers all cases 2 marks, 1.5 missed few cases, 1 missed many cases, 0.5 min test cases covered) | |||
TOTAL SCORE | 31 | ||
GRADE POINT |
Min score | Grade point |
0 | 0 |
7 | 0.7 |
12 | 1 |
14 | 1.3 |
16 | 1.7 |
18 | 2 |
20 | 2.3 |
22 | 2.7 |
24 | 3 |
26 | 3.3 |
28 | 3.7 |
30 | 4 |