CSC 160
Homework 7

Assigned 3 Nov, due 12 Nov

Links to textbooks

Problems on structs

What to turn in and how

All of the problems are programming problems. There are several animations; deal with these as you did in the previous few assignments.

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.

Grading standards

Error log:       /30
(I'm not grading on how many or how few errors you encountered, only on whether you recorded them correctly.)

I sha'n't actually grade all the problems; consider the others "practice". For each function I grade, see the table below, which has columns for each step in the design recipe. You won't turn in a separate skeleton, inventory, and definition, but rather write a skeleton, then add an inventory, then add a body to turn it into a complete definition. However, if you don't get the definition working, comment it out and you'll still get partial credit for a correct skeleton and/or inventory.

Contract Examples Skeleton Inventory Definition Choice of model and handlers
(for animations)
Working animation
(for animations)
/5 /5 /5 /5 /15 /5 /5

General skills:

Following directions /10
Writing contracts from word problems /10
Choosing examples /10
Names, indentation, readability /10
Coding /10
Code re-use and function composition

Total:         /???


Last modified:
Stephen Bloch / sbloch@adelphi.edu