Introduction to Computer Science I by James Tam Return to the course web page

CPSC 231: Assignment 7 (Marking)

Score Grade Grade point
62 - 64 A+ 4.3
59 - 61 A 4.0
56 - 58 A- 3.7
52 - 55 B+ 3.3
48 - 51 B 3.0
44 - 47 B- 2.7
40 - 43 C+ 2.3
36 - 39 C 2.0
32 - 35 C- 1.7
28 - 31 D+ 1.3
21 - 27 D 1.0
11 - 20 D- 0.7
0 - 10 F 0.0

 

Category

Effect on grade

Submission guidelines

 

  Incomplete contact information on printout -2 marks
  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 (if submission was mailed) -4 marks
     
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 10 marks maximum
  Naming conventions (e.g., variables, constants) 2 marks
  Appearance and whitespace 2 marks
  Consistency of formatting 2 marks
  Initialization of variables before they are used 2 marks
  Program uses global variables (debugging flags excepted) -4 marks for all (and not each) cases
  Program does not employ the principles of modular design e.g., program divided into functions and procedures each with a clearly defined task -4 marks
  Appropriate use of constants 2 marks
     
Program functionality 40 marks maximum
  Displays an introduction each time that the game is run 1 mark
  Display a conclusion each time that the game ends with the status of the game 1 mark
  Displays a menu of movement options 1 mark
  Homer can move in the four compass directions 6 marks
  Game prevents Homer from moving in one of the inter-cardinal directions 2 marks
  Player cannot enter a movement direction larger than nine 2 marks
  Entering zero for the direction allows the player to quit the game 2 marks
  Entering a negative number for the direction toggles debugging messages on/off 3 marks
  Homer cannot enter an occupied square 2 marks
  Homer drowns if he is moved into the water 3 marks
  Homer has a 25% chance of ignoring a proper movement command 2 marks
  The game tracks the amount of time Homer spends in Alaska (3 marks maximum)
    Simple version: Homer freezes if he spends 10 non-successive turns in Alaska        2 marks
    Enhanced version: Homer freezes only if he spends 10 successive turns in Alaska OR 3 marks
  The game is won if Homer is moved onto the 'Springfield' square 3 marks
  The agents of the EPA are moved in the proper fashion 6 marks
  EPA agents can capture Homer 3 marks

Total marks

ASSIGNMENT GRADE