AP Computer Science A practice tests
AP Computer Science A is one of the College Board's Advanced Placement exams: a May exam on a college-level course taken at school, whose 1-5 score universities use for credit or advanced placement.
AP Computer Science A
- Published tests
- 1
- Free
- 1
No card required for the free test.
AP Computer Science A practice-test packs
Pre-order: tests unlock as they are published
Choose 1, 5 or 10 tests of AP Computer Science A. Each subject has 10 paid tests planned. The tests you buy open automatically as they are published, and each test's 12 months of access start on the day it opens.
AP Computer Science A: the course outline behind the exam
“AP Computer Science A is an introductory college-level computer science course. Students cultivate their understanding of coding through analyzing, writing, and testing code as they explore concepts like modularity, variables, and control structures.” College Board
Four units make up AP Computer Science A in College Board's framework.
Unit 1Using Objects and Methods
15–25%You'll learn the fundamentals of Java, a programming language, and other foundational concepts for coding. You'll explore reference data as a way to represent real-world objects in a digital world and discover methods to perform more complex operations.
Topics may include:
- Using primitive data types including int, double, and Boolean
- Evaluating arithmetic expressions in program code
- Using assignment operators to produce a value
- Knowing how variables and operators are sequenced and combined in an expression to create a result
- Using comments to describe the functionality of code
- Using objects and classes to describe instances, attributes, and behaviors
- Creating objects by calling constructors with and without parameters
- Defining an object's behavior using methods, including static and Math class
- Calling non-static void methods with and without parameters
- Using String objects and methods
- Using application program interfaces (APIs) and libraries
Unit 2Selection and Iteration
25–35%You'll delve into the building blocks of algorithms and focus on using conditional statements to solve problems and control results. You'll learn about iteration, another building block of algorithms that are for repetition.
Topics may include:
- Finding Boolean values with expressions involving relational operators
- Using conditional statements to execute different statements based on input values
- Building on conditional statements to create multiple possible outcomes
- Creating the same value using equivalent Boolean expressions
- Creating a loop to run an expression repeatedly until certain conditions are met
- Implementing standard arithmetic-based and String-based algorithms
- Representing iterative processes in code using for and while loops
- Nesting loop and iteration statements
- Informally analyzing run-times
Unit 3Class Creation
10–18%You'll explore how real-world interactions can be expressed digitally by organizing behaviors and attributes into classes.
Topics may include:
- Designing a class, including whether attributes are public or private
- Setting an object's attributes using constructors
- Defining behaviors of an object using non-void, void, and static methods
- Breaking problems into smaller parts by creating methods to solve individual subproblems
Unit 4Data Collections
30–40%You'll learn techniques and standard algorithms to work with collections of related data, known as data structures. You'll delve deeper into data sets, exploring array, ArrayList of objects, and 2D arrays.
Topics may include:
- Considering intellectual property and ethical concerns in programming
- Considering ethical issues around data collections
- Using data sets
- Representing multiple related items as array objects
- Traversing an array by accessing the elements using iteration statements
- Implementing standard algorithms that utilize array traversals to perform functions
- Utilizing class libraries, including Integer and Double
- Representing collections of related object reference data using
- ArrayList objects
- Traversing an
- ArrayList by accessing the elements using iteration statements
- Implementing standard algorithms that utilize
- ArrayList traversals to perform functions
- Searching and sorting using standard algorithms
- Representing collections of data as arrays of arrays, or 2D arrays
- Traversing a 2D array by accessing the elements using nested iteration statements
- Executing recursive methods
- Searching and sorting using binary search and merge sort algorithms
Shares are College Board's ranges for the multiple-choice section only.
Computational Thinking Practices College Board assesses in AP Computer Science A
Exam Weighting (Multiple-Choice Section) (College Board’s figures)
- Design Code2%–10%
- Determine an appropriate program design and develop algorithms.
- Develop Code22%–38%
- Write and implement program code.
- Analyze Code37%–53%
- Determine the output or result of a given program code or explain why code may not work as intended.
- Document Code and Computing Systems10%–15%
- Describe the behavior and conditions that produce specified results in a program.
- Use Computers Responsibly2%–10%
- Understand the ethical and social implications of computer use.
How the AP Computer Science A paper is built
This is a fully digital exam. Students complete multiple-choice and free-response questions in the Bluebook testing app, with all responses automatically submitted at the end of the exam. The
College Board’s date for AP Computer Science A: Wednesday 12 May 2027 (session 2).
Section I: Multiple Choice
42 Questions · 1 Hour 30 Minutes · 55% of Exam Score
- The multiple-choice section includes mostly individual questions, occasionally with 1–2 sets of questions (2 questions per set).
- Computational Thinking Practices 1, 2, 3, 4, and 5 are all assessed in the multiple-choice section.
Section II: Free Response
4 Questions · 1 Hour 30 Minutes · 45% of Exam Score
- All free-response questions assess Computational Thinking Practice 2: Develop Code, with the following focus:
- Question 1: Methods and Control Structures—Students will write 2 methods or 1 constructor and 1 method of a given class based on provided specifications and examples. In Part A the method or constructor will require students to write iterative or conditional statements, or both, as well as statements that call methods in the specified class. In Part B the method or constructor will require calling String methods.
- Question 2: Class Design—Students will be instructed to design and implement a class based on provided specifications and examples. A second class might also be included. Students will be provided with a scenario and specifications in the form of a table demonstrating ways to interact with the class and the results. The class must include a class header, instance variables, a constructor, a method, and implementation of the constructor and required method.
- Question 3: Data Analysis with ArrayList—Students will be provided with a scenario and its associated class(es). Students will write 1 method of a given class based on provided specifications and examples. The method requires students to use, analyze, and manipulate data in an ArrayList structure.
- Question 4: 2D Array—Students will be provided with a scenario and its associated class(es). Students will write 1 method of a given class based on provided specifications and examples. The method requires students to use, analyze, and manipulate data in a 2D array structure.
What College Board tells AP Computer Science A candidates
Section 1: Multiple Choice
- The multiple-choice section includes individual, single questions as well as occasional sets of 2 questions. You'll be asked to:
- Determine the required code segments to produce a given output
- Identify the output, value, or result of given program code based on initial values
- Analyze program code for correctness, equivalence, and errors
- Describe the behavior and conditions that lead to results in a program
Section 2: Free Response
- In the free-response section, you'll respond to four questions with written answers:
- Question 1: Methods and Control Structures—You'll be asked to write program code to create objects of a class and call methods, and satisfy method specifications using expressions, conditional statements, and iterative statements.
- Question 2: Class Design—You'll be asked to write program code to define a new type by creating a class and satisfy method specifications using expressions, conditional statements, and iterative statements.
- Question 3: Data Analysis with ArrayList—You'll be asked to write program code to satisfy method specifications and create, traverse, and manipulate elements in an ArrayList structure.
- Question 4: 2D Array—You'll be asked to write program code to satisfy method specifications and create, traverse, and manipulate elements in 2D array objects.
How candidates scored in AP Computer Science A, May 2025
College Board's worldwide results for May 2025 count 93,906 students who sat AP Computer Science A. 25.5% of them scored 5 and 21.8% scored 4; 67.0% scored 3 or higher, and the mean score was 3.18.
The UK offers quoted below are written in AP grades such as 5 and 4, so these are the shares of one year's candidates who reached them in this subject.
AP Computer Science A on a UCAS application
- Imperial College London asks for at least five AP tests graded 5, 5, 5, 4, 4, or three graded 5, 5, 4 with a school-leaving qualification and 1460 on the SAT or 31 on the ACT.
- King's College London turns an A-level subject grade into an AP grade (A* or A: a 5; B: a 4), and counts AP exams, not AP classes.
- AP Seminar and AP Research do not count towards the AP requirement at LSE or King's, and Cambridge does not usually count Capstone scores among its five 5s.
Sources: College Board's AP Central and AP Students pages, the Course and Exam Description, the May 2025 student score distributions (read 13 November 2026 and 18 November 2026); the UK universities' admissions pages (read 18 November 2026).
Know the screen before test day.
- AP Computer Science A tools, on screen
- Mark for Review and the option eliminator, the Desmos calculator only where the exam permits one, and a reference sheet where the exam provides one.
- How the test runs
- The parts run in order, each on its own clock. A part cannot be reopened once it ends.
AP Computer Science A tests are in preparation: the tests you buy open as they are published.
See what the score is made of.
- In the AP Computer Science A report
- The multiple choice of each test is marked and every free-response answer is estimated against scoring-guideline rows with AI; the report gives an estimated AP score from 1 to 5, a composite and the multiple choice by unit.
Read each free response's AI estimate and feedback, then the multiple-choice questions in your weakest unit.
AP Computer Science A practice questions, answered
Which AP Computer Science A practice-test packs can I buy?
You can buy 1, 5 or 10 tests of AP Computer Science A. A pack is for one AP subject, with 10 paid tests planned for that subject.
When do my AP Computer Science A tests open?
The tests you buy open automatically as they are published, and each test's 12 months of access start on the day it opens.
How many AP Computer Science A tests are published?
1 AP Computer Science A test is published. Your purchase is saved, and the remaining tests open automatically as they are published.
Which AP Computer Science A purchases include the advanced performance analysis?
A 10-test pack includes the advanced performance analysis, in the Progress tab of your panel. It shows: accuracy by section, topic and subtopic; results on easy, medium and hard questions; time use in practice tests (rushed, on time, slow); your 6 weakest topics; weekly progress chart.
Written and reviewed by the NewEducare editorial team · Last updated
AP Computer Science A is a trademark of the College Board. NewEducare is an independent practice-test provider and is not affiliated with, endorsed by, or accredited by the College Board. The name is used here only to identify the exam these practice tests prepare for.