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

CPSC 217: Assignment 4 (Marking)

Grading scales

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
     
Program functionality 38 marks maximum
  Displays a proper introduction 1 mark
  Display a proper conclusion 1 mark
  Prompts for age 1 mark
  Reads in the age 1 mark
  Prompts for gender 1 mark
  Reads in the gender 1 mark
  Prompts for computer type 1 mark
  Reads in the computer type 1 mark
  Calculates the age modifier 2 marks
  Determines the gender modifier 2 marks
  Determines the computer modifier 2 marks
  Calculates the lucky sum 2 marks
  Determines the lucky number 2 marks
  Displays the lucky number 1 mark
  Checks if age is below min 2 marks
  Checks if age is above max 2 marks
  Sets age to the default if the age question is skipped 1 mark
  Checks if male or female not entered for the gender 2 marks
  Sets gender to the default if the gender question is skipped 1 mark
  Checks if the computer type wasn't one of the listed options 4 marks
  Sets computer type to the default if the question is skipped 1 mark
  Program allows for upper or lower case input (gender and computer type, re-run prompt - if implemented) 3 marks
  Program can re-run itself 3 marks
     

Total points

ASSIGNMENT GRADE