AP Computer Science A · Multiple choice
Practice Test 1
Last updated:
The AP Computer Science A multiple-choice section has 42 questions in 90 minutes, each with four choices, and counts for 55% of the exam score. This practice test matches it: 42 original Java questions in the same time, weighted by the four units of the revised course, with code shown as on the exam. The free-response section is not included.
42
Questions
90 min
Total time
0
Wrong penalty
Sections
Rules
- · No calculator is allowed, as on the real exam
- · All code is in Java and uses only the language features and library methods of the course, as listed on the AP Java Quick Reference that the real exam supplies
- · Assume every code segment compiles and every class needed by it is defined, unless the question asks about an error
- · The free-response section (four questions in 90 minutes, 45% of the score) is not included
- · +1 correct · 0 skipped · 0 wrong
- · Move freely between questions within a section
What you get afterwards
The number of questions you got right, the percentage, a breakdown by section and a full review. Each explanation gives the reasoning and then names the most tempting wrong answer and says why it fails. There is no AP score of 1 to 5: free response is not included and the College Board publishes no cut scores for its forms.
Before you start
Set aside 90 minutes without interruption. If you close the tab, the session is kept and you can return to it at the same address, but the clock keeps running, as it would in the exam room.
Frequently asked questions
How is the AP Computer Science A exam structured?
Two sections, both 90 minutes. Section I has 42 multiple-choice questions and counts for 55% of the score. Section II has four free-response questions in which you write Java code (methods and control structures, class design, data analysis with ArrayList, and a 2D array) and counts for 45%. This practice test covers Section I only.
Is the AP Computer Science A exam digital?
Yes. The whole exam is taken in the Bluebook app, including the free-response section, where you type your code.
What changed in the revised AP Computer Science A course?
From the 2025-26 school year the course has four units instead of ten, inheritance is no longer tested, and reading data from text files and working with data sets were added. The multiple-choice section went from 40 questions with five choices to 42 questions with four choices.
Which units does AP Computer Science A multiple choice cover?
Four. Data Collections (arrays, ArrayList, 2D arrays, text files, searching, sorting and recursion) is the largest at 30-40%, then Selection and Iteration (25-35%), Using Objects and Methods (15-25%) and Class Creation (10-18%). This practice test follows those weights: 15, 13, 8 and 6 questions.
Can I use a calculator or a reference sheet on AP Computer Science A?
No calculator is allowed. The Java Quick Reference is supplied: it lists the String, Math, Integer, Double, ArrayList, Object, File and Scanner methods the exam uses. Every question here stays within that list.
How many multiple-choice questions are on the AP Computer Science A exam?
The multiple-choice section has 42 questions in 90 minutes and counts for 55% of the exam score.
Does this practice test give me an AP score?
No. It reports how many questions you got right and the percentage. The AP score of 1 to 5 also depends on the free-response section, which is not included, and the College Board does not publish the cut scores for each form.
Is there a penalty for wrong answers?
No. AP multiple choice is scored on correct answers only, so answer every question.
Is AxoPrep official?
No. AxoPrep is not affiliated with the College Board. AP is a trademark of the College Board. Every question here is original.
Official sources
Other practice tests on AxoPrep
CEnT-S
Italian university entrance
55 questions · 110 min
SAT
Digital SAT
98 questions · 144 min
ACT
Enhanced ACT
131 questions · 125 min
IMAT
Italian medical school admission
60 questions · 100 min
IELTS Academic
Reading, Writing & Listening
Band 1–9 scale
Duolingo English Test
Written sections
40 questions · 25 min
TR-YÖS
Turkish university entrance
Full test · 80 questions · 100 min
TOEFL iBT
Reading, Listening & Writing
2026 1–6 scale