
AP Java Assignment 15:
Marine Biology Simulation Case Study
Background
The Marine Biology Simulation Case Study is a large java program that was written specifically for the Adanced Placement
Computer Science course. All students who take the AP exam are expected to be familiar with the case study. Approximately
20% of the AP test will consist of questions about the case study, so it is the single most important topic on
the AP exam in terms of getting a high score. In this assignment you will run the program to see how it works.
Instructions for running the code for this assignment:
- Inside of your "My Documents" folder should be a folder labeled "MBCS". Inside of that folder should be a RealJ project
called "MarineBiologySimulation".
- Double Click on "MarineBiologySimulation" and then choose Build | Run Application
- A Window labeled "Marine Biology Simulation" should open. In that window choose File | Open Environment File
- Browse to "My Documents", then "MBCS", then "Java MBS", then "Data Files"
- Open a file ("fish" for example)
- Click on the Run button and you should see the fish move. You are now ready to start the assignment.
Complete the following:
- Open the .pdf file of the case study. The file is in the MBCS folder and is
labeled 2002_mbcs
- Read the Introduction and Chapter 1 (pages 7 to 16) of the case study.
- Complete Exercise Set 1 and Analysis Question Set 1 on page 10
- Complete Exercise Set 2 and Analysis Question Set 2 on pages 11 and 12
- Complete Exercise Set 3 and Analysis Question Set 3 on page 13
Submit your answers to the questions as an email to mrsimon@lycos.com, or turn them in on pencil and
paper. Whichever you prefer.