AP Computer Science A

Learn all about the course and exam.

About the Exam

The 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.

Exam Duration
3hrs

Exam Dates

Exam Components

40 questions 1hr 30mins 50% of Score

The multiple-choice section includes individual, single questions as well as sets of 2–3 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

4 questions 1hr 30mins 50% of Score

In the free-response section, you’ll respond to four questions with written answers. The section includes:

  • 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: Classes—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: Array/ArrayList—You’ll be asked to write program code to satisfy method specifications and create, traverse, and manipulate elements in 1D array or ArrayList objects.
  • 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.

Search AP Credit Policies

Find colleges that grant credit and/or placement for AP Exam scores in this and other AP courses.

Not a student?

Go to AP Central for resources for educators