AP Computer Science A Study Guide
AP CS A teaches Java-based object-oriented programming, building from primitive types and control structures up through classes, arrays, inheritance, and recursion. The free-response section tests four stable, recurring skill types every year, so practicing each type specifically pays off more than general coding practice alone.
Already took the exam? Get an instant estimate with the
AP Computer Science A Score CalculatorUnit Breakdown
Unit 1: Primitive Types & Using Objects
Variables, data types, and working with existing Java classes.
Unit 2: Boolean Expressions and if Statements
Conditional logic and boolean operators.
Unit 3: Iteration
for/while loops and nested iteration.
Unit 4: Writing Classes
Class design, constructors, methods, and encapsulation.
Unit 5: Array and ArrayList
Traversal, searching, and common array/ArrayList algorithms.
Unit 6: 2D Array
Nested traversal and 2D array algorithms.
Unit 7: Inheritance
Class hierarchies, polymorphism, and method overriding.
Unit 8: Recursion
Recursive method design and tracing recursive calls.
Unit topics reflect College Board's published Course and Exam Description at a high level — always check the current CED for exact skill weighting, since College Board revises these periodically.
Common Mistakes to Avoid
- Losing partial credit on FRQs by skipping intermediate steps — Java FRQ rubrics award points per correct logical step, not just for a fully working final method.
- Off-by-one errors in array/loop bounds, one of the most common sources of lost points on both MCQ and FRQ.
- Confusing == with .equals() when comparing objects (especially Strings) — a classic, repeatedly-tested gotcha.
- Not practicing tracing code by hand — several MCQs specifically test your ability to trace execution without running it.
What's Next
Once you've worked through these units, check the AP Computer Science A exam format and score curve to see how MCQ and FRQ points combine into your final score, or review 2027 exam dates and registration deadlines.