CSC 160 Fall 2007 - Homework 5
Assigned Oct 10, due FRIDAY Oct 19
Log the time you spend on this assignment using a log sheet with
all the same columns as the one attached to the PSP Chapter 3
handout. For your convenience, I have attached a blank Microsoft
Excel copy of it here.
Note: The exercises for the checkerboard2 function have
been
removed.
Read Chapter 6 of Dr. Bloch's textbook.
Do the following exercises from Dr. Bloch's textbook in DrScheme,
to develop a function named
pinwheel:
Exercise 6.3.3
Exercise 6.4.3 (include three test cases)
Exercise 6.5.3
Exercise 6.6.2 (Copy and paste the skeleton then place this function
body inside of it.)
Hint: Use the solution to Exercise
2.4.5 from HW2 as a guide to write the expression.
Exercise 6.7.1 (for pinwheel)
Submitting your Assignment
Please submit your Definitions Pane, Interactions Pane, and Log Sheet
using the Digital Dropbox in the Tools menu on
Blackboard. Be sure to include your first and
last name in the Name Box on Blackboard, and click Send File (not Add File)!
The file name for the Definitions Pane needs to
be "hw5[section][LastName]Def.scm" where:
[section] is replaced by -01 for the 9am class and -02 for the 10am class.
[LastName] is replaced with your last name.
For example, if I were submitting this
assignment and I were in the 10am class, I would name the file
"hw5-02WittensteinDef.scm".
Similarly, the file name for the Interactions Pane needs to be
"hw5[section][LastName]Int.scm", and the file name for the Log Sheet needs
to be "hw5[section][LastName]".
Please let me know if this is not clear or if you are unsure exactly
what filename to use. Part of your grade is using the correct filenames.
| GRADING |
| Question |
Point Value |
| 6.3.3 |
20 |
| 6.4.3 |
15 |
| 6.5.3 |
10 |
| 6.6.2 |
20 |
| 6.7.1 (pinwheel) |
15 |
| PSP Log |
10 |
| Filenames |
10 |
| Total |
100 |
Last Modified: 10/18/07