Teaching Programming Using Java
July 21 - 25, 2003
The materials in this binder, and others, can be found on the Kalamazoo College
web site for high school teachers: http://max.cs.kzoo.edu/AP/.
Aquarium Lab Series
Lab Series: series of labs that deal with constructing objects,
invoking methods, basic flow control constructs, and implementing classes.
Other Introductory Labs and Programming
Started with CodeWarrior: an introduction to the somewhat dated
version of CodeWarrior running in the Kalamazoo College labs during this workshop
- TalkingRobot: lab
and follow-up assignment
that allow students to practice
if statements and using the
lab on loops using the
Random class, with a follow-up
exercise using an array of integers (this project uses a
object for plotting the histogram, although students don't have to be aware
Plotter: students write methods that navigate a two-dimensional
grid data structure (a
BoundedEnv object), plotting pictures
by placing colored blocks in the grid (graphics is all behind the scenes)
AP® Marine Biology Simulation Case Study
- Description of the contents of the distribution
file (from APCentral or www.collegeboard.com)
- Case Study Narrative (from APCentral
- Teacher's Manual (from APCentral)
MBS-Related and Follow-Up Assignments
on Chapter 1
introduces students to a simplified version of the MBS
In this project students enhance the way minnows move in their environment,
going from simple forward movement to the random movement exhibited by fish
in the MBS
on Chapter 4: Experimenting with, and Extending, the
a problem specification for another
Fish subclass, along with
two data files (
that define initial configurations for environments containing fish, darters,
and slow and fast fish.
a problem specification for a
Fish subclass that always moves
forward, either straight ahead or angling slightly to either side. These
fish assume they have eight adjacent locations (north, northeast, east, southeast,
etc.) rather than four (north, east, south, and west).
Design: a small set of problem specifications for which students
develop object-oriented designs. Since novice programmers have little
experience from which to draw, the problems are all similar to the MBS case
study (or the Aquarium Lab Series) in their overall design.
- If you decide to cover applets in your course, the BalloonRace
program provides a follow-up to the Object-Oriented Design assignment.
- If you decide to cover some basic GUI design in your course using Java Swing,
assignments provide follow-ups to the MBS case study and/or the Object-Oriented
*AP and Advanced Placement are registered trademarks of the
College Entrance Examination Board, which has not endorsed this workshop or
Last modified on
by Alyce Brady.