MCS-177 Homework assignment 1 (Fall 2000)
General directions
All procedures submitted on any homework, daily assignment or lab
should be thoroughly tested on the computer so they work for all
reasonable inputs. (For example, if a procedure is written
to compute n factorial, it should work for positive
integers.) If a procedure fails to work, you should state how it
fails. You will be graded more severely for unreported bugs.
If, every once in a while, you don't get a chance to test your daily
exercise, that is acceptable. Write ``untested'' next to the code.
Always be sure to cite any help you receive (from a classmate or
outside reference) at the top of the appropriate problem or procedure
for which you receive help. Be specific about the nature of the help.
Homework set 1 (due Friday, September 15)
- Exercise 1.6 in the text
- Exercise 1.16
- Write a scheme procedure to find the sum of the squares of 3 numbers.
- Exercise 2.2
- Exercise 2.5
Daily Prep Problems
- Read sections 1.1-1.3. Do exercise 1.5 (9/8)
- Read section 2.1. Do exercise 2.1 (9/11)
- Read section 2.2. Do exercise 2.4 (9/13)
- Read sections 2.3-2.4. Do exercise 2.9 (9/15)