| Question | Points | Actual | Description | Notes |
| 1. 22 pts. |
+5 | comment/define-struct (film) | ||
| +5 | comment/define-struct (date) | |||
| +6 | 3 examples (film) | +6 | 3 examples (date) | |
| 2. 8 pts. |
+2 | contract for constructor | ||
| +3 | selectors correctly named | |||
| +3 | contracts for selectors | |||
| 3. 20 pts. |
+5 | contract/purpose | ||
| +5 | function heading/parameter names | |||
| +5 | program logic | |||
| +5 | at least 4 test cases | |||
| 4. 20 pts. |
+5 | contract/purpose | ||
| +5 | function heading/parameter names | |||
| +5 | Program logic | |||
| +5 | test cases (4) | |||
| 5. 20 pts. |
+5 | contract/purpose | ||
| +5 | function heading/parameter names | |||
| +5 | Program logic | |||
| +5 | test cases | |||
| 6. 25 pts. |
+5 | contract/purpose | ||
| +5 | function heading/parameter names | |||
| +5 | Program logic | |||
| +5 | Helper function(s) | |||
| +5 | test cases (there should be no highlighted code when you run your program with the test cases) | |||
| Points deducted
|
-5 | file not named as required | ||
| -5 | names/usernames not listed in comments | |||
| -5 | source file poorly formatted | |||
| 0 | If noted, this counts as your excused late HW | |||
| TOTAL 115 pts. |