CSC 160 Spring 2014 - Homework 5 (100 points)
Assigned Mar 10, due MON Mar 24
1) Assignments submitted on Moodle 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.


To do after the M 3/10 class meeting:
Read this article on Pair Programming. Then, type a one page (200-300 words) summary of the Pair Programming article, using a word processing program like Microsoft Word. Make sure to use Spell Check and Grammar Check! Submit on Moodle using the filename "hw5[LastName]Summary".

Read Sections 5.1-5.4 of the textbook. Then, do the following exercises from the textbook in a single Definitions Pane:
  • To begin developing copies-beside: Exercises 5.3.2 and 5.4.2 (For 5.4.2, you must include three test cases with expected answers in quotation marks)
  • To begin developing pinwheel: Exercises 5.3.3 and 5.4.3 (For 5.4.3, you must include three test cases with expected answers in quotation marks)
  • To begin developing lollipop: Exercises 5.3.7 and 5.4.7 (For 5.4.7, you must include three test cases with expected answers in quotation marks)

    Save the Definitions Pane to your computer or flash drive with the filename "ch5[LastName]Def.rkt". Do not submit this file yet as you will continue working in the same file for the next part of this assignment!


    To do after the W 3/12 class meeting:
    Read Sections 5.5-5.12 of the textbook. (Typo on page 82 of printed edition.) Then, do the following exercises from the textbook in the same Definitions Pane as the above exercises:
  • To continue developing copies-beside: Exercises 5.8.1 and 5.9.2
  • To finish developing pinwheel: Exercises 5.8.2, 5.9.3, and 5.11.2. Also, you must test the function by following the directions in Exercise 5.12.1
  • To finish developing lollipop: Exercises 5.8.6, 5.9.7, and 5.11.5. Also, you must test the function by following the directions in Exercise 5.12.1

    Submit your Definitions Pane with the filename "ch5[LastName]Def.rkt" and the Interactions Pane with the filename "ch5[LastName]Int.rkt".


    GRADING
    Question Point Value
    Summary 20
    5.3.2 (copies-beside) 5
    5.4.2 5
    5.8.1 3
    5.9.2 3
    5.3.3 (pinwheel) 5
    5.4.3 5
    5.8.2 3
    5.9.3 3
    5.11.5 12
    5.3.7 (lollipop) 5
    5.4.7 5
    5.8.6 3
    5.9.7 3
    5.11.3 12
    5.12.1 (pinwheel & lollipop) 8
    Total 100




    Last Modified: 3/12/14