AP Computer Science A
More study resources
Cheat sheet
Keep the key ideas within reach.
ExploreKey terms
Get comfortable with the vocabulary.
ExploreStudy plan
Give each week a clear focus.
ExploreCommon mistakes
Understand the traps and how to avoid them.
ExploreCase studies
Put your knowledge to work in context.
ExploreExam-day guide
Prepare for the day ahead.
ExploreAbout this exam
AP Computer Science A is an Advanced Placement course and exam administered by the College Board. It is designed as the equivalent of "A one-semester, introductory college course in computer science," and it is aimed at high school students who want to design, write, and test programs in a subset of the Java programming language. The course framework emphasizes analyzing, writing, and testing code while exploring modularity, variables, and control structures, and it develops skills in designing programs, correcting errors, and documenting how code works. Content is organized into four commonly taught units: Using Objects and Methods, Selection and Iteration, Class Creation, and Data Collections. On the multiple-choice section, these units are weighted 15%–25%, 25%–35%, 10%–18%, and 30%–40% respectively, so data collections and control flow carry the most weight. The exam also tests computational thinking practices, with analyzing code the heaviest at 37%–53%. The College Board lists the next exam date as Wednesday, May 12, 2027. Recommended preparation includes high school English and algebra coursework and familiarity with functions and function notation. Effective preparation means writing Java by hand, tracing loops and array traversals, and practicing free-response style problems under time pressure.
What you'll study
About AP Computer Science A preparation
What is the format of the AP Computer Science A exam?
It is a digital exam taken in the Bluebook app, with a multiple-choice section and a free-response section. The multiple-choice section is the one for which College Board publishes unit weightings, ranging from 10%–18% for Class Creation up to 30%–40% for Data Collections. The Java Quick Reference is available in Bluebook and may also be printed for exam day.
How hard is AP Computer Science A?
It assumes no prior programming background but moves quickly through Java syntax into arrays, ArrayLists, 2D arrays, searching, sorting, and recursion. The heaviest multiple-choice weighting is analyzing code at 37%–53%, meaning you must read and trace code accurately, not just write it. Students comfortable with algebra and careful step-by-step reasoning tend to adapt fastest.
What prior coursework do I need?
College Board lists recommended prerequisites as high school courses in English and algebra, plus familiarity with functions and the concepts found in the uses of function notation. No prior Java experience is stated as required. The course is described as equivalent to a one-semester introductory college computer science course.
Which units should I study first?
Follow the framework order: Using Objects and Methods, then Selection and Iteration, then Class Creation, then Data Collections. Each unit depends on the previous one, and the later units carry the most exam weight. Data Collections is weighted 30%–40%, so leave substantial review time for arrays, ArrayLists, 2D arrays, searching, sorting, and recursion.
When is the next AP Computer Science A exam?
College Board lists the exam date as Wednesday, May 12, 2027, Session 2. Your AP coordinator will tell you when and where the exam will be administered. Confirm logistics with your coordinator rather than relying on secondhand schedules, since administration details are set locally.
Can I retake the exam if I score poorly?
The source material for this page does not state a retake policy, so no retake rules are asserted here. In practice, students typically retake in a later exam administration, but you should confirm eligibility, deadlines, and any restrictions with your AP coordinator or College Board before planning on it.
What are the most common mistakes students make?
Weaknesses usually show up in code tracing: off-by-one loop bounds, confusing array length with ArrayList size(), forgetting that String methods return new objects, and mishandling nested loops over 2D arrays. Others lose points on free response by not testing edge cases or failing to explain how code works, which the course explicitly lists as a skill.
How should I prepare for the free-response questions?
Practice writing complete Java methods on paper or in a plain editor without autocomplete, then trace them by hand. Focus on class design, array and ArrayList algorithms, and 2D array traversal. The course skills include testing code and correcting errors and documenting how code works, so practice explaining your logic as well as producing it.
Do I need to memorize Java library methods?
No. College Board provides a Java Quick Reference listing the accessible library methods that may appear on the exam, and it is included in Bluebook. You should still know when and how to use those methods fluently, since the exam emphasizes analyzing and developing code rather than recalling signatures.