CSC 160 Fall 2014 - Homework 1b (80 points)
Assigned Sept 3, due MON Sept 15
Assignments submitted on Moodle with time stamps during
class time (Mon or Wed 4:15-5:30pm) will be given a grade of ZERO.
[30 pts.] Chapter 1A
Read Sections 1.1-1.4 of the textbook. Update to page 10 of printed edition. Typo on page 14
of printed edition. Typo on
page 16 of printed edition.
Do the following exercises in a single Interactions Pane:
1.2.1: Write an expression to reflect a picture horizontally.
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.
1.2.6a: Pick three different images of similar size
and shape, all reasonably small. Use beside to put the three
pictures next to each other from left to right.
Save this file to your computer or flash drive with the filename "ch1aLASTNAMEint.rkt".
Upload this file to Moodle, using the link for HW1.
[40 pts.] Chapter 1B
Read Sections 1.5-1.6 of the textbook.
Do the following exercises in a single Interactions Pane:
1.5.2: Write an expression which displays a picture beside its top-to-bottom reflection.
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.]
Save this file to your computer or flash drive with the filename "ch1bLASTNAMEint.rkt".
Upload this file to Moodle, using the link for HW1.
[10 pts.] PSP Handout
Read pages 1-11 of the handout. (Handout will be given out in class on Wed 9/10.)
Do the Assignment on page 7.
Submit on paper in class by the due date OR Moodle with the filename "hw1LASTNAMEpsp".
| GRADING |
| Question |
Point Value |
| 1.2.1 |
10 |
| 1.2.4 |
10 |
| 1.2.6a |
10 |
| 1.5.2 |
20 |
| 1.5.5 |
20 |
| PSP pg.7 |
10 |
| HW1b Total |
80 |
Last Modified: 2/10/14