Old AP A java exams can be downloaded here.

Read other page for some free code analysis AP CS practice questions that we made up.

Some recent words from the AP A exam writers. At the 2016 AP A reading, representatives of the college board and some of the exam question writers themselves like Robert Glen Martin were asked about the topics for upcoming/future exams. They strongly implied that Strings and 2-D arrays will continue to be a consistent part of upcoming exams! Which, of course, shouldn’t be a surprise since these two topics have been mainstays for several years.

# Inheritance

- 2004 Question 2 (Pet), also has an Arraylist for part C
- 2005 Question 2 (Ticket)
- 2006 Question 1 (Item See part B )
- 2016 Question 1 (Part B –2 of 7 points)

# Strings

- 2006 Question 3 (a) ( –compareTo)
- 2008 Question 2 (StringPart and StringCoder)
- 2011 Question 4 (Route Cipher) –considered challenging. Also includes a 2-D array
- 2014 Question 1 (Scrambled words) * challenging
- 2015 Question 2 (HiddenWord – guessing game) Must also write a complete class
- 2016 Question 2. LogMessage
- 2016 Question. StringFormatter

# Arrays (1-D)

- 2004 Question 4 (Robot)
- 2004 Question 1 (StudentRecord)
- 2005 Question 1 (Reservation, Hotel) –also has an ArrayList
- 2005 Question 4 (StudentRecord ) * easy, manges an array of ints
- 2008 Question 1 (Flight, Trip, Time)
- 2009 Question 1 ( Number Cube–also static)
- 2009 Question 3 ( BatteryCharger )
- 2010 Question 3 ( HikingTrail)
- 2011 Question 1 (Sound)
- 2015 Question 4 (Diverse Array) Also 2-D arrays

# Interface

- 2006 Question 1 (Item)
- 2007 Question 4 (GameState)
- 2008 Question 4 (Checker and AndChecker)
- 2011 , Question 3 ( FuelTank)
- 2012, Question 3 ( Horse)
- 2014 Question 4 (Trio) Write a class that implements an inteface
- 2015, Question 4 . Write an interface

## 2-D Arrays

- 2011 Question 4 (Route Cipher) –considered challenging. Also includes a 2-D array. **challenging
- 2012 Question 4 ( GrayImage)
- 2013 Question 4 ( Sky View) **challenging
- 2014 Question 3 (Student, SeatingChart) * also ArrayList
- 2015 Question 1 (Diverse Array) Also 1 D arrays
- 2015 Question 3 (Sparse Array)
- 2016 Question 3 (Crossword Puzzle)

### Arraylist

- 2004 Question 2 (c) (Pet–also inheritence )
- 2004 Question 1 (WordList) *easy, just manages an ArrayList of Strings
- 2005 Question 1 ( Hotel, Reservation)–also has an array
- 2006 Question 1 (AppointMent, DailySchedule )
- 2007 Question 3 (StudentAnswer Sheet) *easy
- 2009 Question 4 ( NumberTile , TileGame)
- 2010 Question 1 (CookieOrder ) * easy
- 2012 Question 1 (ClimbInfo)
- 2013 Question 3 ( Grid World)
- 2014 Question 3 (Student, SeatingChart) * also 2-d Array
- 2016 Question 1. Random Letter Chooser (read an in depth analysis of student responses here )

### Class Declaration

ie :When student must write an entire clas

- 2010, Question 2 ( APLine)
- 2015 , Question 2 (HiddenWord , guessing game) Also involves Strings.
- 2014 Question 3 (Trio) must implement an interface
- 2015, Question 4 . Write an interface
- 2016 Question 1 . Random Letter Chooser (read an in depth analysis of student responses here )

# Interrelated Classes

Questions that involve multiple classes (There are definitely, many more examples involving interrelated classes)

- 2005 Question 1 (Reservation, Hotel) –also has an ArrayList
- 2008 Question 1 (Flight, Trip, Time)

# Random

Quesitons that, somehow , involve the generating random numbers.

- 2009 Question 1 ( Number Cube–also static)
- 2016 Question 1 . Random Letter Chooser (read an in depth analysis of student responses here )

# Miscellaneous

- 2007 Question 1 (isSelfDivisor -modulo, algorithm)
- 2006 Question 3 (b) prefixMerge **challenging

More info about AP exams can be found on the college board’s website