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

CPSC 231: Assignment 7 (Marking)

 

Catagory

Effect on grade

Submission guidelines

 

  Missing contact information on printout -1 point
  Missing printout with source code -1 point
  Missing or incomplete README file -1 point
  Missing electronic submission Max grade receivable D-
  Missing or incorrect title in the subject line of email -2 points
Style marks  
  Inconsistent or highly unusual formatting conventions -1 point for all cases (and not for each case)
  Insufficient or grossly excessive use of whitespace -1 point for all cases
  Inadequate or grossly excessive documentation -1 point for all cases
  No documentation -3 points
  Program uses global variables (save for debugging tools) -2 points for all cases
  Unnamed constants are employed when a named constant could be employed -2 point for all cases
  Poor naming conventions for identifiers (e.g., variables and constants) -2 point for all cases
  Grossly inefficient program code (e.g., unnecessary duplication of code) At the marker's discretion up to 2 marks may be lost
  Non-modular design (e.g., has the program been sufficiently decomposed into functions
and procedures).
At the marker's discretion up to 6 marks may be lost
     
Marks for the base assignment 6 points
Marks for the extra features  
 
  1. Player can enter row, column coordinates of the square to be squirted.  The game ends early if the player enters -1 for either the row or column value.
2 points
 
  1. The game checks if the square to be squirted is within the bounds of the array
2 points
 
  1. The game checks if the square to be squirted contains a weed.  Squirted weeds 'die' off (appear as the 'S' character for one turn and reduce the current number of weeds left by one).
4 points
 
  1. The game checks if the win game condition has been met.  If so, the game should end and a suitable congratulatory message should be displayed.
4 points
 
  1. Instead of starting off with a single weed the game starts off with 8 weeds.
2 points
 
  1. Rather than sprouting at the same fixed locations, the location where weeds sprout is randomly generated.
4 points

Total points

ASSIGNMENT GRADE