2009 AP CSA FRQ 2: StockpileCritter - Solution

2009 AP CSA FRQ 2: StockpileCritter

Topic: GridWorld Case Study (Legacy)

Skills: Case study specific - Critter behavior modification

Unit: Unit 3 (Class Creation) (2025-2026 AP CSA)

Points: 9 | Time: ~22 minutes

Note: This FRQ used the GridWorld/Marine Biology Case Study (no longer tested).

Part (a)

Note: This FRQ was part of the GridWorld Case Study which is no longer part of the AP CSA curriculum.

Try First! Attempt before viewing solution.

Solution

// GridWorld Case Study - no longer tested
// Modern equivalent: Object state management and behavior modification

Part (b)

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

Solution

// Focus on standard class design problems instead.

Key Concepts

✓ Object state tracking
✓ Behavior modification based on state
✓ Method overriding

Common Mistakes

This question used the deprecated GridWorld Case Study
Practice Similar: 2019 FRQ 4 | 2022 FRQ 4 | 2023 FRQ 4

Official Resources

Author: Tanner Crow - AP CS Teacher, 11+ years

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]