Skip to content
Studeous.

AP Computer Science A mock exams and practice tests

AP Computer Science A is a College Board Advanced Placement exam reported from 1 to 5. The May 2027 exam has 42 multiple-choice and 4 free-response questions in 180 minutes of testing. Practice tests for this subject are available to pre-order. The tests you buy open automatically as they are published, and each test's 12 months of access start on the day it opens.

Free AP Computer Science A practice test with an account · tests from €11 on pre-order · one payment, nothing renews

How the AP Computer Science A is built

AP Computer Science A sections, question counts and timing
SectionQuestionsTime
Multiple Choice4290 min
Free Response490 min
Total463 h

The May 2027 exam is fully digital and is taken in the College Board's Bluebook app.

The score scale

The AP Computer Science A is reported from 1 to 5.

College Board publishes no cut scores for current AP exams, so a practice result is an estimated AP score, never a reported one.

Not sure where you stand?

Start with the free full-length AP Computer Science A practice test, on the section timing above. All it needs is a free account.

Take the free AP Computer Science A test

What AP Computer Science A covers

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)

College Board divides AP Computer Science A into four units, each with its exam weighting:

Unit by unit, in College Board’s own words to students:

  1. Unit 1 Using 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
  2. Unit 2 Selection 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
  3. Unit 3 Class 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
  4. Unit 4 Data 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

The shares are College Board's ranges for the multiple-choice section.

Computational Thinking Practices in College Board's framework

Exam Weighting (Multiple-Choice Section), as College Board prints it

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.

Units: the AP Computer Science A Course and Exam Description. Description and skills: AP Central (13 November 2026). Unit outline: AP Students' AP Computer Science A course page (18 November 2026).

The AP Computer Science A exam, section by section

College Board’s date for the 2027 exam: 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.

How College Board describes it to students

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.

From AP Central's AP Computer Science A exam page (13 November 2026) and AP Students' AP Computer Science A exam page (18 November 2026).

AP Computer Science A for a university place in Germany

Frankfurt School's sheet of 17 January 2019 names "AP Computer Science", without saying which of the two exams, among the examples of the fourth, additional subject.

Sources, read 18 November 2026: Frankfurt School's eligibility sheet for US High School Diploma holders, uni-assist's webinar of 13 February 2019, and uni-assist's USA page, which counts AP exams taken during high school with results issued by College Board.

What a AP Computer Science A result is worth

College Board's worldwide sheet for the May 2025 AP Computer Science A exam counts 93,906 students. 25.5% scored 5, 21.8% scored 4, and 67% reached 3 or higher, with a mean score of 3.18.

The University of California gives credit for a 3 or higher on designated AP exams. Its table puts AP Computer Science A at 5.3 semester units (8 quarter units): the first figure applies at Berkeley and Merced, the second at the other campuses.

Sources: College Board's Student Score Distributions, Global, May 2025; the University of California's AP credit table, read 26 November 2026.

How the course description paces and checks AP Computer Science A

The CED suggests class periods for each of the four units: about 32 to 34 for Unit 1, about 29 to 31 for Unit 2, about 20 to 22 for Unit 3 and about 50 to 52 for Unit 4. Unit 4 is therefore the longest stretch of the course as well as the one with the heaviest multiple-choice weighting.

Progress Checks come in parts that follow the topics. Unit 1 has three: Topics 1.1–1.4 with about 12 multiple-choice questions, Topics 1.5–1.9 with about 15, and Topics 1.10–1.15 with about 18 plus 1 free-response question on Methods and Control Structures (partial). Unit 2 has two, Topics 2.1–2.6 with about 18 multiple-choice questions and 1 free-response question, and Topics 2.7–2.12 with about 21, both on Methods and Control Structures (partial). Unit 3 has Topics 3.1–3.4 with about 12 multiple-choice questions, and Topics 3.5–3.9 with about 15 and 2 free-response questions on Class Design. Unit 4 has three: Topics 4.1–4.5 with about 18 multiple-choice questions and 2 free-response questions on Data Analysis with Array (partial), Topics 4.6–4.10 with about 21 and 2 on Data Analysis with ArrayList, and Topics 4.11–4.17 with about 21 and 2 on 2D Array.

Unit 1 is framed by three essential questions: how to represent the buttons on a remote control using variables, how to simulate election results using existing program code, and how to use random numbers to add variety and unpredictability to games. Its preparing note asks students to spend time understanding and tracing code, especially for the multiple-choice section, and says the first free-response question, Methods and Control Structures, requires implementing an algorithm that calls String methods. It also recommends using the Java Quick Reference in the Appendix regularly in class so that it is familiar before the exam.

The Unit 1 topics include “Variables and Data Types”, “Expressions and Output”, “Assignment Statements and Input”, “Casting and Range of Variables”, “Compound Assignment Operators”, “Application Program Interface (API) and Libraries”, “Documentation with Comments” and “Method Signatures”, followed by “Calling Class Methods”, “Math Class”, “Objects: Instances of Classes”, “Calling Instance Methods” and “String Manipulation”.

Unit 3 on class creation includes “Abstraction and Program Design”, “Impact of Program Design”, “Anatomy of a Class”, “Constructors” and “Class Variables and Methods”. Unit 4 starts with “Ethical and Social Issues Around Data Collection” and “Introduction to Using Data Sets”, moves through “Array Creation and Access”, “Array Traversals”, “Implementing Array Algorithms”, “Using Text Files”, “Wrapper Classes”, “ArrayList Methods”, “ArrayList Traversals” and “Implementing ArrayList Algorithms”, and ends with “Searching Algorithms”, “Sorting Algorithms”, “Recursion” and “Recursive Searching and Sorting”.

Source: College Board's AP Computer Science A Course and Exam Description, read 27 November 2026.

Packages

AP Computer Science A practice tests are sold singly or in bundles of 5 and 10: choose below. The tests you buy open automatically as they are published, and each test's 12 months of access start on the day it opens.

The figures below are rounded to the whole euro; checkout shows the exact amount before you pay.

Full-length practice tests

  • AP Computer Science A — one full-length practice test

    €11

    One full-length AP Computer Science A test in the May 2027 format, with an estimated AP score from 1 to 5. The tests you buy open automatically as they are published, and each test's 12 months of access start on the day it opens.

    Buy AP Computer Science A — one full-length practice test
  • AP Computer Science A — five full-length practice tests

    €46€9.20 a test

    Five full-length AP Computer Science A tests in the May 2027 format, each with an estimated AP score from 1 to 5. The tests you buy open automatically as they are published, and each test's 12 months of access start on the day it opens.

    Buy AP Computer Science A — five full-length practice tests
  • Includes advanced performance analysis

    AP Computer Science A — ten full-length practice tests

    €82€8.20 a test

    Ten full-length AP Computer Science A tests in the May 2027 format, each with an estimated AP score from 1 to 5. The tests you buy open automatically as they are published, and each test's 12 months of access start on the day it opens.

    What the analysis shows

    Advanced performance analysis: 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

    Buy AP Computer Science A — ten full-length practice tests

See all pricing.

The AP Computer Science A report

  • In the AP Computer Science A report

    An estimated AP score from 1 to 5, multiple choice by unit, from Using Objects and Methods to Data Collections, and an AI estimate for each free response.

A friend who joins through your link can take 15% off their first purchase here

When a friend opens a Studeous account through your personal link, they can take 15% off one product within 7 days of opening it. The offer covers practice tests and question banks, one product in one payment, and it works by card only. It cannot be combined with any other discount, and the product cannot cost more than the dearest one you have bought. The saving is the invited friend's alone: there is no reward for you.

AI Tutor talks you through the questions you got wrong

When your AP practice test ends, pick a mistake on your results page and the lesson starts. The tutor won't just read out the answer: it asks you, writes the steps on the board and lets you find where you went wrong.

On the AP it works through Multiple Choice, Free Response and Short Answer questions.

A shared board
The tutor writes the steps one under another; you write with the pen, and it reads your handwritten step and carries on from there.
It won't lead with the answer, or withhold it
It asks you first and gives hints one step at a time when you're stuck. Ask for the answer and you get it; the “Show the answer” button is always there too.

Your first 2 mistakes are free (up to 10 minutes)

No card needed to try it, just your account.

Then 30-minute blocks at €4

Unused minutes stay on your account for your next practice tests.

AI Tutor lesson screen: an AP Chemistry multiple-choice question (the mass percent of CaCO₃ in a mixture) on the left, the tutor's steps written one under another on the board in the middle, and on the right the tutor speaking and the list of wrong questions grouped by topic.
Sample screen

AP and Advanced Placement are trademarks of College Board. Studeous is not affiliated with, endorsed by, or connected to College Board, and this page describes the exam only to explain what our practice material prepares students for.

Reviewed by the Studeous Assessment Team · Updated 28 November 2026

WhatsApp