Choosing how to earn college credit? CLEP vs AP guide
| preferred AP College board partner for AP classes
AP Computer Science A/Exam Info
Browse units
Start Practice TestPractice Test
CollegeBoard PDF

AP Computer Science A Exam Info

The AP Computer Science A Exam will test your understanding of the programming concepts covered in the course units, as well as your ability to read and write code for computer programs.

This is a fully digital exam. You’ll complete multiple-choice and free-response questions in the Bluebook testing app, with all responses automatically submitted at the end of the exam.

Reference materials, such as equations sheets and reference tables, are available for this course. Go to Reference Information for Specific AP Exams to find reference materials for AP Computer Science A and exam day details.  

How do CLEP and AP differ?

Compare CLEP and AP on CLEP AI Foundation. Available subjects and college credit policies vary.

AP Computer Science A Exam

This is the regularly scheduled date for the AP Computer Science A Exam.

Wed, May 12, 2027Session 23hrs

Exam Components

Section 1: Multiple Choice

42 questions 55% of Score

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

4 questions 45% of Score

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.

Skills You'll Learn

  • Designing a program, developing the algorithms it needs, and writing code to implement them

  • Testing program code and correcting errors

  • Documenting and explaining how program code works

Units

Unit 1: Using Objects and Methods

Java values, expressions, objects, methods, strings, and library APIs.

Primitive values and expressions; object construction; method calls; String and Math methods; APIs and documentation.

Exam weighting: 15%–25%.

Unit 2: Selection and Iteration

Control program execution with conditions, loops, and standard algorithms.

Boolean expressions; conditional statements; for and while loops; nested loops; arithmetic and string algorithms; informal runtime analysis.

Exam weighting: 25%–35%.

Unit 3: Class Creation

Design and implement classes that model data and behavior.

Abstraction and program design; constructors; instance and static methods; reference parameters; scope, access, and this.

Exam weighting: 10%–18%.

Unit 4: Data Collections

Read, organize, analyze, search, and sort collections of data responsibly.

Data ethics and privacy; data sets; arrays and traversals; File and Scanner; String.split; wrapper classes; ArrayList; 2D arrays; searching, sorting, and recursion.

Exam weighting: 30%–40%.

APFIVE © 2020.
Email: apfive@apfive.org|Instagram: @_apfive_|Privacy Policy|