There are 24 problems, of which 8 are "worked" or "practice" problems with nothing to turn in. You have two weeks, so that's about 1.7 problems per day, a third of which don't need to be turned in.
choose-picture
)count-votes-4
)smallest-of-3
)build-image
)carpet-price
)who-won
)4-votes->winner
)For programming problems, as usual, I want to see all the steps of the recipe, except that in the course of writing a function body, you normally replace the "..." that was in the function skeleton. I recommend putting all of the programming problems in one big Definitions pane, because some of them depend on others.
For all the animation problems, please include a
check-with
clause.
Send me an e-mail, attaching the file containing your saved Definitions pane. (Make sure to save it, then test it, then e-mail it to me, or I may end up grading an out-of-date version.) Make sure to put your name(s) in the Subject line!
If there's a particular function that you can't get working, turn in as many steps of the recipe as you've managed to do, commented out (so they don't mess up the other functions).
Also turn in a log of how many errors of different kinds you encountered in the assignment, with brief comments describing each one ("mismatched parentheses" is self-explanatory, but more complex errors might need more description). Note that "errors" means not only error messages from DrScheme, but also wrong answers. You may do this using the PSP forms, or simply by keeping track in a text file or on paper and turning it in.
In order to get you feedback quickly, I won't actually grade all of these problems; the rest should be considered practice.
Error log: 25 points
(I'm not grading on how many or how few errors you encountered,
only on whether you recorded them correctly.)
The table below has columns for each step in the design recipe, and a row for each function that I decide to grade. You won't turn in a separate skeleton, inventory, and body, but rather write a skeleton and then add inventory and body to turn it into a complete definition. However, if you don't get the definition working, you'll still get partial credit for a correct contract, skeleton, and/or inventory.
If you've gotten this far in the semester, you know how to write a function skeleton, so I don't think I'll bother grading those any more.
Function | Contract | Examples | Inventory | Body |
---|---|---|---|---|
whatever |
/5 | /5 | /5 | /15 |
Following directions | /10 |
Writing contracts from word problems | /10 |
Choosing examples | /10 |
Choosing names, indentation, white space... | /10 |
Coding | /10 |
Code re-use and function composition | /10 |