CSC 160 Homework 10

Assigned Dec. 3, due Dec. 16

Note: no homework will be accepted after Dec. 16!

Homework 10a, to be done individually

Re-read the adages page, and choose one (or several closely-related) adages, or one longer article, that mean more to you than they did in September.
Write an essay of one or more well-structured paragraphs: what does it really mean in practice? Do you agree or disagree? Support your claims with specific examples from your own programming experience.

Homework 10b, to be done with a partner if you wish

As usual, you need to turn in your source code (the contents of a definitions window), your test runs (the contents of an interactions window after you've executed the definitions), and your error log. You may keep the error log in a text file and e-mail it in, or you may instead use the PSP on-line forms.

As usual, be sure to follow the design recipe for every function. You may use either nested-cons notation or list notation, whichever you are more comfortable with.

For the first few problems, you'll need to set DrScheme to at least the "Intermediate Student" language level. For the last few, you'll need "Advanced Student".

Grading standards

Essay:       /300

Error log:       /15

rewriting w/local     Definition:   /20 Results:   /5
smallest Contract:   /5 Examples:   /5 Definition:   /10 Results:   /5
leftmost Contract:   /5 Examples:   /5 Definition:   /10 Results:   /5
champion Contract:   /5 Examples:   /5 Definition:   /10 Results:   /5
re-write smallest       Definition:   /10 Results:   /5
re-write leftmost       Definition:   /10 Results:   /5
re-write winner   /5   /5 Definition:   /10 Results:   /5
count-down   /5   /5 Definition:   /10 Results:   /5
give-raise!   /5   /5 Definition:   /10 Results:   /5
give-raises!   /5   /5 Definition:   /10 Results:   /5
ask-and-give-raises! (extra credit)   /5   /5 Definition:   /10 Results:   /5

General skills:

Following directions /20
Writing contracts from word problems /20
Choosing examples /20
Choosing names /20
Coding /20
Code re-use and choice of auxiliaries /20

Total:         /665


Last modified:
Stephen Bloch / sbloch@adelphi.edu