
What Is AP Computer Science A?
AP Computer Science A is a College Board programming course. Students design and write programs in a subset of the Java language, develop algorithms and data structures, and test and debug code. College Board gives its college equivalent as a one-semester introductory college course in computer science.
The recommended prerequisites are high school courses in English and algebra, plus familiarity with functions and function notation. The course has four units. This guide abbreviates it as CSA and AP Computer Science Principles as CSP.
| Unit | Share of exam score |
|---|---|
| 1. Using Objects and Methods | 15% to 25% |
| 2. Selection and Iteration | 25% to 35% |
| 3. Class Creation | 10% to 18% |
| 4. Data Collections | 30% to 40% |
Data Collections is the largest unit at 30% to 40% of the score. The skills College Board names are designing a program and its algorithms, testing and correcting code, and documenting and explaining how code works.
Is AP Computer Science A Hard?
Its results are split. On the 2026 exam, 25% of students earned a 5 and 26% a 4, but 23% earned a 1. Among all 40 AP exams in 2026, it had the highest share of 1s. Our guide to AP classes ranked by difficulty shows where it sits.
| Year | 5 | 4 | 3 | 2 | 1 | 3 or higher | Test takers |
|---|---|---|---|---|---|---|---|
| 2026 | 25% | 26% | 15% | 11% | 23% | 66% | Not listed |
| 2025 | 25.6% | 21.8% | 19.8% | 10.9% | 22.0% | 67.2% | 93,217 |
| 2024 | 25.6% | 21.4% | 20.1% | 10.8% | 22.0% | 67.2% | 98,136 |
| 2023 | 26.8% | 22.4% | 18.8% | 9.5% | 22.5% | 68.0% | 94,438 |
The share scoring 3 or higher stayed between 66% and 68% from 2023 to 2026, and College Board listed the exam among those without score changes in its 2024 report on score setting. In our view, the large share of 1s is a reason to get help early if writing code is a struggle in the fall.
How Is the Java Exam Structured?
The exam is fully digital in the Bluebook testing app and lasts 3 hours. College Board provides reference materials for the exam.
| Section | Questions | Share of score |
|---|---|---|
| I. Multiple choice | 42, mostly single questions with occasional sets of 2 | 55% |
| II. Free response | 4 code-writing questions | 45% |
| Free-response question | What students write |
|---|---|
| 1. Methods and Control Structures | Code that creates objects and calls methods, using expressions, conditionals, and loops |
| 2. Class Design | A new class that meets method specifications |
| 3. Data Analysis with ArrayList | Code that creates, traverses, and changes elements in an ArrayList |
| 4. 2D Array | Code that creates, traverses, and changes elements in a two-dimensional array |
Multiple-choice questions ask students to choose code that produces a given output, trace the result of code from given values, and judge code for correctness and errors. The 2027 exam is on Wednesday, May 12, in Session 2; our AP exam schedule lists every 2027 date.
Should a Student Take CSA or AP Computer Science Principles?
The two courses are different in kind. AP Computer Science Principles (CSP) is a broad introduction to computing, with a Create performance task, and recommends only a high school algebra course. CSA is a programming course in Java.
| CSP | CSA | |
|---|---|---|
| College equivalent | First-semester introductory college course in computing | One-semester introductory college course in computer science |
| Recommended prerequisite | A high school algebra course | High school English and algebra, familiarity with functions |
| Exam | 70 multiple choice plus the Create performance task | 42 multiple choice plus 4 code-writing questions |
| 2026 share scoring 3 or higher | 63% | 66% |
| 2026 share of 5s | 10% | 25% |
| 2027 exam date | Friday, May 14 | Wednesday, May 12 |
In our view, a student considering computer science or engineering should take AP Computer Science A; Principles is a sound first course for a student new to computing, but it does not replace the Java course. MIT gives no credit for either AP computer science exam, so the reason to take them is preparation, not credit.
In Which Grade Should a Student Take AP Computer Science A?
Because the prerequisites are algebra and familiarity with functions, a student can take it as early as 10th grade. In our experience at Oriel Admissions, 10th or 11th grade works best for a student considering computer science, because it leaves 12th grade for calculus, AP Physics C, or independent projects. The recommended prerequisites do not include CSP, so a student who already programs can start here.
Students who want to go further can look at the USACO competition, and our guides to computer science admissions strategy and the best colleges for computer science cover the wider application.
Does the Course Earn College Credit?
Each college sets its own policy. MIT gives no credit for the AP exams in computer science for the Class of 2030. Princeton’s provisional AP table for the Class of 2030 lists no exemption for computer science, and Harvard does not grant degree credit for AP exams. College Board offers a search tool for each college’s credit and placement policy. Our guide to whether AP scores matter covers how colleges read the score.
Frequently Asked Questions About AP Computer Science A
Results split widely. On the 2026 exam, 25% of students earned a 5 and 23% earned a 1, the highest share of 1s of any AP exam that year.
It uses a subset of Java. Students design, write, test, and debug Java programs.
College Board recommends high school courses in English and algebra and familiarity with functions and function notation.
The exam lasts 3 hours. It has 42 multiple choice questions worth 55% of the score and 4 free response questions, in which students write code, worth 45%.
The 2027 exam is on Wednesday, May 12, 2027, in Session 2.
CSA is a programming course in Java, while CSP is a broad introduction to computing. In 2026, 66% scored 3 or higher in CSA and 63% in CSP, but CSA had 25% fives against 10%.
No. MIT gives no credit for the AP exams in computer science for the Class of 2030.
At Oriel Admissions we usually place it in 10th or 11th grade for a student considering computer science, which leaves 12th grade for calculus or AP Physics C.
Sources: College Board: AP Computer Science A course page, College Board: AP Computer Science A Exam, College Board: AP Computer Science A Score Distributions, College Board: AP Score Changes 2024, MIT Office of the First Year: Advanced Placement, Princeton Advising: AP Table for the Class of 2030, Harvard College: Frequently Asked Questions
About Oriel Admissions
Oriel Admissions is a college admissions consulting firm advising families nationwide on elite university admissions strategy, with offices in Princeton, New Jersey and New York. Our team brings deep expertise across every dimension of the application, and our distinctive 360 approach develops strategy, positioning, activities, essays, and interviews as one coherent whole. To discuss your family’s admissions strategy, schedule a consultation.






