AP Computer Science Lab Exercises
Chapter One
Lab Exercise 1A JCreator
An introduction to the JCreator IDE.
Lab Exercise 1B Errors
An exploration of the different types of errors that
you will encounter as you write programs.
Lab Exercise 1C String Modification
An exploration of string modification that will be
useful to know as you write other programs.
Lab Exercise 1D Display
An exercise to make a display on the screen.
Chapter Two
Lab Exercise 2A
An introduction to identifiers, primitive types and operators.
Lab Exercise 2B
A programming assignment to make a magic square.
Lab Exercise 2C
An introduction to the String class and making String objects.
Lab Exercise 2D
An introduction to the Math class and the DecimalFormat class.
Lab Exercise 2E
A programming assignment to produce information regarding circles and spheres.
Lab Exercise 2F
An exercise and programming assignment to applets and graphics programming.
Chapter Three
Lab Exercise 3A
An introduction to conditional statements and a programming
assignment to calculate the date of Easter in any given year.
Lab Exercise 3B
A programming assignment to program the game "ROCK, PAPER,
SCISSORS".
Lab Exercise 3C
An introduction to loops and a programming assignment
to process student test data.
Lab Exercise 3D
A lab exercise to introduce string tokenizer and methods
to convert roman numerals to arabic numbers or arabic numbers
to roman numerals.
Chapter Four
Lab Exercise 4A
An introduction to classes and a programming assignment
to simulate the the roll of one die and a pair of dice.
Lab Exercise 4B
A programming assignment to calculate student grades.
Lab Exercise 4C
A programming assignment to explore some aspects of animation.
Lab Exercise 4D
A programming assignment look at file input and
output using a student grades text file.
Chapter Five
Lab Exercise 5A
An introduction to static methods.
Lab Exercise 5B
An introduction to using interfaces.
Lab Exercise 5C
An introduction to graphical user interfaces (GUI's).
Chapter Six
Lab Exercise 6A
An introduction to arrays and a programming assignment
to simulate the the shuffling and dealing a deck of cards.
Lab Exercise 6B
A programming assignment to use arrays to manipulate
matrices.
Lab Exercise 6C
Using arrays to examine sorting algorithms.
Lab Exercise 6D
A rewrite of program 4D that uses array lists to handle data.
Chapter Seven
Lab Exercise 7A
An introduction to inheritance and a programming assignment
that uses inheritance to describe vehicles.
Lab Exercise 7B
A programming assignment to construct a graphical
user interface (GUI) to create, save and edit user
information.
Chapter Eight
Lab Exercise 8A
An introduction to recursion and a programming assignment
that uses recursion in the quick sort algorithm.
Lab Exercise 8B
A programming assignment to compare recursion
and iterations to find Euler's constant.
AP Computer Science Second Semester Final Projects
1. Who Wants to be a Millionaire?
2. Traffic Simulation
3. Oh Deer! A Deer Polulation Simulation
4. Decode a Text File
5. Tic Tac Toe
AP Computer Science Utilities
Keyboard Class The methods of the keyboard class which allow you to input data from keyboard into applications not using GUI.
FTP Site The location where you can download the source files to construct the Marine Biology Simulation in JCreator .
|