Question | Points | Actual | Description | Notes |
1. 22 pts. |
+5 | comment/define-struct (registrant) | ||
+5 | comment/define-struct (hotel) | |||
+6 | 3 examples (registrant) | +6 | 3 examples (hotel) | |
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 3 test cases | |||
4. 25 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | Program logic | |||
+5 | test cases | |||
+5 | helper with test cases | |||
5. 20 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | Program logic(calls helpers) | |||
+5 | test cases (2) | |||
6. 20 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | Program logic | |||
+5 | test cases (2) | |||
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. |