AP Computer Science A review: exam format, the 4 units, and how to study
The AP Computer Science A exam is a fully digital, Java-based test of 42 multiple-choice questions and 4 free-response questions where you write real code. This AP CSA review covers that redesigned format, the four units, the Java Quick Reference you get on exam day, how it is scored, and a study plan built to earn a 5.
What’s on the AP Computer Science A exam
The AP Computer Science A exam splits into two sections. Section I is 42 multiple-choice questions worth 55%, mostly individual questions that ask you to trace and reason about Java code. Section II is 4 free-response questions in 90 minutes, worth 45%, where you write working Java by hand for each prompt. The course was recently redesigned, condensing the old ten units into four.
A helpful detail: the Java Quick Reference — a list of the accessible Java library methods — is provided in Bluebook, so you do not have to memorize method signatures. The whole exam is fully digital. Our AP CSA FRQ guide breaks down each of the four coding questions.
The 4 units of AP Computer Science A
The redesigned course is organized into four units. Selection and Iteration — Boolean logic, conditionals, and loops — is the largest, and Data Collections anchors half of the free response.
How AP Computer Science A is scored
Your multiple-choice and free-response points combine into one composite score, which the College Board scales to a 1–5. AP Computer Science A is one of the more polarized exams: in 2024, about 67% of students scored a 3 or higher and 24% earned a 5, but a similar share scored a 1 — reflecting the split between students who genuinely learned to code and those who did not.
The free response is where that split shows most, since you either can write the method or you cannot. To see what a practice raw score becomes, run it through our AP CSA score calculator.
How to study for AP Computer Science A
Write code, do not just read it. The single biggest predictor of a good score is having written many small programs yourself, so practice coding the common patterns — traversing arrays and ArrayLists, nested loops over 2D arrays, and writing classes — until they are automatic. Learn to hand-write Java cleanly, since the free response is not typed into a compiler.
Then drill the exam’s exact question types. Work past free-response questions against the scoring guidelines with our AP CSA FRQ guide, get familiar with the methods on the Java Quick Reference, and drill one unit at a time with the Progress Check walkthroughs.
When is the AP Computer Science A exam, and how long is it
AP Computer Science A is given once a year during the College Board’s May testing window, and the exam takes about 3 hours. The exact date and start time are set each year, so confirm the current schedule on the official AP calendar with your coordinator before you plan around it.
Frequently asked questions
Quick answers, written by humans.
How many questions are on the AP Computer Science A exam?
There are 42 multiple-choice questions, worth 55%, and 4 free-response questions, worth 45%, where you write real Java code. Both sections are taken digitally.
How long is the AP Computer Science A exam?
About 3 hours, split between the multiple-choice section and the 90-minute free-response section.
Do I get a reference sheet on the AP CSA exam?
Yes. The Java Quick Reference, which lists the accessible Java library methods, is provided in the Bluebook app, so you do not memorize method signatures.
How many units are on AP Computer Science A?
Four, after the recent redesign: Using Objects and Methods, Selection and Iteration, Class Creation, and Data Collections.
Is AP Computer Science A hard?
It is polarizing. Students who genuinely learn to write code do very well — about a quarter earn a 5 — while those who do not struggle. Around two-thirds of students pass.
Is the AP CSA exam digital?
Yes. The AP Computer Science A exam is fully digital, taken in the College Board’s Bluebook app.
What is the difference between AP CSA and AP CSP?
AP Computer Science A is a rigorous Java programming course, while AP Computer Science Principles is a broader, conceptual introduction to computing. CSA is the deeper coding course.