Question | Points | Actual | Description | Notes |
1. 19 pts. |
+5 | comment/define-struct (position player) | ||
+5 | comment/define-struct (pitcher) | |||
+5 | data definition for player (union) | +4 | at least one example of each kind of player | |
2. 20 pts. |
+2 | contracts specified for all templates | ||
+5 | player contract has cond with 2 questions | |||
+5 | position player selectors | |||
+5 | pitcher selectors | |||
+3 | one template for each data def in Problem 1 | |||
3. 20 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | program logic/follows template | |||
+5 | at least 2 test cases | |||
4. 20 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | Program logic/follows template | |||
+5 | at least 4 test cases | |||
5. 20 pts. |
+5 | contract/purpose | ||
+5 | function heading/parameter names | |||
+5 | Program logic/follows template | |||
+5 | at least 4 test cases | |||
Points deducted
|
-5 | file not named as required | ||
-5 | name/username not listed in comments | |||
-5 | source file poorly formatted/organized | |||
TOTAL 99 pts. |