2004 AP CSA FRQ 3: Fish - Complete Solution

2004 AP CSA FRQ 3: Fish

Topic: Marine Biology Case Study (Legacy)

Skills Tested: 2D arrays, random placement, Environment class usage

Curriculum Alignment: Unit 4 (Data Collections) (2025-2026 AP CSA)

Points: 9 | Time Estimate: ~22 minutes

Note: This FRQ was part of the Marine Biology Case Study, which has been removed from the AP CSA curriculum. The underlying concepts (ArrayList operations, 2D arrays, object manipulation) are still tested in modern FRQs.

Part (a)

Note: This FRQ was part of the Marine Biology Case Study which is no longer part of the AP CSA curriculum. The concepts tested (working with 2D structures and random placement) are still relevant.

Try It First! Attempt to solve this part before viewing the solution. Use the concepts: 2D arrays.

Solution

// This FRQ required knowledge of the Marine Biology Case Study
// which has been removed from the AP CSA curriculum.
// Modern equivalent concepts include:
// - Working with 2D arrays
// - Random element placement
// - Checking for empty positions

Part (b)

The Marine Biology Case Study is no longer tested on the AP exam.

Solution

// The key skills from this FRQ are now tested through
// standard 2D array problems without the case study context.

Key Concepts

2D array traversal patterns
Random position generation
Checking boundary conditions
Object placement in grid structures

Common Mistakes to Avoid

This question used the deprecated Marine Biology Case Study
Focus on modern 2D array FRQs instead

Scoring Guidelines

Total Points: 9

Points are awarded for:

  • Correct loop structure and bounds
  • Proper method calls and return statements
  • Correct conditional logic
  • Handling edge cases appropriately

Partial credit is available for demonstrating understanding even with minor syntax errors.

Official College Board Resources

About the Author: Tanner Crow is a certified AP Computer Science teacher with 11+ years of experience helping students succeed on the AP CSA exam.

Last updated: January 2026

Get in Touch

Whether you're a student, parent, or teacher — I'd love to hear from you.

Just want free AP CS resources?

Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.

Typically responds within 24 hours

Message Sent!

Thanks for reaching out. I'll get back to you within 24 hours.

🏫 Welcome, fellow educator!

I offer curriculum resources, practice materials, and study guides designed for AP CS teachers. Let me know what you're looking for — whether it's classroom materials, a guest speaker, or Teachers Pay Teachers resources.

Email

[email protected]

📚

Courses

AP CSA, CSP, & Cybersecurity

Response Time

Within 24 hours

Prefer email? Reach me directly at [email protected]