Introduction to Computer Science II for majors by James Tam

Return to the course web page

CPSC 233: Assignment 1 (Marking Key)

Assignment 1: Marking key

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
Appropriately employs named constants   1
Layout and appearance of source code   1
Layout and appearance of output   1
     
Subtotal: style marks   4
   
Functionality marks Actual score Max score
Prompts and reads birth month   1
Prompts and reads day of birth   1
Boundary checks month   2
Repeats prompt for month   2
Boundary checks day   2
Repeats prompt for day   2
Determines correct sign (half mark for each)   6
     
Subtotal functionality marks earned   16
     
Modifier Static methods used (half functionality marks):    
Subtotal: Functionality marks   16
   
   
TOTAL SCORE   24
   
GRADE POINT    

 

Score Grade point
0 0
4 0.7
6 1
8 1.3
10 1.7
12 2
14 2.3
16 2.7
18 3
20 3.3
22 3.7
24 4