CSC 160 Fall 2011 - Homework 1
Assigned Aug 31 & Sept 7, due MONDAY Sept 12


Assigned W 8/31
Textbook Reading (to review today's class):
  • Read Sections 0.1-1.1 of the text, except for Section 0.3.4. Update to page 10 of printed edition.

    Setting Up DrRacket:
  • Follow the directions in Sections 0.3.1-0.3.3 to set up DrRacket on your home or dorm computer.

    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. Typo on page 14 of printed edition.   Typo on page 16 of printed edition.
  • Read this article on "Joys and Woes".


    Assigned W 9/7:
    Textbook Reading (to review today's class):
  • Read Sections 1.2-1.6 of the text. Typo on page 14 of printed edition.   Typo on page 16 of printed edition.

    Required Written Exercise:
  • Write a one or two paragraph summary of the "Joys and Woes" article.

    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 in the textbook.]

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



    Submitting your Assignment
    For full credit, you are required to submit a single Interactions Pane with all these exercises (except the "Joys and Woes" summary) 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".

    For the "Joys and Woes" summary, please type it in Microsoft Word. The filename needs to be "hw1[LastName].doc" or "hw1[LastName].docx".

    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 10
    1.2.4 10
    1.2.6a 10
    1.5.2 20
    1.5.5 25
    Summary 15
    Filenames 10
    Total 100




    Last Modified: 11/6/11