AP CSA FRQ Guide

2012 FRQ 1: ClimbingClub

Add climb records to a club list, first as appended entries and then in alphabetical order by peak name.

ArrayList Insertion22 minute targetArrayListobjectsinsertionordering

Skills Tested

What this FRQ is really practicing

ArrayListobjectsinsertionordering

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. 1Version A: append the new ClimbInfo record.
  2. 2Version B: insert the new record into the list by peak name.

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

Comparing strings with relational operators.
Forgetting to add at the end if no earlier insertion point is found.
Creating the object but never inserting it into the list.

Self Check

Review questions before you submit

Creates a ClimbInfo object from the parameters.

Store both peak name and climb time.

Adds the new object to the list.

Use add with or without an index depending on the version.

Compares peak names for ordered insertion.

String ordering uses compareTo.

Handles insertion before the first larger peak name.

Do not always append in the ordered version.

Practice Links

Where to go next