CSC 160 Fall 2013 - Homework 10 (100 points)
Assigned Nov 11 & 13, due Mon Nov 18

1) Assignments with time stamps during class time (Mon or Wed 4:15-5:30pm) will be given a grade of ZERO.
2) In the spirit of the pair programming article that you read and summarized in HW6, this week's homework assignment may be done in pairs. If you choose to work in pairs, you must find time outside of class to work together in person at one computer. As per the syllabus, you cannot "pair-off" with the same person more than once during the semester. If you choose to do the assignment in pairs, please submit one copy through Moodle where both last names are used in each file name and both names appear as a comment at the top of the Definitions Pane.
3) 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.
4) 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.


Assigned M 11/11
Textbook Reading (to review today's class):
  • Read Sections 11.6-11.7, 12, and 13.1-13.3 of the textbook.

    Do the following textbook exercises in DrRacket:
  • Exercise 13.2.3: Show ALL Design Recipe steps including 3 well-chosen examples. Write a function that is case-independent, so arguments of "nintendo" and "NINTENDO" both return true.
  • Exercise 13.2.4: Show ALL Design Recipe steps including 3 well-chosen examples.
  • Exercise 13.3.4: Show ALL Design Recipe steps including 3 well-chosen examples.

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


    Assigned W 11/13
    Textbook Reading (to review today's class):
  • Read Sections 13.3-13.6 of the textbook.

    Do the following textbook exercises in DrRacket:
  • Add a Data Analysis to Exercise 13.3.4
  • Exercise 13.4.1: Show ALL Design Recipe steps including Data Analysis and 3 well-chosen examples
  • Exercise 13.5.1: Show ALL Design Recipe steps including 3 well-chosen examples [Make sure to type (require picturing-programs) at the top of the Definitions Pane.]

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


    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 your Definitions Pane.

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

    If this filename is not used, points will be deducted from the assignment grade.


    GRADING
    Question Point Value
    13.2.3 (Total) 18
    13.2.3 (Contract/Purpose) 3
    13.2.3 (3 Examples) 3
    13.2.3 (Skeleton w/Inventory) 4
    13.2.3 (Fill in function body) 8
    13.2.4 (Total) 18
    13.2.4 (Contract/Purpose) 3
    13.2.4 (3 Examples) 3
    13.2.4 (Skeleton w/Inventory) 4
    13.2.4 (Fill in function body) 8
    13.3.4 (Total) 22
    13.3.4 (Contract/Purpose) 3
    13.3.4 (Data Analysis) 4
    13.3.4 (3 Examples) 3
    13.3.4 (Skeleton w/Inventory) 4
    13.3.4 (Fill in function body) 8
    13.4.1 (Total) 24
    13.4.1 (Contract/Purpose) 3
    13.4.1 (Data Analysis) 4
    13.4.1 (3 Examples) 3
    13.4.1 (Skeleton w/Inventory) 4
    13.4.1 (Fill in function body) 10
    13.5.1 (Total) 18
    13.5.1 (Contract/Purpose) 3
    13.5.1 (3 Examples) 3
    13.5.1 (Skeleton w/Inventory) 4
    13.5.1 (Fill in function body) 8




    Last Modified: 11/13/13