CS 107: Pictures and Sounds: Programming with Multimedia
Kalamazoo College
Spring 2008
READING &
HOMEWORK
ASSIGNMENTS
Reading Assignments, Problem Sets, Lab Entrance Assignments, and Programming Projects
will be listed here in chronological order by due date,
i.e., with the most recent ones at the bottom of the list.
Jump directly to
Week 1
| Week 2
| Week 3
| Week 4
| Week 5
| Week 6
| Week 7
| Week 8
| Week 9
| Week 10
This document was last modified on
May 28, 2008.
Week 1: Wednesday
- Reading Assignment:
- Read Chapter 1 and the beginning of Chapter 2 (up to section
2.4.3 on p. 28) of the textbook.
Bring your textbook to class, as we will be doing a
mini-lab. You may also wish to bring a
USB thumb drive to class, or be prepared to transfer files to and from
your own computer in your room if you have one.
- Problem Set:
- The first problem set is available
online.
Week 1: Thursday
- Lab Entrance Assignment for Lab
1:
- Make sure you know, or be sure to bring, your username (for
example, k00ab05) and
your KNET password. You may also want to consider
buying a USB thumb drive for storing backups.
Week 1: Friday
Looking Ahead:
- The Problem Set due Monday is to finish the Exploring
Functions Mini-Lab, if you have not already done so.
Week 2: Monday
Week 2: Wednesday
- Reading Assignment:
- Read the beginning of Chapter 3, through the Common Bug note on
continuing through the end of p. 56. (If you want to read a
description of how the recipe on p. 56 works, you can read the
section on tracing the program on pp. 57 - 60, but you may find it
easier to wait until after we have typed in and run this program in
class.)
Bring your textbook to class, as we will be doing a mini-lab in class
Week 2: Thursday
- Lab Entrance Assignment for Lab 2:
-
Answer the Analysis Questions from the Manipulating Pixels
mini-lab in a couple of
sentences, and bring them to class.
- Be sure to have finished the Manipulating Pixels mini-lab.
- Type in recipes 15, 16, and 17 from pages 68-70 of
your text.
- Reading Assignment:
- Read the rest of Section 3.3,
including tracing the program on pp. 57 - 60 if you didn't read that
for Wednesday, and read the rest of the chapter following that.
We will come back to the skipped part of section 3.2 next week.
Week 2: Friday
- Reading Assignment:
- Read Sections 4.1 and 4.2 (pp. 74 - 82).
Week 3: Monday
- Reading Assignment:
- Be sure to have read Sections 4.1 and 4.2.
Week 3: Wednesday
- Reading Assignment:
- Read the beginning of Section 4.3 through 4.3.1 (pp. 82 -
88). Skip section 4.3.2, which has the kind of big,
monolithic code that we're trying to avoid, but read Sections
4.3.3, and 4.3.4 (pp. 93 - 100).
- Problem Set:
- Write a function, called
duplicate, that takes a
picture as a parameter, and makes a new picture which is an exact copy
of the original picture. Your function should return the new picture. To do this, think about what the dimensions of
the new picture should be, and where in the new picture you wish to copy
pixels from the original picture. You should not use the
duplicatePicture in JES to do this. Rather, you should be
using nested for loops. The point of this exercise is to
understand how the duplicatePicture function works.
Week 3: Thursday
- Lab Entrance Assignment for Lab 3:
- Read Section 4.3.4 to get the ideas.
You do not need to concentrate on the details.
- Read through the lab.
Week 3: Friday
- Reading Assignment:
- No new reading. Be sure you have read the sections from
earlier in the week.
Week 4: Monday
- Reading Assignment:
- We will be meeting in the lobby of the library today, and breaking
into small group activities.
Week 4: Wednesday
- Reading Assignment:
- Read Sections 5.1, 5.2, and 5.3 (pp. 115 - 122).
- Problem Set:
- (On paper) Rewrite the
increaseRed function so
that it uses an if-statement to cap the new value of red at
255.
Week 4: Thursday
- Lab Entrance Assignment for Lab
4:
-
Type in recipes 42 (
swapbg) and
43 (chromakey) from your textbook.
Save them in a file called
Lab4.py.
Week 4: Friday
- Reading Assignment:
- In Chapter 9, read Section 9.2 on debugging techniques (pp.
205 - 208).
- Problem Set:
- Do the exercises on if
statements and for loops. Remember, you may work with others on
the
problem sets - the point of these is to understand them!
Looking Ahead:
- The Reading Assignment for Monday will be to read Section 9.1 in
Chapter 9 (pp. 201 - 204), and to finish any assigned reading you have not done
yet from Chapter 5, including all of section 5.4.
- There is also a problem set for Monday.
- Programming Project #2 is due Monday of Week 6.
- Programming Project #1
is due Wednesday of Week 4.
Jump directly to
Week 1
| Week 2
| Week 3
| Week 4
| Week 5
| Week 6
| Week 7
| Week 8
| Week 9
| Week 10
This page is maintained by
Pamela Cutter (pcutter{at}kzoo{dot}edu).