Bright Sprouts AcademyColumbia & Imperial educators

College Board · AP Computer Science A

AP Computer Science A: Units and Topic Notes

AP Computer Science A is College Board's introductory programming course in Java, comparable to a first-semester college course. These notes cover each of its four units, with key ideas, common mistakes, and a worked example.

See the free AP Computer Science A practice test

Free to take. A free account shows your score.

Overview

About AP Computer Science A

The course has four units. Using Objects and Methods (15–25% of the multiple-choice section) covers types, expressions, method calls, and strings. Selection and Iteration (25–35%) covers conditions and loops. Class Creation (10–18%) covers writing your own classes. Data Collections (30–40%) covers arrays, ArrayList, 2D arrays, text files, searching, sorting, and recursion.

The course framework changed for the 2025–26 school year, and the first exam in the new format was given in May 2026. Ten units became four, designing inheritance hierarchies left the course, and reading data from text files and the ethics of data collection were added. On the exam, multiple choice grew to 42 questions worth 55%, and the four free-response questions are now worth 7, 7, 5, and 6 points instead of 9 points each.

Students usually take AP Computer Science A in grade 10, 11, or 12. No earlier programming course is required, though comfort with algebra helps. The exam is fully digital: students answer both sections in the Bluebook testing app, typing their free-response code there.

Topics

AP Computer Science A topic notes

Each note covers the key ideas, the mistakes that cost marks, and a worked example. Weights are the official ones where the specification publishes them.

FAQ

AP Computer Science A FAQs

What units are in AP Computer Science A?

There are four: Using Objects and Methods, Selection and Iteration, Class Creation, and Data Collections. Data Collections carries the most weight, at 30–40% of the multiple-choice section.

What changed in AP Computer Science A in 2025–26?

College Board cut the course from ten units to four, removed inheritance design, and added text files and data ethics. The exam now has 42 multiple-choice questions worth 55%, and its four free-response questions are worth 25 points in total, with Data Analysis with ArrayList replacing the old Array/ArrayList question.

Do I have to write recursive code for AP Computer Science A?

No. Recursion is part of the course, but the exam only asks you to trace recursive methods, such as working out what a call returns or how binary search and merge sort proceed. Writing recursive code is outside the scope of the exam.

Do I need programming experience before AP Computer Science A?

No. The course starts from the basics of Java, so no earlier programming class is required. Comfort with algebra helps, and some students take AP Computer Science Principles first, but that is optional.

Want help with AP Computer Science A?

Book a free consultation and we'll build a plan around your goals.

Every question on this site is original and written by Bright Sprouts Academy. AP, Advanced Placement, SAT, and PSAT/NMSQT are registered trademarks of College Board, which is not affiliated with and does not endorse this site. PSAT/NMSQT is also a trademark jointly owned by College Board and National Merit Scholarship Corporation.

Last updated . Exam board and university requirements change, so always check the official specification and admissions pages.