CS140 B (Fall 2008) - Assignments
Date
Assignment
Supplementary Reading
9/1/2008
Homework 1 -- Simple Drawing
A quick reference for drawing simple shapes in Java.
9/3/2008
Lab 1 -- Nested Rectangles
9/8/2008
Homework 2 -- User Input
A quick reference for input and output in Java.
Reference for simple Java data types.
9/10/2008
Lab 2 -- User Input
9/15/2008
Homework 3 -- Loops
Reference for loops.
9/17/2008
Lab 3 -- Loops
9/22/2008
Homework 4 -- Conditionals and Randomness
Reference for if statements.
IfPictureTest.java
9/24/2008
Lab 4 -- 'if' and randomness
9/29/2008
Project 1
Reference for some advanced animation techniques.
10/2/2008
Exam 1
10/6/2008
Homework 5 - Digital Pictures
AlphaTest.java
DigitalPictureTest.java
10/13/2008
Homework 6 - Martingale Betting (DUE ON WEDNESDAY!)
GamblersRuin.java
10/20/2008
Homework 7 - Pixel Level
Pixel level reference
10/22/2008
Lab 5 - Picture Transforms
10/27/2008
Project 2 -- Predator/Prey
10/29/2008
Quiz 2
Picture class and demo programs:
Picture.java
AnimatedPicture.java
ElectionCheckerboard.java
11/3/2008
Current Picture class and demo programs:
Picture.java
AnimatingPictures.java
11/5/2008
Exam 2
11/10/2008
Homework 8 - Bouncing Particles
Our simulation so far:
ParticleSimulation.java