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 (GUI not text) | 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 method doesn't exceed a screen size in length, 40 lines | Never -4 | Seldom +1 | Sometimes +2 | Usually +3 | Always +4 | 4 | |
TOTAL: STYLE | 15 | ||||||
|
|
|
|
|
|
|
DOCUMENTATION1 |
|
|
|
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: DOCUMENTATION | 14 | |
PROGRAM FUNCTIONALITY2 |
||
Actual mark | Max | |
Program runs and displays the controls in the prescribed fashion (like the picture!) | 9 | |
Program can load the information from the starting file (number of contacts isn't fixed to the file size) | 9 | |
The information for the list of contacts is automatically saved when window is closed | 9 | |
The user can remove a contact using the remove button | 12 | |
The user can add a contact using the add button | 12 | |
The user can add a contact by pressing enter in the text field | 12 | |
The title bar displays appropriate feedback when a contact is removed | 9 | |
The title bar displays appropriate feedback when a contact is added | 9 | |
The title bar displays an appropriate sign off message when the window is closed | 4 | |
The program won't add an empty contact to the list, error message displayed | 6 | |
At least one layout class is used to make the layout appear in the prescribed fashion | 9 | |
TOTAL FOR PROGRAM FUNCTIONALITY |
100 |
|
TOTAL RAW SCORE FOR ASSIGNMENT |
129 |
2 These marks will only be awarded if the correctness of implementation can be determined as the program is running.
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.
Score | Grade point |
0 | 0 |
10 | 0.7 |
15 | 1 |
20 | 1.1 |
25 | 1.2 |
30 | 1.3 |
35 | 1.4 |
40 | 1.5 |
45 | 1.6 |
50 | 1.7 |
55 | 1.8 |
60 | 1.9 |
65 | 2 |
70 | 2.1 |
73 | 2.2 |
76 | 2.3 |
79 | 2.4 |
82 | 2.5 |
85 | 2.6 |
88 | 2.7 |
91 | 2.8 |
94 | 2.9 |
97 | 3 |
100 | 3.1 |
103 | 3.2 |
106 | 3.3 |
109 | 3.4 |
112 | 3.5 |
115 | 3.6 |
118 | 3.7 |
121 | 3.8 |
124 | 3.9 |
127 | 4 |