CSC 160 Fall 2012 - Homework 1
Assigned Aug 29 & Sept 5, due MONDAY Sept 10
Assigned W 8/29
Textbook Reading (to review today's class):
Read the syllabus.
Submit the tear-off from the syllabus in class on Wed 9/5.
Read Chapter 0 of the text, except for Section 0.3.4.
Setting Up DrRacket:
Follow the directions in Sections 0.3.1-0.3.3 to set up
DrRacket on your home or dorm
computer.
Textbook Reading (to prepare for next class):
Read Sections 1.1-1.6 of the text in front of a computer, so
that you can try things, like the Worked Exercises, in DrRacket as you
read. Update to page 10 of printed
edition.
Typo on page 14
of printed edition. Typo on
page 16 of printed edition.
Read this article
on "Joys
and Woes".
Required Written Exercise:
Type a one or two paragraph summary of the "Joys and
Woes" article using a word processing program like Microsoft
Word.
Assigned W 9/5:
Textbook Reading (to review today's class):
Read Sections 1.1-1.6 of the text. Update to page 10 of printed
edition. Typo on page 14
of printed edition. Typo on
page 16 of printed edition.
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.
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, whose
solution is in Section 1.5 of the Chapter 1 Powerpoint slides on Moodle,
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 to submit the tear-off from the syllabus in class
and exactly TWO files on Moodle:
1) 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".
2) For the "Joys and Woes" summary, the filename needs to be
"hw1[LastName].doc" or "hw1[LastName].docx" or
"hw1[LastName].rtf".
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 |
5 |
Syllabus |
5 |
Total |
100 |
Last Modified: 9/5/12