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

CPSC 233: Assignment 5 (Marking)

Score Letter
A+ 57 - 58
A 55 - 56
A- 53 - 54
B+ 50 - 52
B 47 - 49
B- 44 - 46
C+ 41 - 43
C 36 - 40
C- 31 - 35
D+ 26 - 30
D 21 - 25
D- 11 - 20
F   0 - 10

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 documentation   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
  Methods are implemented to handle one clearly defined task         3
  Subtotal style         11

 

PROGRAM FUNCTIONALITY

 

Actual mark

Max

Cheat menu (11)    
  Invulnerability mode   2
  Slip stream drive   4
  Photonic cannon   2
  Debugging mode   2
  Quit cheat menu   1
       
Federation starship (6)    
  Definition of the class (includes new shield : hull ratio, appearance) , initialization and instantiation   2
  Regenerative shielding   2
  Quantum torpedo   2
       
Jem’Hadar battleship (5)    
  Definition of the class (includes appearance), initialization and instantiation    2
  New phaser damage range   1
  Phasers penetrate shielding   2
       
Klingon attack cruiser (8)    
  Definition of the class (includes appearance), initialization and instantiation    2
  Cloaking device: invisible during movement phase, visible during attack   1
  Cloaking device: first strike capability   3
  Disruptor damage effect on shields   2
       
Borg cube (8)    
  Definition (includes appearance, extra hull and shield values), initialization and instantiation   2
  Transwarp drive   3
  Adapts to attacks (damage reduction)   3
       
  Subtotal functionality   38
     

TOTAL MARKS

 

LETTER GRADE