Question | Points | Actual | Description | Notes |
1. 15 pts. |
+5 | data def/entry | ||
+5 | data def/person | |||
+5 | data def/list | |||
2. 5 pts. |
+3 | comment for state variable (type/purpose) | ||
+2 | define | |||
3. 20 pts. |
+5 | contract/purpose/EFFECT | ||
+5 | function heading/parameter names | |||
+5 | only one (make-person...) in function | |||
+5 | program logic | |||
4. 20 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | Program logic (uses map correctly) | |||
+5 | helper | |||
5. 10 pts. |
+5 | program logic (calling function) | ||
+5 | program logic (accumulator-style function) | |||
6. 15 pts. |
+5 | contract/purpose/EFFECT | ||
+5 | function heading/parameter names | |||
+5 | Program logic | |||
7. 20 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | program logic (calling function) | |||
+5 | program logic (accumulator-style function) | |||
8. 25 pts. |
+5 | contract/purpose/EFFECT | ||
+5 | function heading/parameter names | |||
+5 | program logic | |||
+5 | helper(s): contract/purpose | |||
+5 | helper(s): program logic | |||
9. 40 pts. |
+5 | tests commented | ||
+5 | tests labelled | |||
+5 | test for create-person | |||
+5 | test for list-names | |||
+5 | test for list-all-names | |||
+5 | test for add-contact | |||
+5 | test for most-contacts | |||
+5 | test for change-phone | |||
Points deducted
|
-5 | file not named as required | ||
-5 | authors' names not listed in comments | |||
-5 | poor formatting/organization | |||
-42 | Unexcused late submission | |||
TOTAL 170 pts. |