CSC 160 Fall 2010 - Homework 1
Assigned Sept 1 to 15, due MONDAY Sept 20


Assigned W 9/1
Textbook Reading (to review today's class):
  • Read Chapter 0 of the text.

    Setting Up DrRacket:
  • Follow the directions in Section 0.3 to set up DrRacket on your home or dorm computer, but use this website instead of the one given in the text.

    Textbook Reading (to prepare for next class):
  • Read Chapter 1 of the text.


    Assigned W 9/8
    Textbook Reading (to review today's class):
  • Read Sections 1.1-1.2 of the text.

    Required Exercises from the textbook in DrRacket:
  • Do 1.2.1: Write an expression to reflect a picture horizontally.
  • Do 1.2.4: Pick two different images of similar size and shape, both reasonably small. Use beside to put one of the pictures beside the other.
  • Do 1.2.6a: Pick three different images of similar size and shape, both reasonably small. Use beside to put the three pictures next to each other from left to right.

    Textbook Reading (to prepare for next class):
  • Read Sections 1.2-1.10 of the text.


    Assigned M 9/13
    Textbook Reading (to review today's class):
  • Read Sections 1.2-1.4 of the text.

    Textbook Reading (to prepare for next class):
  • Read Sections 1.5-1.10 of the text.


    Assigned W 9/15
    Textbook Reading (to review today's class):
  • Read Section 1.5-1.6 of the text.

    Required Exercises from the textbook in DrRacket:
  • Do 1.5.2: Write an expression which displays a picture beside its top-to-bottom reflection.
  • Do 1.5.5: Write an expression which displays four copies of a picture in a two-by-two square, each rotated differently: the top-left one should be the original picture, the top-right one should be the original picture rotated 90 degrees clockwise, the bottom-left one should be the original picture rotated 90 degrees counterclockwise, and the bottom-right one should be the original picture rotated 180 degrees. [Hints: 1) Use exercise 1.5.4 done in class as a starting point. 2) Read the hints on the bottom of Page 17 of Dr. Bloch's textbook.]

    Textbook Reading (to prepare for next class):
  • Read Sections 1.7-2.1 of the text & this article on "Joys and Woes".



    Submitting your Assignment
    For full credit, you are required to submit a single Interactions Pane with all these exercises through Moodle.
    Be sure to include your first and last name in a comment at the top of the file!

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

    Please let me know if this is not clear or if you are unsure exactly what filename to use. Part of your grade is using the correct filename.


    GRADING (out of 100)
    Question Point Value
    1.2.1 15
    1.2.4 15
    1.2.6a 15
    1.5.2 20
    1.5.5 25
    Filename 10
    Total 100




    Last Modified: 9/15/10