CSC 160 Fall 2012 - Homework 5
Assigned Oct 8 & 10, due MON Oct 15
Assignments with time stamps during class time (Mon or Wed 4:15-5:30pm) will be given a grade of ZERO.

Assigned M 10/8:
Textbook Reading (to review today's class):
  • Read Sections 4.6-5.4 of the textbook.

    Do the following exercises from the textbook in DrRacket, to begin developing a function named copies-beside:
  • Exercise 5.3.2
  • Exercise 5.4.2 (include three test cases)


  • Do the following exercises from the textbook in DrRacket, to begin developing a function named pinwheel:
  • Exercise 5.3.3
  • Exercise 5.4.3 (include three test cases)


  • Do the following exercises from the textbook in DrRacket, to begin developing a function named lollipop:
  • Exercise 5.3.7
  • Exercise 5.4.7 (include three test cases)


  • Textbook Reading (to prepare for next class):
  • Study Sections 3.5-5.4 for Wednesday's quiz!
  • Read Sections 5.5-5.10 of the textbook. Typo on page 82 of printed edition.


    Assigned W 10/10:
    Textbook Reading (to review today's class):
  • Read Sections 5.5-5.10 of the textbook. Typo on page 82 of printed edition.


  • Do the following exercises from the textbook in DrRacket, to continue developing a function named copies-beside:
  • Exercise 5.8.1
  • Exercise 5.9.2


  • Do the following exercises from the textbook in DrRacket, to continue developing a function named pinwheel:
  • Exercise 5.8.2
  • Exercise 5.9.3


  • Do the following exercises from the textbook in DrRacket, to continue developing a function named lollipop:
  • Exercise 5.8.6
  • Exercise 5.9.7


  • Do the following exercises from the textbook in DrRacket, to begin developing a function named dot-grid:
  • Exercise 5.3.6
  • Exercise 5.4.6
  • Exercise 5.8.5
  • Exercise 5.9.6


  • Textbook Reading (to prepare for next class):
  • Read Sections 5.11-5.16 of the textbook.
  • Read this article on Pair Programming.


  • Required Written Exercise:
  • Type a one page (200-300 words) summary of the Pair Programming article. Use the filename "hw5[LastName].doc". Make sure to use spell and grammar check before submitting.



  • Submitting your Assignment
    You are required to submit this assignment in a single Definitions Pane through Moodle. Points will be deducted for completing the assignment with multiple Definitions Panes.

    Be sure to include your first and last name as a comment in the first line of the Definitions Pane.

    The file name for the Definitions Pane needs to be "hw5[LastName]Def.rkt" where:
  • [LastName] is replaced with your last name.
  • For example, if I were submitting this assignment, I would name the file "hw5WittensteinDef.rkt".

    Also, submit the Pair Programming article summary with the filename "hw5[LastName].doc".
    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 filename.


    GRADING
    Question Point Value
    5.3.2 (copies-beside) 6
    5.4.2 6
    5.8.1 4
    5.9.2 4
    5.3.3 (pinwheel) 6
    5.4.3 6
    5.8.2 4
    5.9.3 4
    5.3.6 (dot-grid) 6
    5.4.6 6
    5.8.5 4
    5.9.6 4
    5.3.7 (lollipop) 6
    5.4.7 6
    5.8.6 4
    5.9.7 4
    Summary 15
    Filenames 5
    Total 100




    Last Modified: 10/8/12