- RandomStringChooser Free Response Solution
- LogMessage Free Response Solution
- Crossword Free Response Solution
- StringFormatter Free Response Solution
The 2016 AP Computer Science A Free Response problems are exceptionally long. They are also more challenging than most years.
The RandomLetterChooser
constructor requires a call to a static method within a call to a superclass constructor. Although this is legal, it is unusual.
The LogMessage
method containsWord
is easy with a specific approach (calling indexOf
with appropriate parameters); otherwise, it is more challenging.
Crossword
requires both a simple method an a moderately complex constructor than includes initialization of a 2D array.
The StringFormatter
method basicGapWidth
requires careful attention to detail. The format
requires the use of helper methods and a moderately complex algorithm, also with attention to detail.