Lecture notes for Computer Science I by James Tam Return to the course web page

CPSC 231: Assignment 6 (Marking)

SUBMISSION REQUIREMENTS

Item

Effect on grade

Contact information not included in the assignment submission -6 marks
   

 

PROGRAMMING STYLE

How often are general style requirements followed e.g., good naming conventions, appropriate use of named constants, code uses consistent alignment and whitespace to make it easier to read and understand, functions implement one well defined task and don't exceed a screen in length

Actual mark

Max

  Never
(0 marks)
Sometimes
(2 marks)
Mostly
(4 marks)
Always
(6 marks)
   

TOTAL FOR STYLE

 

6

 

DOCUMENTATION: INTERNAL TO PROGRAM

Example things to 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).

Actual mark

Max

 

 

No documentation
(0 marks)
Major omissions
(2 marks)
Minor omissions
(4 marks)
Appropriate level
(6 marks)
   

TOTAL FOR DOCUMENTATION

 

6

 

METHODS OF CLASS FUN IMPLEMENTED

 Feature

Actual mark

Max

  Method: calculateAddressModifier (inputs 1, return 1, calculation 2)   4
  Method: calculateAgeModifier (inputs 1, return 1, calculation 2)   4
  Method: determineFundex (inputs 1, return 1, calculation 2)   4
  Method: determinePetModifier (inputs 1, return 1, determine modifier = 7)   9
  Method: displayFundex (display 1, error check 2)   3
  Method: getAddress (display and prompt 1, return 1, handle invalid 2)   4
  Method: getAge (display and prompt 1, return 1, handle invalid 2)   4
  Method: getPet (display and prompt 2, return 1, handle invalid 2)   5
  Method: conclusion   1

 

TOTAL FUNCTIONALITY

 

38

 

Total score Letter
A 50
A- 48 - 49
B+ 45 - 47
B 42 - 44
B- 39 - 41
C+ 34 - 38
C 29 - 33
C- 24 - 28
D+ 19 - 23
D 14 - 18
D-   9 - 13
F   0 - 8

 

TOTAL MARKS

 

LETTER GRADE