CSC 160 Fall 2010 - Homework 7
Assigned Nov 15 & 17 & 22, due MONDAY Nov 29


Assigned M 11/15
Textbook Reading (to review today's class):
  • Read Sections 6.5-6.6 of the textbook.

    Do the following exercise from the textbook in DrRacket:
  • Exercise 6.5.3: Modify your solution to Exercise 6.4.4 (from HW6) so the row of dots is always centered in the window.

    Submit Definitions Pane only with filename: "hw7[LastName]Nov15.rkt"

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


    Assigned W 11/17
    Textbook Reading (to review today's class):
  • Read Sections 6.7-6.10 of the textbook.

    Do the following exercise in DrRacket:
  • Exercise 6.6.9: Develop an animation which moves a picture of your choice up by 5 pixels every time a key is pressed on the keyboard, starting at the top-left corner (so the picture seems to fall off the top edge of the window). [Hint: Refer to the solutions on Moodle for: exercise 6.4.3 (presented in class on Nov 10) and exercise 6.6.2 (presented in class on Nov 17).]

    Submit Definitions Pane only with filename: "hw7[LastName]Nov17.rkt"

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




  • Assigned M 11/22
    Textbook Reading (to review today's class):
  • Read Sections 7.1-7.6 of the textbook.

    Do the following exercises in DrRacket:
  • Exercise 7.2.3 from the textbook.
  • Exercise 7.4.9: Write a Racket expression, as simple as possible, to represent the standard arithnmetic expression (3 + 4) * (7 - 2).

    Submit a Definitions Pane containing both of these exercises with filename: "hw7[LastName]Nov22.rkt"

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




  • GRADING
    Question Point Value
    6.5.3 40
    6.6.9 40
    7.2.3 10
    7.4.9 10
    Total 100




    Last Modified: 11/17/10