Computer Programming Assignments

- - Fri, 13 May 2005 12:26:35 -0400
If you are interested in taking AP computer science next year, come find me in room 330 and sign up. You can read the Course Description and part of the Syllabus and Calendar. The course will require you to work diligently, but I think you will find it exciting and fun. I try to pace the class with a balance between making you think things out for yourself, not just giving away the answers, while still letting you see some solid progress made in a project on every given day.

Table of Contents

Class Overview
Course Description


1. Turtles

In the first program that you will be working with, you will be writing Java code that controls "turtles" that move around on a canvas and draw things. You can see an example of this applet working here.

Download a zip file containing everything that you need for this assignment: MrZ/

Here are the assignments that use the Turtles project:
Turtles Assignment 1Turtles Assignment 2Turtle Plotter Case Study
Turtles Assignment 3

2. Asteroids

This program is a simple game in which you fly around in a spaceship at the bottom of the screen trying to avoid asteroids falling from the top of the screen. I wrote the code that makes the window appear, and that forwards things like key presses to the objects on screen. You will create the objects that represent the Ship, Asteroids, and Laser elements. You will then add a few new features of your own choosing.

Asteroids Assignment