CSC 160 Fall 2007 - Homework 8
Assigned Nov 26, due MONDAY Dec 3


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.

Read Chapter 11-12 of Dr. Bloch's textbook. Omit sections 11.5 and 12.4.

Read Section 4 of How to Design Programs.

Do the following exercises from Dr. Bloch's textbook in DrScheme on your own or in pairs (using the ideas in the Pair Programming article):
  • Exercise 11.1.2 (show ALL Design Recipe steps including 3 well-chosen examples)

  • Exercise 12.1.3 (show ALL Design Recipe steps including 3 well-chosen examples)

  • Exercise 12.2.4 (show ALL Design Recipe steps including 5 well-chosen examples)



  • 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(s) in the Name Box on Blackboard, and click Send File (not Add File)!

    The file name for the Definitions Pane needs to be "hw8[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(s).
  • For example, if I were submitting this assignment and I were in the 10am class, I would name the file "hw8-02WittensteinDef.scm".

    Similarly, the file name for the Interactions Pane needs to be "hw8[section][LastName]Int.scm", and the file name for the Log Sheet needs to be "hw8[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
    11.1.2 (Contract) 3
    11.1.2 (Purpose) 3
    11.1.2 (Examples) 6
    11.1.2 (Skeleton) 3
    11.1.2 (Function) 12
    11.1.2 (Testing/Interactions Pane) 3
    12.1.3 (Contract) 3
    12.1.3 (Purpose) 3
    12.1.3 (Examples) 6
    12.1.3 (Skeleton) 3
    12.1.3 (Function Definition) 12
    12.1.3 (Testing/Interactions Pane) 3
    12.2.4 (Contract) 3
    12.2.4 (Purpose) 3
    12.2.4 (Examples) 10
    12.2.4 (Skeleton) 3
    12.2.4 (Function Definition) 8
    12.2.4 (Function Re-Use) +10
    12.2.4 (Testing/Interactions Pane) 3
    PSP Log 5
    Filenames 5
    Total 100+10




    Last Modified: 11/19/07