2014 AP Computer Science A Exam Free Response Solutions

AP Computer Science Practice Problems & Resources by Topic

Each section focuses on an AP Computer Science Exam topic that has been tested extensively on previous exams.
All problems were created by AP CS Tutor Brandon Horn.

Featured Practice Problem – CandidatePool

  • Return matching elements from an ArrayList
  • Find an extreme in an ArrayList
  • Remove matching elements from an ArrayList

Try my CandidatePool Free Response Practice Problem

GridWorld: The AP Computer Science Case Study

  • Practice with Location and Grid
  • Write a complete subclass of Critter
  • Use Grid to implement a game

See my GridWorld Case Study Practice Problems
See my GridWorld Case Study Explanations
See my GridWorld Case Study Solutions

Inheritance & Polymorphism

  • Design and implement subclasses
  • Override superclass methods
  • Work with abstract classes and methods

See my Inheritance & Polymorphism Practice Problems

2D Arrays

  • Traverse a 2D array in row-major order
  • Fill a two dimensional array
  • Visit specific elements of a 2 dimensional array

See my 2D Array Practice Problems

Lists & ArrayLists

  • Compare consecutive elements of a List
  • Remove specific elements from a List
  • Find the maximum in an ArrayList

See my List & ArrayList Practice Problems

Sorting & Searching

  • Code selection sort, insertion sort and merge sort
  • Identify and complete variants (ex: back to front)
  • Determine if an implementation is correct

Try my Sorting & Searching Practice Problems

Recursion

  • Trace recursive methods
  • Implement recursive methods
  • Determine the purpose of recursive methods

See my Recursion Practice Problems
See my Recursive Method Tracing Technique

Additional Practice Problems by Topic

Get AP CS Help

Solutions to AP Computer Science Exam and GridWorld Case Study Problems

Multiple Choice Solutions for Released Exams

2013 AP CS Exam Free Response Solutions

2012 AP CS Exam Free Response Solutions

2011 AP CS Exam Free Response Solutions

2010 AP CS Exam Free Response Solutions

2009 AP CS Exam Free Response Solutions