Skip to content
Back

AP Computer Science A: Units, Exam Format, Scores, and When to Take It

By Rona Aydin

Widener Library, Harvard University
TL;DR: AP Computer Science A is a College Board course equivalent to a one-semester introductory college course in computer science, taught in a subset of Java. College Board recommends high school English and algebra and familiarity with functions first. On the 2026 exam, 66% of students scored 3 or higher and 25% earned a 5, while 23% earned a 1, the highest share of 1s among all 40 AP exams. The exam is fully digital, lasts 3 hours, and has 42 multiple-choice questions and 4 free-response questions in which students write code. The 2027 exam is on Wednesday, May 12. Source: College Board. At Oriel Admissions we treat it as the AP course for a student considering computer science, ideally taken in 10th or 11th grade. To plan the computer science and mathematics sequence, schedule a consultation.

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.

UnitShare of exam score
1. Using Objects and Methods15% to 25%
2. Selection and Iteration25% to 35%
3. Class Creation10% to 18%
4. Data Collections30% to 40%
Source: College Board course page.

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.

Year543213 or higherTest takers
202625%26%15%11%23%66%Not listed
202525.6%21.8%19.8%10.9%22.0%67.2%93,217
202425.6%21.4%20.1%10.8%22.0%67.2%98,136
202326.8%22.4%18.8%9.5%22.5%68.0%94,438
Source: College Board, Past Score Distributions for this exam. The 2026 row was published without test-taker counts.

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.

SectionQuestionsShare of score
I. Multiple choice42, mostly single questions with occasional sets of 255%
II. Free response4 code-writing questions45%
Source: College Board exam page.
Free-response questionWhat students write
1. Methods and Control StructuresCode that creates objects and calls methods, using expressions, conditionals, and loops
2. Class DesignA new class that meets method specifications
3. Data Analysis with ArrayListCode that creates, traverses, and changes elements in an ArrayList
4. 2D ArrayCode that creates, traverses, and changes elements in a two-dimensional array
Source: College Board exam page.

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.

CSPCSA
College equivalentFirst-semester introductory college course in computingOne-semester introductory college course in computer science
Recommended prerequisiteA high school algebra courseHigh school English and algebra, familiarity with functions
Exam70 multiple choice plus the Create performance task42 multiple choice plus 4 code-writing questions
2026 share scoring 3 or higher63%66%
2026 share of 5s10%25%
2027 exam dateFriday, May 14Wednesday, May 12
Source: College Board course and exam pages and 2026 score distributions.

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

Is AP Computer Science A hard?

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.

What programming language does AP Computer Science A use?

It uses a subset of Java. Students design, write, test, and debug Java programs.

What are the prerequisites for AP Computer Science A?

College Board recommends high school courses in English and algebra and familiarity with functions and function notation.

How long is the AP Computer Science A exam?

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%.

When is the 2027 AP Computer Science A exam?

The 2027 exam is on Wednesday, May 12, 2027, in Session 2.

Is AP Computer Science A harder than Principles?

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%.

Does MIT give credit for AP Computer Science A?

No. MIT gives no credit for the AP exams in computer science for the Class of 2030.

When should a student take AP Computer Science A?

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.


Latest Posts

Show all

Sign up for our newsletter