AP Computer Science A

Sign in to My AP or view free online classes and review sessions on YouTube.

About the Exam

Important: Because of school closures due to COVID-19, we’re offering at-home testing for the 2020 AP Computer Science A Exam as well as free resources to help you prepare. For more details, visit the 2020 AP Coronavirus Updates AP Computer Science A exam page. Note that any related adjustments to 2020 AP Exams, such as length or content covered, may not be reflected on all AP Students pages.

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

  • Fri, May 15, 2020,
    4 PM ET

    AP Computer Science A Exam

    May 15, 2020 is the updated date for the AP Computer Science A Exam.

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.

Exam Preparation

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