CSC 160 Fall 2013 - CW2
Assigned M 10/14 4:15pm, Due Same Day at 5:15pm


DIRECTIONS
1) In the spirit of the pair programming article that you read and summarized in HW6, this assignment is to be done in pairs of two students, as chosen by the instructor.
2) You must follow the Design Recipe in order. Do not start any step until you have completed all previous steps!
3) You need to submit one copy of your Definitions Pane and one copy of your Interactions Pane through Moodle with the filenames "cw2[LastNames]Def.rkt" and "cw2[LastNames]Int.rkt", where [LastNames] is replaced by the last names of the two people in your pair, and both names appear as a comment at the top of the Definitions pane.


THE ASSIGNMENT
  • [10 pts.] The bullseye function produces a bulls eye style target with two rings. It takes in two numbers indicating the radii of the outer ring and the inner disk and two strings representing the colors of the outer ring and the inner disk. To design this function, complete the following textbook exercises: 5.3.5, 5.4.5 (3 test cases), 5.8.4, 5.9.5, 5.11.4, and 5.12.1.
  • [Extra Credit - 10 pts.] Exercise 5.14.2 from the textbook (Show all Design Recipe Steps)



    Last Modified: 10/14/13