AP CSA FRQ Guide

2014 FRQ 4: Trio

Write a Trio menu item whose name combines three items and whose price charges for the two highest-priced items.

Class Writing with Menu Items22 minute targetclassesinterfaceobjectsMath

Skills Tested

What this FRQ is really practicing

classesinterfaceobjectsMath

Treat these skills as the study checklist. If any tag feels shaky, review that topic before attempting the full written response.

Starter Approach

How to begin without copying a solution

  1. 1Store the three menu item objects passed to the constructor.
  2. 2Combine names with the required separators and suffix.
  3. 3Compute price as total minus the lowest item price.

Write a first attempt before revealing any solution outline. Most AP CSA FRQ progress comes from tracing your own code and finding the missing case.

Common Mistakes

Mistakes to watch for while writing

Making the lowest-priced item the only charged item instead of the free item.
Hard-coding sample item names.
Forgetting the exact name suffix.

Self Check

Review questions before you submit

Declares Trio as a MenuItem.

The archive prompt uses a MenuItem interface.

Stores references to all three items.

The name and price methods need access to the constructor parameters.

Combines all three item names.

Call getName on each item.

Charges for the two highest-priced items.

Sum all prices and subtract the minimum.

Practice Links

Where to go next