Lecture notes for the Introduction to Computer Science for non-majors by James Tam Return to the course web page

CPSC 217: Assignment 5 (Marking)

Grading Scales

A A- B+ B B- C+ C C- D+ D D- F
51 - 50 49 - 48 47 - 45 44 - 42 41 - 39 38 - 34  33 - 29 28 - 24 23 - 19 18 - 13 12 - 7 6 - 0      

 

Category

Effect on grade

Submission guidelines

 

  Incomplete contact information on printout -2 points
  Missing electronic submission No marks will be received for program functionality (the only marks granted may come from documentation and programming style)
  Missing or incorrect title in the subject line of email -4 points
     
Program documentation 14 marks maximum
  High level description of what the program is supposed to do 1 mark
  Describes the limits of the program 1 mark
  Describes the algorithm employed by the program (e.g., how it the computer modifier is determined from the computer type). 2 marks
  The electronic and paper README file includes contact information and correctly lists the features that were implemented 4 marks
  Version number or date of the program 1 mark
  Features implemented in this version 1 mark
  Paper printout includes all of the source code 4 marks
     
Style marks 6 marks maximum
  Naming conventions (e.g., variables, constants) 2 marks
  Appearance and whitespace 2 marks
  Appropriate use of constants (e.g., the divisor used to determine the age modifier, the min/max age allowable) 2 marks
     
Functions that were properly implemented 31 marks maximum
  Introduction 1 mark
  Conclusion 1 mark
  askAge 7 marks
  determineAgeModifier 2 marks
  askGender 5 marks
  determineGenderModifier 2 marks
  askComputer 7 marks
  determineComputerModifier 2 marks
  generateLuckySum 2 marks
  generateLuckyNumber 2 marks

Total points

ASSIGNMENT GRADE