CSC 160 Fall 2013 - Homework 5 (50 points)
Assigned Sept 30 & Oct 2, due MON Oct 7

Assignments submitted on Moodle with time stamps during class time (Mon or Wed 4:15-5:30pm) will be given a grade of ZERO.

Assigned M 9/30
Textbook Reading (to review today's class):
  • Read Sections 4.3-4.4 of the textbook.

    Required Exercises from the textbook on paper:
  • Do 4.3.2a: relating to HW4's 4.2.1 only (if you didn't do 4.2.1 or got it wrong, use the function definition given for 4.2.1 in the HW4 solutions on Moodle)
  • Do 4.3.2c: relating to HW4's 4.2.4 only (if you didn't do 4.2.4 or got it wrong, use the function definition given for 4.2.4 in the HW4 solutions on Moodle)
  • Do 4.4.1b: Type in the definition for the mystery function given in Exercise 4.3.1. Then, for the function call (mystery ball calendar):
         A) Write down which argument is matched with which parameter.
         B) Write down the first step that the Stepper would do. (Then check with the Stepper that you are correct.)
         C) Write down the second step (and check with the Stepper).
         D) Continuing until the Stepper is finished.

    Textbook Reading (to prepare for next class):
  • Read Sections 4.6-4.10 of the textbook.
  • Study Chapters 3-4 for Wednesday's quiz.


    Assigned W 10/2:
    Textbook Reading (to review today's class):
  • Read Sections 4.6-4.10 of the textbook.

    Do the following exercises from the textbook on paper:
  • Do 4.6.3a: drawing a box diagram for your solution to 4.2.1 (if you didn't do 4.2.1 or got it wrong, use the function definition given for 4.2.1 in the HW4 solutions on Moodle)
  • Do 4.6.3c: drawing a box diagram for your solution to 4.2.4 (if you didn't do 4.2.4 or got it wrong, use the function definition given for 4.2.4 in the HW4 solutions on Moodle)

    Textbook Reading (to review today's class):
  • Read Sections 5.1-5.10 of the textbook.  Typo on page 82 of printed edition.



    Submitting your Assignment
  • For the exercises done on paper (i.e. 4.3.2ac, 4.4.1b, 4.6.3ac), submit them in class or through Moodle by the due date.



    GRADING
    Question Point Value
    4.3.2a 10
    4.3.2c 10
    4.4.1b 10
    4.6.3a 10
    4.6.3c 10
    Total 50




    Last Modified: 10/2/13