AP Computer Science A Review: What’s on the Exam and How to Prepare

AP Computer Science A is a college-level introduction to programming in Java. The course and exam were revised recently, so many older study guides are out of date. Here is what is on the exam now, and how to review for it.

What the exam covers

The current course has four units:

  1. Using Objects and Methods: creating objects, calling methods, and working with String and Math.
  2. Selection and Iteration: if statements, boolean logic and loops.
  3. Class Creation: writing your own classes, with constructors, instance variables and methods.
  4. Data Collections: arrays, ArrayList and 2D arrays, and algorithms that search and process data.

Inheritance, which used to be a full unit, was removed in the revision. If a study guide still has ten units and a unit on inheritance, it was written for the old exam.

The exam format

  • The exam is digital, taken in the College Board’s Bluebook app.
  • Section 1 is multiple choice: 42 questions in 90 minutes, worth 55% of the score.
  • Section 2 is free response: 4 questions in 90 minutes, worth 45%. Students write Java code by hand in the app.
  • A Java Quick Reference is provided during the exam.

Always confirm the details on the College Board’s official AP Computer Science A page.

How to review

  1. Know the four units cold. Make sure you can write a class from scratch and loop through arrays, ArrayLists and 2D arrays without hesitation.
  2. Practice free-response questions. They reward clean, correct code. Practice writing complete methods and checking them against examples.
  3. Trace code by hand. Many multiple-choice questions ask what a piece of code prints. Practice tracing loops and method calls on paper.
  4. Take full practice exams. Timed practice shows where you lose points and builds exam stamina.
  5. Review your mistakes. Keep a list of errors you make often, such as off-by-one loops, and check for them.

Common mistakes

  • Off-by-one errors in loops
  • Confusing array length, ArrayList size() and String length()
  • Changing an ArrayList while looping through it
  • Forgetting to return a value, or returning inside the wrong branch

How we can help

Our self-paced AP Computer Science A course teaches the material step by step, and our AP Review & Exam Prep course focuses on practice exams and free-response strategy. Both include weekly office hours.

Not sure where to start? Take our free placement test. It takes a few minutes and recommends the course that fits your level and goals.

Provide your comment/review: