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

CPSC 233: Assignment 4 (Marking)

Score Letter
A+ 56 - 57
A 54 - 55
A- 52 - 53
B+ 50 - 51
B 48 - 49
B- 46 - 47
C+ 41 - 45
C 36 -40
C- 31 - 35
D+ 26 - 30
D 18 - 25
D- 10 - 17
F 0 - 9

SUBMISSION REQUIREMENTS

Item

Effect on grade

Java source code files not submitted together in a zip file 4 marks lost
Uses static methods (other than the main method) Divide program functionality marks by two (rounded down)1
Program consists of only a single class: Divide program functionality marks by two (rounded down)1

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

 

DOCUMENTATION

 

Actual mark

Max

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

 

PROGRAMMING STYLE

 

Actual mark

Max

  Naming conventions Poor -2  Some poorly named identifiers +0   Good and clear throughout +4   4
  Layout and appearance of the Java source code (alignment, formatting, whitespace) Very cluttered, no whitespace -2 Slightly too much/too little +0 Appropriate use of whitespace: +2   3
  Appropriate use of constants         1
  TOTAL         8

 

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