CSC 160 Spring 2015 - CW4
Assigned M 4/13 5:00pm, Due at end of class


DIRECTIONS
1) In the spirit of the pair programming article that you read and summarized in HW5, you may do this assignment in pairs of two students. Do not pair up with the same student as any of the previous CW or HW assignments!
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 through Moodle with the filename "cw4LASTNAMESdef.rkt". Make sure both names appear as a comment at the top of the Definitions Pane.


THE ASSIGNMENT
[22 pts.] Exercise 13.4.0: Use the Design Recipe (including Data Analysis) to develop a function kids-price? which takes in the age of a person and returns whether that person can enter a movie theatre with a child's ticket. (Assume that the movie considers children to be under age 12.)
[18 pts.] Exercise 13.2.4: Use the Design Recipe to develop a function empty-string? that takes in a string and tells whether it was "".


GRADING
Question Point Value
13.4.0 (Contract/Purpose) 3
13.4.0 (Data Analysis) 4
13.4.0 (3 Examples) 3
13.4.0 (Skeleton w/Inventory) 2
13.4.0 (Fill in function body) 10
13.2.4 (Contract/Purpose) 3
13.2.4 (3 Examples) 3
13.2.4 (Skeleton w/Inventory) 2
13.2.4 (Fill in function body) 10
TOTAL 40




Last Modified: 4/13/15