Lecture notes for the Introduction to multidisciplinary Computer Science II by James Tam Return to the course web page

CPSC 219: Assignment 4 (Marking)

Score Letter
A+ 59 - 60
A 57 - 58
A- 55 - 56
B+ 52 - 54
B 49 - 51
B- 46 - 48
C+ 41 - 45
C 36 - 40
C- 31 - 35
D+ 26 - 30
D 21 - 25
D- 11 - 20
F 0 - 10

SUBMISSION REQUIREMENTS

Item

Effect on grade

Insufficient or missing contact information in the body of the email Maximum of 2 marks lost1
Incorrect or missing information in the subject line of the email Maximum of 4 marks lost1
1 (Getting any marks for the assignment assumes of course that we can still figure out who you are)  

 

DOCUMENTATION

 

Actual mark

Max

  Program versioning employed   1
  Each method has been properly documented   4
  Each class has been properly documented   4
  SUBTOTAL   9

 

STYLE

 

 Actual mark

Max

  Naming conventions (e.g., variable names)   2
  Appearance and whitespace   2
  Consistency of formatting   2
  Followings principles of good interaction design (ease of use, reasonable error handling)   2
  Program is written using static functions (save main): Divide program functionality marks by 21    
  Program consists of only a single class: Divide program functionality marks by 21    
  Methods are implemented to handle one clearly defined task   3
  SUBTOTAL   11

1 These two penalties are cumulative so if a program was written using only one class that was full of static methods then the student's program functionality mark would quartered.

PROGRAM FUNCTIONALITY

 

Actual mark

Max

  Classes listed in assignment description included (but not necessarily fully implemented, the class methods can be largely empty)   2
  The necessary objects are instantiated and properly initialized   2
  The galaxy has each sector bounded above, below, to the left and right   2
  The sectors are horizontally and vertically numbered   2
  Displays the movement menu   1
  Displays the attack menu   1
  Human player's ship can warp to adjacent sectors (marked halved if non-adjacent sectors can be reached which is halved further if game allows occupied sectors to be entered).   4
  Debug menu can be invoked from the movement or attack menu   2
  Player can quit the game from either the movement or attack menu   2
  Debug mode implemented   2
  Human player can attack adjacent computer-controlled ships   4
  Computer player can attack the human-player's ship if it's adjacent   4
  Cheat mode makes the player's ship invulnerable (the feature to allow computer ships to attack must have already been implemented to get credit for this feature)   4
  The game can be won   2
  The game can be lost   2
  Computer-controlled ships randomly move to adjacent sectors (the mark may be reduced in the same way that movement for the human player's ship is marked if this feature is not fully working)   4
  SUBTOTAL   40
       

TOTAL MARKS

 

LETTER GRADE