An unhandled error has occurred. Reload X
Skip to main content

AP Computer Science A Practice Test

90 questions available

This AP Computer Science A Practice Test is a comprehensive assessment designed to evaluate mastery of the core topics covered in the AP Computer Science A curriculum. It consists of 90 questions that span the full range of required content, including 2D Arrays, Arrays, ArrayLists, Boolean Expressions and if Statements, Inheritance, Iteration, Primitive Types, Recursion, Using Objects, and Writing Classes. The test is intended for high school students preparing for the AP exam, self-learners seeking to validate their understanding, or educators looking for a rigorous benchmark. By taking this practice test, you will gain a clear measure of your proficiency in object-oriented programming, algorithm design, and problem-solving using Java. You will also develop the ability to trace code, identify logical errors, and apply key concepts such as polymorphism, recursion, and array traversal. The test emphasizes both conceptual understanding and practical coding skills, mirroring the style and difficulty of the actual AP exam. Upon completion, you will have a detailed diagnostic of your strengths and areas for improvement, enabling targeted study and increased confidence for the official exam.

Certification exam
3 hours Time Limit
Practice bank
90 Practice Questions
1 hour 30 minutes Practice Time
Start Practice
The bar to clear 3 Official passing score. Aim higher in practice before you book.
Official objectives from College Board
College Board90 practice questions48 answers with a checkable referenceBlueprint 1.0Bank updated 2026-07-09

Sample Questions

Try a few questions to see what the full exam is like.

48 of 90 answers carry a checkable reference.

2D Array

Which notation accesses or modifies a 2D array element by row and column?

Array

Which statement is true when an array stores object references?

Primitive Types

A Double object is automatically used where a double value is expected. What is the conversion called?

Primitive Types

A variable must store a real number, an integer, or a truth value. Which primitive set covers these needs?

ArrayList

A program executes `new ArrayList()`. What initial contents should be expected?

Why This Certification Opens Doors

Mastering the topics in this practice test is not just about passing an exam; it directly translates to real-world software development and computational thinking. Arrays and ArrayLists are fundamental data structures used in everything from video game inventories to database management. Recursion and iteration are the backbone of algorithms that power search engines, file systems, and artificial intelligence. Inheritance and polymorphism are essential for building scalable, maintainable code in large-scale applications like web frameworks and mobile apps. Boolean expressions and if statements form the logic behind every decision-making process in software, from user authentication to autonomous vehicle navigation. By solidifying these skills, you are building the foundation for a career in computer science, data science, or any field that requires logical reasoning and efficient problem-solving. This practice test ensures you can apply these concepts under pressure, a skill that employers and college programs value highly.

Exam Blueprint

012D Array
02Array
03ArrayList
04Boolean Expressions and if Statements
05Inheritance
06Iteration
07Primitive Types
08Recursion
09Using Objects
10Writing Classes

Exam Details AP CS A | $98 USD | 3 hours

Exam Code AP CS A
Vendor College Board
Exam Cost $98 USD
Passing Score 3
Time Limit 3 hours
Question TypesMultiple Choice, Free Response
Retake Policy AP exams are offered once per year in May. Students may retake the exam in a subsequent year; there is no same-year retake. Scores from all attempts are reported to colleges unless the student requests score cancellation.
Exam Format Paper-based; two sections: multiple choice and free response. Administered at school in May. AP Studio Art/Drawing: portfolio submission. AP Research/Seminar: academic paper and oral presentation.

Study Resources

AP Students Course and Exam Description
College BoardFree
Free Course and Exam Descriptions (CEDs) available per AP subject at apstudents.collegeboard.org
View
AP Classroom Practice Questions and AP Daily Videos
College BoardFree
Free via AP Classroom (myAP); access through enrolled school or teacher
View

Frequently Asked Questions

How long should I take to complete this 90-question practice test?

The actual AP Computer Science A exam has 40 multiple-choice questions in 90 minutes, so for 90 questions, you should allocate approximately 3 hours and 20 minutes. However, for practice, you may take longer to review explanations. Aim to simulate exam conditions by timing yourself and taking breaks only between sections.

Are there any questions that require writing full code, or is it all multiple choice?

This practice test is entirely multiple choice, similar to the AP exam's multiple-choice section. However, many questions require you to read and trace code snippets, identify errors, or predict output. You will not be asked to write full programs, but you must understand code logic thoroughly.

What if I don't know Java? Can I still take this test?

This test assumes familiarity with Java syntax and object-oriented programming concepts. If you are new to Java, you should first study the basics of classes, methods, loops, and conditionals. The test is designed for those who have completed or are currently enrolled in an AP Computer Science A course.

How is recursion tested? Will I need to write recursive methods?

Recursion is tested through multiple-choice questions that ask you to trace recursive calls, identify base cases, determine output, or recognize correct recursive implementations. You will not be required to write a recursive method from scratch, but you must understand how recursion works and be able to analyze recursive code.

Can I use a calculator or reference sheet during the test?

No calculators or reference sheets are allowed for this practice test, consistent with the actual AP Computer Science A exam. All questions are designed to be answered using logical reasoning and knowledge of Java syntax. You may use scratch paper for tracing code.