AP Computer Science A
Sign in to My AP or view free online classes and review sessions on YouTube.
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.
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:
4 questions 1hr 30mins 50% of Score
In the free-response section, you’ll respond to four questions with written answers. The section includes:
ArrayList—You’ll be asked to write program code to satisfy method specifications and create, traverse, and manipulate elements in 1D array or
Practice in AP Classroom
Enrolled in an AP course? If you’ve already joined your class section online, your teacher can assign you practice questions through AP Classroom. Sign in to access them.
2019 AP Computer Science A Free-Response Questions and Scoring Guidelines
Review the released free-response questions and the scoring guidelines.
AP Computer Science A Exam Free-Response Question and Scoring Information Archive
Review free-response questions, sample student responses, and scoring guidelines from 2018 and earlier.
AP Computer Science A Java Quick Reference—2020 Exam
The Java Quick Reference lists the accessible methods from the Java library that may be included on the exam, starting with the 2019-20 school year. The Java Quick Reference is included in the exam booklet.
AP Computer Science A Java Quick Reference—2004-2019 Exams
The Java Quick Reference lists the accessible methods from the Java library that may have been included on the exam. This should be used in conjunction with the 2019 released free-response questions.