# AP Computer Science A exam guide

> Java programming across the four units of the revised AP Computer Science A framework, with published exam weightings.

- Canonical page: https://www.arcadesacademy.com/exams/ap-computer-science-a
- Markdown source: https://www.arcadesacademy.com/exams/ap-computer-science-a/llms.txt
- Exam family: AP exams
- Governing body: College Board
- Official exam information: https://apstudents.collegeboard.org/courses/ap-computer-science-a
- Who takes it: High school students who want college credit or placement in a first programming course, often after AP Computer Science Principles or another introductory course.
- Follows the fall 2025 course and exam description, from 15 May 2026
- Guide structure last checked against official sources: August 30, 2026

## Overview

AP Computer Science A is a Java programming course equivalent to a first-semester college computer science course. It covers object-oriented programming, control flow, class design, and data structures, and it assesses both reading code and writing it, with four free-response questions that require producing working Java by hand.

The course framework was revised effective fall 2025. The previous ten units were consolidated into four, the inheritance unit was removed to bring the course closer to typical introductory college courses, and topics on text files and data sets were added. The exam is now fully digital, with free-response answers typed into a code editor inside College Board's Bluebook app rather than handwritten.

Arcade Academy is an independent study workspace. Because the framework was revised recently, treat the official Course and Exam Description as authoritative for unit organization and published weightings, and use the unit pages below to organize coding practice.

## Exam format

- **Total time:** 3 hours
- **Section I:** 42 multiple-choice questions in 1 hour 30 minutes, 55% of the exam score
- **Section II:** 4 free-response questions in 1 hour 30 minutes, 45% of the exam score
- **Delivery:** Fully digital: both sections are completed in College Board's Bluebook app, with free-response answers typed into a built-in code editor
- **Reference material:** The Java Quick Reference is available during the exam
- **Framework update:** The course framework was revised effective fall 2025, consolidating the previous ten units into four and removing the inheritance unit
- **Score scale:** 1 to 5

## Scoring

The multiple-choice section contributes 55% and the free-response section 45% of a composite score, which College Board converts to the reported 1 to 5 scale using cut points set for that year's exam. Free-response answers are scored on rubrics that award partial credit for correct components, so a partially working method still earns points. Colleges set their own credit and placement policies.

## Units

AP Computer Science A is organized into 4 units. Each one below lists its published weighting where the governing body publishes one, the topics it covers, and study tips specific to it.

### 1. Unit 1: Using Objects and Methods

- Position: 1 of 4
- Published weighting: 15–25%
- Page: https://www.arcadesacademy.com/exams/ap-computer-science-a/unit-1-using-objects-and-methods

Unit 1 establishes Java fundamentals and the habit of using objects before building them. Primitive types, expressions, and casting come first, then object creation, method calls, and the String, Math, and wrapper classes. Precision about types and about integer versus floating-point division is the skill that prevents the most common errors later.

#### Topics

- **Primitive types and variables** — Declaring variables, the int, double, and boolean types, and the ranges each can hold.
- **Expressions and assignment** — Arithmetic operators, operator precedence, compound assignment, and integer versus floating-point division.
- **Casting and numeric ranges** — Widening and narrowing conversions, truncation on casting to int, and integer overflow.
- **Objects and instantiation** — Reference variables, constructors, the null reference, and the difference between an object and its reference.
- **Calling methods** — Method signatures, parameters, return values, void methods, and reading documentation to use a class.
- **String, Math, and wrapper classes** — String immutability and its common methods, Math class methods, and autoboxing with Integer and Double.

#### Study tips

- Trace expressions by hand with types annotated; integer division errors are the single most common early mistake.
- Practice reading unfamiliar class documentation and calling its methods correctly, which the exam tests directly.
- Learn the String methods and their exact index conventions, since off-by-one errors are heavily penalized.

### 2. Unit 2: Selection and Iteration

- Position: 2 of 4
- Published weighting: 25–35%
- Page: https://www.arcadesacademy.com/exams/ap-computer-science-a/unit-2-selection-and-iteration

Unit 2 covers control flow, the largest single source of multiple-choice questions after data collections. Boolean expressions, conditionals, and loops are developed together with the reasoning needed to compare objects correctly and to evaluate equivalent Boolean expressions. Informal runtime analysis by counting statement executions is introduced here.

#### Topics

- **Boolean expressions** — Relational and logical operators, short-circuit evaluation, and building compound conditions.
- **Conditional statements** — The if, else if, and else structures, and nested conditionals with careful attention to which branch runs.
- **Equivalent Boolean expressions** — Applying De Morgan's laws and simplifying conditions without changing behavior.
- **Comparing objects** — Why the equals method and the double-equals operator differ for references, and comparing Strings correctly.
- **While and for loops** — Loop control variables, termination conditions, and translating between the two loop forms.
- **Nested iteration and runtime** — Loops inside loops, and counting how many times a statement executes as an informal efficiency measure.

#### Study tips

- Trace nested loops with a table of variable values on every iteration rather than reasoning about them abstractly.
- Practice comparing Strings with the equals method until using the double-equals operator on references feels wrong.
- Count statement executions for a nested loop as a routine exercise; it is a common multiple-choice item.

### 3. Unit 3: Class Creation

- Position: 3 of 4
- Published weighting: 10–18%
- Page: https://www.arcadesacademy.com/exams/ap-computer-science-a/unit-3-class-creation

Unit 3 moves from using classes to writing them. Instance variables, constructors, accessor and mutator methods, static members, scope, and the this reference are the content, along with documenting behavior through comments and preconditions. One of the four free-response questions typically asks students to design and implement a class from a specification.

#### Topics

- **Anatomy of a class** — Instance variables, methods, and the access modifiers that control visibility.
- **Constructors** — Initializing instance variables, writing multiple constructors, and the role of parameters.
- **Accessor and mutator methods** — Providing controlled access to private state, and the conventions the exam expects.
- **Writing methods** — Implementing behavior from a specification, including return types and parameter handling.
- **Static variables and methods** — Class-level state and behavior, and when static is appropriate rather than instance-level.
- **Scope, access, and the this reference** — Local versus instance scope, why encapsulation matters, and using this to disambiguate.

#### Study tips

- Write a complete class from a written specification at least once a week; it is a standard free-response task.
- Keep instance variables private and provide accessors, since the rubrics expect proper encapsulation.
- Practice reading a specification and listing the required instance variables and method signatures before coding.

### 4. Unit 4: Data Collections

- Position: 4 of 4
- Published weighting: 30–40%
- Page: https://www.arcadesacademy.com/exams/ap-computer-science-a/unit-4-data-collections

Unit 4 carries the largest published weighting in the course. It covers arrays, two-dimensional arrays, and ArrayList, along with the traversal patterns, standard algorithms, and searching and sorting that operate on them. Text files and data sets were added in the revised framework, extending the unit toward working with real data.

#### Topics

- **Arrays and traversal** — Declaring and initializing arrays, indexing, the length field, and standard and enhanced for traversals.
- **Array algorithms** — Finding a maximum or minimum, summing, counting matches, and shifting or reversing elements.
- **Two-dimensional arrays** — Row-major structure, nested traversal, and algorithms that work across rows and columns.
- **ArrayList** — Creating and modifying an ArrayList, its methods, and why removing during traversal requires care.
- **Searching and sorting** — Linear and binary search, selection and insertion sort, and the requirements and costs of each.
- **Text files and data sets** — Reading structured data into a collection and processing it with the algorithms above.

#### Study tips

- Practice the standard array and ArrayList algorithms until you can write them from memory without a template.
- Work removal-during-traversal problems deliberately; the index shift is a classic exam trap.
- Give this unit the most practice time; its published weighting is the largest of the four.

## Study strategies

- Write code by hand or in a plain editor without autocomplete, since the exam's code editor will not fix syntax for you.
- Weight practice by the published percentages, giving data collections and selection and iteration the largest shares.
- Trace code methodically with a variable table, because a large fraction of the multiple-choice section is reading code rather than writing it.
- Work full free-response questions under time and then score them against released rubrics, since partial credit follows specific components.
- Practice writing complete classes from written specifications, which is the free-response format students most often underprepare.
- Confirm the current unit organization and exam details on the official pages, since the framework was revised effective fall 2025.

## Frequently asked questions

### How is the AP Computer Science A Exam structured?

The exam runs 3 hours. Section I is 42 multiple-choice questions in 1 hour 30 minutes for 55% of the score, and Section II is 4 free-response questions in 1 hour 30 minutes for the remaining 45%. The Java Quick Reference is available during the exam.

### What changed in the revised AP Computer Science A framework?

Effective fall 2025, the previous ten units were consolidated into four, the inheritance unit was removed to align the course more closely with typical introductory college courses, and topics on text files and data sets were added. The official Course and Exam Description is the authoritative description of the change.

### Which units do students find hardest?

College Board does not rank difficulty. Students commonly report that two-dimensional array traversals and ArrayList modification during traversal require the most practice, and that writing a full class from a specification is the free-response format that needs the most rehearsal. Practice results are the better guide.

### How is the exam scored?

The multiple-choice section contributes 55% and the free-response section 45% of a composite score converted to the reported 1 to 5 scale using cut points set each year. Free-response rubrics award partial credit for correct components, so incomplete but correct work still earns points. Colleges decide credit and placement individually.

### How is the exam delivered, and can I use an IDE?

AP Computer Science A is fully digital and taken in College Board's Bluebook app, with free-response answers typed into a built-in code editor. It is a code editor rather than a full development environment, so it does not compile or run your code. Confirm current details on the official exam page.

### Is Arcade Academy affiliated with College Board?

No. AP® is a registered trademark of College Board, which was not involved in the production of, and does not endorse, this site. Arcade Academy is an independent educational resource.

## Related exam guides

- [AP Computer Science Principles](https://www.arcadesacademy.com/exams/ap-computer-science-principles): All five AP Computer Science Principles big ideas with published exam weightings, plus the Create performance task.
- [AP Calculus AB](https://www.arcadesacademy.com/exams/ap-calculus-ab): All eight AP Calculus AB units with published exam weightings, from limits through applications of integration.
- [AP Statistics](https://www.arcadesacademy.com/exams/ap-statistics): The revised five-unit AP Statistics framework, from exploring data and collecting it through inference and regression.

## Independence and trademark notice

AP® is a registered trademark of College Board, which was not involved in the production of, and does not endorse, this site. Arcade Academy is an independent educational resource. Confirm current exam format, dates, and policies with College Board directly.

AP® is a registered trademark of College Board, which was not involved in the production of, and does not endorse, this site. Arcade Academy is an independent educational resource.
