CSC 160 Fall 2013 - Homework 6 (100 points)
Assigned Oct 7 & 9, due MONDAY Oct 14, extended to TUES Oct 15
1) Assignments with time stamps during class time (Mon or Wed 4:15-5:30pm) will be given a grade of ZERO.
2) Start this homework as soon as possible so that you have time to get any help you may need from the instructor or course tutor prior to when the assignment is due.
3) Do not start the exercises until to have fully read and fully understood the corresponding textbook sections. If there is something you do not fully understand, you must contact the instructor or course tutor prior to starting the assigned exercises.

***Cannot be submitted late for any reason, since solutions will be posted shortly after midnight on the due date, so that students can study them before the quiz.***


Assigned M 10/7:
Textbook Reading (to review today's class):
  • Read Sections 5.1-5.5 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 with expected answers in quotation marks)

    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 with expected answers in quotation marks)

    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 with expected answers in quotation marks)

    Textbook Reading (to prepare for next class):
  • Read Sections 5.5-5.16 of the textbook.  Typo on page 82 of printed edition.
  • Read this article on Pair Programming.

    Required Written Exercise:
  • Type a one page (200-300 words) summary of the Pair Programming article, using a word processing program like Microsoft Word.


    Assigned W 10/9:
    Textbook Reading (to review today's class):
  • Read Sections 5.5-5.16 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 finish developing a function named pinwheel:
  • Exercise 5.8.2
  • Exercise 5.9.3
  • Exercise 5.11.2
  • Exercise 5.12.1 (testing the pinwheel function)

    Do the following exercises from the textbook in DrRacket, to finish developing a function named lollipop:
  • Exercise 5.8.6
  • Exercise 5.9.7
  • Exercise 5.11.5
  • Exercise 5.12.1 (testing the lollipop function)

    Textbook Reading (to prepare for next class):
  • Read Sections 7.1-7.6 of the textbook.



    Submitting your Assignment
    You are required to submit this assignment in a single Definitions Pane and a single Interactions Pane through Moodle. Points will be deducted for completing the assignment with multiple Definitions and/or Interactions Panes. Be sure to include your first and last name as a comment in the first line of the Definitions Pane and the Interactions Pane.

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

    Also, submit the Interactions Pane with the filename "hw6[LastName]Int.rkt" and the Pair Programming article summary with the filename "hw6[LastName].doc". Make sure to run spell check and grammar check before submitting the article summary..

    Please let me know if this is not clear or if you are unsure exactly what filename to use. Points will be deducted from all assignments that do not use the correct filenames.


    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.11.5 10
    5.3.7 (lollipop) 6
    5.4.7 6
    5.8.6 4
    5.9.7 4
    5.11.3 10
    5.12.1 (pinwheel & lollipop) 5
    Summary 15
    Total 100




    Last Modified: 10/14/13