|
Introduction to Computer Science II for majors by James Tam |
|
|
Actual mark |
Max |
|||||||
| Naming conventions | Poor -2 | Some poorly named identifiers +0 | Good and clear throughout +2 | 2 | |||||
| Code layout (alignment, formatting, whitespace) | Very cluttered, no whitespace -2 | Slightly too much/too little +0 | Appropriate use of whitespace: +2 | 2 | |||||
| Program output layout | Very cluttered, no whitespace, formatting -2 | Slightly too much/too little +0 | Appropriate use of whitespace: +2 | 2 | |||||
| Appropriate use of named constants | 1 | ||||||||
| Each method implements one well defined task | Never -4 | Seldom +1 | Sometimes +2 | Usually +3 | Always +4 | 4 | |||
| Each class (save the Driver) consists of at least 3 methods | Never -4 | Seldom +1 | Sometimes +2 | Usually +3 | Always +4 | 4 | |||
| Each method doesn't exceed a screen size in length, 40 lines | Never -4 | Seldom +1 | Sometimes +2 | Usually +3 | Always +4 | 4 | |||
| TOTAL | 19 | ||||||||
|
|
|
|
|
|
|
|
|||
DOCUMENTATION |
|
||||||||
|
|
Actual mark |
Max |
|||||||
| Header documentation. Driver class (Program limitations) | 1 | ||||||||
| Header documentation. Driver class (Program versioning) | 1 | ||||||||
| Header documentation. Driver class (Assignment features implemented) | 8 | ||||||||
| Header documentation. All classes other than the Driver | 4 | ||||||||
| Missing contact information in submission (name and student number). Other marks will be granted only if we can determine authorship | -4 | ||||||||
| TOTAL | 14 | ||||||||
PROGRAM FUNCTIONALITY |
|||||||||
| Actual mark | Max | ||||||||
| Displays intro | 1 | ||||||||
| Displays signoff conclusion | 1 | ||||||||
| Defines Movie class outline | 1 | ||||||||
| Defines MovieNode class outline | 1 | ||||||||
| Defines Manager class outline | 1 | ||||||||
| Declares and properly initializes list head as part of Manager class | 1 | ||||||||
| Define UserInterface class outline | 1 | ||||||||
| Displays menu | 1 | ||||||||
| Program repeats until user quits, quit menu option working | 1 | ||||||||
| Program checks/handles invalid menu options | 1 | ||||||||
| Add movie | 8 | ||||||||
| Add to end (2 marks) | |||||||||
| In order add (8 marks) | |||||||||
| Checks genre, allows user to cancel add | 2 | ||||||||
| Checks rating, allows user to cancel add | 2 | ||||||||
| Displays list | 4 | ||||||||
| Search list | 6 | ||||||||
| Remove movie | 8 | ||||||||
| Remove last movie (2 marks) | |||||||||
| Remove desired movie (8 marks) | |||||||||
| Recursive and opposite order display of list | 4 | ||||||||
| TOTAL FOR PROGRAM FUNCTIONALITY |
44 |
||||||||
Overview of program (UML DIAGRAM) |
|||||||||
| Actual mark | Max | ||||||||
| Drawings of individual classes | 10 | ||||||||
| Relationships between classes | 2 | ||||||||
| TOTAL FOR UML DIAGRAM | 12 | ||||||||
TOTAL RAW SCORE FOR ASSIGNMENT |
89 | ||||||||
Item |
Effect on grade |
| Uses static methods (other than the main method) | Divide functionality marks by two1 |
| Program consists of only a single class: | Divide functionality marks by two1 |
| Functionality not assigned to the appropriate class as specified in the assignment description | Max loss of 8 marks (tallied after the above two modifiers, if applicable) |
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.
| Min. raw score | Grade point |
| 0 | 0 |
| 20 | 0.7 |
| 30 | 1 |
| 32 | 1.1 |
| 34 | 1.2 |
| 36 | 1.3 |
| 38 | 1.4 |
| 40 | 1.5 |
| 42 | 1.6 |
| 44 | 1.7 |
| 46 | 1.8 |
| 48 | 1.9 |
| 50 | 2 |
| 52 | 2.1 |
| 54 | 2.2 |
| 56 | 2.3 |
| 58 | 2.4 |
| 60 | 2.5 |
| 62 | 2.6 |
| 64 | 2.7 |
| 66 | 2.8 |
| 68 | 2.9 |
| 70 | 3 |
| 72 | 3.1 |
| 74 | 3.2 |
| 76 | 3.3 |
| 78 | 3.4 |
| 80 | 3.5 |
| 82 | 3.6 |
| 83 | 3.7 |
| 84 | 3.8 |
| 85 | 3.9 |
| 86 | 4 |
| 87 | 4.1 |
| 88 | 4.2 |
| 89 | 4.3 |