Jump to page content Jump to navigation

College Board

AP Central

APAC 2009 Call For Proposals
AP Course Audit Web Site


Siemens Awards for Advanced Placement
Print Page
Home > AP Courses and Exams > Course Home Pages > AP Marine Biology Simulation Case Study: Choose-Your-Own Modifications

AP Marine Biology Simulation Case Study: Choose-Your-Own Modifications

by Debbie Carter
Lancaster Country Day School
Lancaster, Pennsylvania

1. Develop and submit a proposal for changes to the AP Marine Biology Simulation Case Study.
Include details. Here are some ideas to consider.

Add gender to the Fish class:
  • Add private data, an accessor method, and modify constructors.
  • Make male and female fish look different (color? shape? size?).
  • Modify breeding behavior as you deem appropriate.
  • Make any other changes required in other classes.
Add other types of "Fish." Some possibilities include:
  • Predators
  • Fighting fish
  • Clams
  • Fish that blow bubbles. How will the bubbles "behave"?
Note: Any new types of objects will have to extend the Fish class, unless you change the display classes themselves (not recommended).

If you are changing display attributes of existing types of Fish, or you are adding new types of Fish, you will need to change the way the objects are displayed:
  • Run the existing project. Choose "Help" from inside the GUI screen.
See "Customizing the graphical user interface" inside the help document.

2. I will review and approve and/or suggest changes to your proposal.

3. Modify the Case Study files, documenting as you go, so you don't forget what you've changed.
Internal documentation should include:
  • Comments at the top of each modified file: modified by, date, and description of modifications -- for example:
    • Added new constructor w/xxx parameters
    • Added private data myXxx
    • Added class method xxx
    • Modified xxx to xxxxxxx
  • Revised pre- and postconditions, where appropriate
4. Test your changes thoroughly.

5. Create a document to show all code changes. For each modified source file:
  • Type the name of the source file (e.g., fish.java).
  • Insert (or copy and paste) the source file below its title.
  • Highlight all changed lines (using the highlighter tool).
6. Annotate your original proposal.
  • Select Tools/Track Changes.
  • Make any necessary modifications to the proposal's contents, to show what you actually did. (Your changes will show up in red, and any deletions will show as red text with the strikethrough effect.)
  • Include comments about unexpected requirements for implementing your proposed changes
Teacher's Comments
After students complete the changes that I've required for the AP Marine Biology Simulation Case Study, they are "allowed" to propose their own sets of changes. They create an official proposal, which I must approve before they can start coding. Then they make and document the changes, including comments on the original proposal.

I'm always amazed at some of the creative ideas they have.

Contribute
If you would like to contribute your suggestions for nifty assignments, please submit your ideas.




  ABOUT MY AP CENTRAL
    Course and Email Newsletter Preferences
  AP COURSES AND EXAMS
    Course Home Pages
    Course Descriptions
    The Course Audit
    Sample Syllabi
    Teachers' Resources
    Exam Calendar and Fees
    Exam Questions
    AP Credit Policy Information
  PRE-AP
    Teachers' Corner
    Publications
  AP COMMUNITY
    About Electronic Discussion Groups
    Become an AP Exam Reader

Back to top