CSC 160 Fall 2007 - Homework 7
Assigned Nov 9, due FRIDAY Nov 16
Extended to SATURDAY Nov 17


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.

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 8.6.2 (skip the last two lines in the question, where x = 5)

  • Exercise 8.6.3 (skip the last two lines in the question)

  • Exercise 8.7.3 (showing ALL Design Recipe steps including 3 examples)

  • Exercise 8.7.6 (showing ALL Design Recipe steps including 3 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 "hw7[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 "hw7-02WittensteinDef.scm".

    Similarly, the file name for the Interactions Pane needs to be "hw7[section][LastName]Int.scm", and the file name for the Log Sheet needs to be "hw7[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
    8.6.2 10
    8.6.3 10
    8.7.3 (Contract) 4
    8.7.3 (Purpose) 4
    8.7.3 (Examples) 6
    8.7.3 (Skeleton) 4
    8.7.3 (Function Definition) 12
    8.7.3 (Testing/Interactions Pane) 5
    8.7.6 (Contract) 4
    8.7.6 (Purpose) 4
    8.7.6 (Examples) 6
    8.7.6 (Skeleton) 4
    8.7.6 (Function Definition) 12
    8.7.6 (Testing) 5
    PSP Log 5
    Filenames 5
    Total 100




    Last Modified: 11/14/07