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 (calls accumulator-style helper OR higher-order function) | |||
+5 | helper written accumulator-style OR helper for map/filter correct | |||
5. 15 pts. |
+5 | contract/purpose/EFFECT | ||
+5 | function heading/parameter names | |||
+5 | program logic | |||
6. 20 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | Program logic (calls accumulator-style helper) | |||
+5 | helper written accumulator-style | |||
7. 25 pts. |
+5 | contract/purpose/EFFECT | ||
+5 | function heading/parameter names | |||
+5 | program logic | |||
+5 | helper(s): contract/purpose | |||
+5 | helper(s): program logic | |||
8. 35 pts. |
+5 | tests commented | ||
+5 | results labelled | |||
+5 | test for create-person | |||
+5 | test for list-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 | |||
-38 | Unexcused late submission | |||
TOTAL 155 pts. |