AP CSA FRQ Guide
2017 FRQ 2: MultPractice
Write a practice-problem class that stores a constant first factor, advances the second factor, and returns the current multiplication prompt.
Class Writing with an Interface22 minute targetclass writingstateinterfacemethods
Skills Tested
What this FRQ is really practicing
class writingstateinterfacemethods
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
- 1Store the fixed value and the changing value as private instance variables.
- 2Return the current problem text without changing state.
- 3Advance only when nextProblem is called.
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
Incrementing inside getProblem instead of nextProblem.
Storing only one of the two factors.
Returning the answer instead of the practice-problem text.
Self Check
Review questions before you submit
Declares MultPractice as a StudyPractice.
Use the interface named in the prompt.
Stores both multiplication values as private state.
One value stays fixed; one value changes.
Formats the problem with TIMES between the values.
Match the prompt format exactly.
nextProblem increments the changing value.
Do not change the fixed first factor.
Practice Links
