AP Computer Science A
Learn all about the course and exam. Already enrolled? Join your class in My AP.
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.