How Long Is the AP CSA Exam?

How Long Is the AP CSA Exam?
AP CSA Exam Length

The AP Computer Science A exam is about 3 hours, and it has a clean structure: two equal halves of 90 minutes each. The first 90 minutes is multiple choice (42 questions, reading Java code); the second 90 minutes is free response (4 questions, writing Java code). That even split is the defining feature of CSA’s timing, half the exam reading code, half writing it. This guide breaks down the full timing, how much time you get per question in each section, the pacing strategy, and how CSA’s length compares to AP Computer Science Principles.

The quick answer: the AP CSA exam is about 3 hours of testing, split into two equal 90-minute sections. Section I (Multiple Choice): 42 questions in 1 hr 30 min (90 min), 55%reading and analyzing Java code (~2.1 min/question). Section II (Free Response): 4 questions in 1 hr 30 min (90 min), 45%writing actual Java code (~22 min/question, adjusted for point values). The defining feature is the even 90-90 split: half the exam reading code, half writing it. This makes CSA a standard full-length AP examlonger than AP Computer Science Principles (a 2-hour exam). The whole thing is fully digital in Bluebook, with a break between sections. As always, total time at the testing center exceeds 3 hours (check-in, setup, instructions). Answer every multiple-choice question (no penalty) and attempt every free-response part (partial credit). Here’s the full breakdown.

The total AP CSA exam length

Let’s start with the headline number, then break it into its two parts. About three hours, split down the middle.

The AP Computer Science A exam runs about 3 hours of actual testing time, and it’s cleanly divided into two sections of equal length. Section I (multiple choice) is 1 hour and 30 minutes (90 minutes), and Section II (free response) is another 1 hour and 30 minutes (90 minutes) — so the two halves are exactly equal at 90 minutes each, totaling roughly 3 hours. This makes CSA a standard full-length AP exam, in line with many other 3-hour AP exams and longer than some shorter ones (including AP Computer Science Principles, which is a 2-hour exam). The whole exam is fully digital, taken in the Bluebook app, and there’s typically a break between the two sections. The defining characteristic of CSA’s timing is that equal split: you spend exactly half your exam time on multiple choice (reading code) and exactly half on free response (writing code). That’s different from many AP exams, which weight their sections’ time unevenly — CSA gives the two halves the same 90 minutes, reflecting that both reading and writing Java are equally central. So when someone asks “how long is the AP CSA exam,” the answer is about 3 hours, split 90-90 between two sections. The rest of this guide breaks down each half’s pacing. For what’s in each section, see the exam format guide.

The two equal halves: read code, then write code

The 90-90 split isn’t just about time, it maps to two different skills. Here’s the shape of the exam.

Section I · 55%
90 min
Multiple choice: 42 questions. Reading & analyzing Java code, predicting output, finding errors.
Section II · 45%
90 min
Free response: 4 questions. Writing actual Java code by hand in the Bluebook editor.
Equal time · ~3 hours total · break between sections
The two halves are equal in time (90 min each) but test different skills: reading code, then writing it. Prepare for both.

The even 90-90 split is worth dwelling on, because it reflects the structure of the whole exam. The first 90 minutes (Section I, multiple choice, 55%) is fundamentally about reading Java code — you’re given code segments and asked to predict output, trace logic, find errors, and analyze behavior. The second 90 minutes (Section II, free response, 45%) is about writing Java code — you produce actual working code by hand for four questions. So the exam gives equal time to two distinct skills: reading code and writing code. This has a practical implication for how you experience exam day: you’ll spend the first half in “analysis mode” (carefully reading and tracing code under time pressure) and the second half in “production mode” (writing code from scratch). These are mentally different tasks, and the break between sections helps you reset. It also means your preparation must cover both equally — being strong at reading code but weak at writing it (or vice versa) leaves half the exam exposed. The equal time allocation is a signal: the College Board treats reading and writing Java as equally important, and so should you. Note the slight weighting difference — multiple choice is 55% of the score in its 90 minutes, free response 45% in its 90 minutes — but the time is identical. For how to build both skills, see the practice guide.

Time per multiple-choice question

In the first 90 minutes, here’s how the time breaks down. About two minutes per question.

On the multiple-choice section, you have 90 minutes for 42 questions — about 2.1 minutes (roughly 2 minutes and 8 seconds) per question. This is a reasonable pace, but it varies by question type. Some questions are quick — a concept, a simple expression, a short segment — while others take noticeably longer, especially code-tracing questions where you have to follow a segment of Java step by step to predict its output, or questions involving nested loops, 2D arrays, or complex object interactions. The 2.1-minute average means you should bank time on the quick questions so you have extra for the tracing-heavy ones that genuinely require it. A few pacing tips for this section: don’t get stuck — if a code-trace is taking too long, flag it, make your best attempt, and move on (you can return if time allows); answer every question since there’s no penalty for wrong answers, so never leave a blank; and watch the on-screen timer in Bluebook to stay on pace. Because code-tracing is the most time-consuming question type, the students who pace well are those who trace efficiently — a skill built through practice. If you find yourself consistently short on time, the fix is usually faster, more confident code-reading, which comes from drilling code-tracing until it’s automatic. The table summarizes the multiple-choice timing.

Section I elementDetail
Questions42 multiple-choice
Time90 minutes (1 hr 30 min)
Per question~2.1 minutes
Score weight55%
Key skillReading & tracing Java code

Time per free-response question

The second 90 minutes works differently, since the four questions aren’t equal. Roughly 22 minutes each, but weight them.

On the free-response section, you have 90 minutes for 4 questions — which averages about 22 to 23 minutes per question — but you shouldn’t split the time exactly evenly, because the four questions carry different point values. Recall the four consistent question types: Q1 (Methods and Control Structures), Q2 (Class Design), Q3 (Data Analysis with ArrayList), and Q4 (2D Array). Since they differ in maximum points, a smart strategy is to allocate a little more time to the higher-value questions and slightly less to the lower-value ones, while making sure you attempt every part of every question (partial credit is awarded). Because you’re writing actual Java code by hand, this time can go quickly, so a few tips help. First, briefly plan before coding — a moment to think through your approach saves time versus diving in and rewriting. Second, write carefully to avoid syntax errors (the Bluebook editor has syntax highlighting but no autocomplete). Third, don’t get stuck — if a question is giving you trouble, write what you can for partial credit and move on, returning later if time allows. Fourth, budget a few minutes at the end to review your code for obvious mistakes (missing semicolons, wrong variable names, off-by-one errors). The free-response section rewards planning and steady pacing22 minutes per question is enough if you don’t get stuck, but tight if you freeze on one. The key is to keep moving and attempt everything. The table summarizes the free-response timing.

Section II elementDetail
Questions4 free-response (write Java)
Time90 minutes (1 hr 30 min)
Per question~22 min average (varies by point value)
Score weight45%
Key skillWriting Java code by hand

Total time at the testing center on exam day

Like all APs, the 3-hour exam means a longer day on site. Budget extra time.

As with every AP exam, the 3 hours of testing is not the whole exam-day experience — the total time at the testing center is longer. Several things add to the day: arrival and check-in, getting seated and verifying your identity, the Bluebook digital setup (CSA’s exam is fully digital, so you’ll log in and get the app ready), listening to the proctor’s instructions, filling in any required information, and the break between the two sections. None of this counts toward your 3 hours of testing time, but it adds to how long you’re at the test site. Plan to be at the testing center for meaningfully longer than 3 hours — often closer to 4 hours once setup, instructions, and the break are included. The practical advice: arrive on time (or early), eat well beforehand (it’s a long, mentally demanding exam), and don’t schedule anything tight right after. Because CSA is a full 3-hour exam requiring sustained focusespecially the code-writing second halfstamina matters more than on shorter exams. Being rested and prepared for a long session helps you perform through the whole thing, rather than fading during the free-response section when you need to write careful code. Knowing the real time commitment helps you plan exam day realistically. Your proctor will guide you through the timing and the break.

How AP CSA’s length compares to AP CSP

Since the two CS exams are often compared, here’s the timing difference. CSA is the longer test day.

The natural comparison is to AP Computer Science Principles, the other AP computer science course — and on timing, they differ. On exam day, AP CSA is longer: its ~3-hour exam (two 90-minute sections) runs about an hour longer than CSP’s 2-hour end-of-course exam. So if you’re comparing test-day sitting time, CSA is the longer exam. But the comparison is more nuanced, because CSP also includes the Create performance task — a project built over at least 9 hours of class time during the course, which isn’t part of CSP’s 2-hour exam. So the full picture is: on exam day, CSA is longer (3 hours vs. 2), but CSP’s total assessment includes many hours of through-course project work that CSA doesn’t have. In other words, CSA concentrates its assessment into one longer test day, while CSP spreads its across a shorter exam plus a through-course project. For exam day specifically, expect CSA to run a full 3 hoursone of the standard longer AP formats — with equal time reading code (multiple choice) and writing code (free response), whereas CSP’s exam day is a shorter 2 hours. This difference reflects the courses’ natures: CSA is a focused programming exam that needs time for you to write real code, while CSP splits its assessment differently. For CSP’s timing in detail, see how long the AP CSP exam is, and for where CSA sits among all exams, the guide to how long AP exams are.

ExamTest-day lengthStructure
AP CSA~3 hoursTwo 90-min sections (read code / write code)
AP CSP2 hoursMCQ + written responses (plus 9+ hr through-course project)

Pacing strategy for exam day

Knowing the timing, here’s how to manage both halves. A few habits keep you on track through all 3 hours.

Multiple choice: aim for ~2.1 minutes per question. Keep a steady pace across the 42 questions. Bank time on quick ones for the code-tracing questions that need it, and flag-and-return rather than getting stuck.

Answer every multiple-choice question. No penalty for wrong answers means never leave a blank. Make your best attempt on every question, even a guess on a tough code-trace.

Free response: weight time by point value. With ~22 minutes per question on average, give a little more to the higher-value questions and less to the lower-value ones, and attempt every part for partial credit.

Plan briefly before coding each FRQ. A moment to think through your approach beats diving in and rewriting. Then write careful, syntactically correct Java, watching for missing semicolons and off-by-one errors.

Use the break to reset. The break between sections lets you shift from “reading code” mode to “writing code” mode. Reset mentally so you start the free-response section fresh.

Leave a few minutes to review your code. At the end of the free-response section, quickly reread your solutions for obvious mistakes, this catches easy points you’d otherwise lose.

These habits keep the full 3-hour exam manageable. The key insight for CSA pacing is that the two halves demand different things: the multiple-choice half rewards efficient code-reading (don’t get bogged down in one trace), while the free-response half rewards planning and steady coding (don’t freeze on one question). Because CSA is a full-length 3-hour exam, stamina matters — the students who finish strong are those who paced the first half well and reset during the break to write careful code in the second half. Practicing both sections under timed conditions makes exam-day pacing feel natural; the practice guide shows how, and the AP score calculator helps you set your target across both halves.

AP CSA exam length: frequently asked questions

How long is the AP CSA exam?

The AP Computer Science A exam is about 3 hours of testing time, split into two equal sections. Section I (multiple choice) is 1 hour and 30 minutes (90 minutes) for 42 questions, and Section II (free response) is another 1 hour and 30 minutes (90 minutes) for 4 questions where you write Java code. So the two sections are equal in time at 90 minutes each, totaling roughly 3 hours. This makes AP CSA a standard-length AP exam, in line with many other full-length AP exams and longer than AP Computer Science Principles (which is a 2-hour end-of-course exam). Note that the total time at the testing center is longer than 3 hours because of check-in, the Bluebook digital setup, instructions, and a possible break between the two sections. But the official timed portion of the exam is about 3 hours (90 minutes per section).

How much time do you get per question on the AP CSA exam?

It depends on the section, since the two are very different. On the multiple-choice section, you have 90 minutes for 42 questions, which is about 2.1 minutes per question. Some are quick, and others (especially code-tracing questions where you follow a segment of Java to predict its output) take longer, so bank time on the easy ones. On the free-response section, you have 90 minutes for 4 questions, which averages about 22 to 23 minutes per question, but the questions differ in point value, so you should spend more time on the higher-value questions and less on the lower-value ones. Because you’re writing actual Java code by hand in the free-response section, that time goes quickly, planning your solution briefly before coding, and not getting stuck on one question, is key. A good approach is to budget your free-response time across all four questions, attempt every part (partial credit is awarded), and leave a few minutes to review your code.

Is the AP CSA exam longer than AP Computer Science Principles?

Yes, on exam day. The AP Computer Science A exam is about 3 hours (two 90-minute sections), while the AP Computer Science Principles end-of-course exam is 2 hours. So CSA’s test-day sitting is about an hour longer than CSP’s. However, the comparison is more nuanced because CSP also includes the Create performance task, a project built over at least 9 hours of class time during the course, which isn’t part of its 2-hour exam. So if you count only exam day, CSA is longer (3 hours vs. 2 hours); if you count the whole assessment including CSP’s through-course project, the total time invested is different. On exam day specifically, expect CSA to run a full 3 hours of testing, one of the standard longer AP formats, with equal time reading code (multiple choice) and writing code (free response).

How is the AP CSA exam time split between sections?

The AP Computer Science A exam splits its time evenly between two sections of 90 minutes each. Section I is multiple choice: 90 minutes for 42 questions (55% of your score), focused on reading and analyzing Java code. Section II is free response: 90 minutes for 4 questions (45% of your score), where you write actual Java code. This equal 90-90 split is notable because the two halves test different skills, reading code versus writing code, so you spend exactly half the exam on each. The near-even time and score weighting (90 minutes/55% for multiple choice, 90 minutes/45% for free response) means both sections matter substantially, and you can’t afford to be weak at either reading or writing Java. There’s typically a break between the two sections. Plan your pacing separately for each half: about 2.1 minutes per multiple-choice question, and roughly 22 minutes per free-response question (adjusted for their different point values).

How long is each AP CSA free-response question?

You have 90 minutes for 4 free-response questions, which averages about 22 to 23 minutes per question, but you shouldn’t split the time exactly evenly, because the four questions carry different point values. The four questions are consistent every year: Question 1 (Methods and Control Structures), Question 2 (Class Design), Question 3 (Data Analysis with ArrayList), and Question 4 (2D Array). A good strategy is to spend a little more time on the higher-value questions and slightly less on the lower-value ones, while making sure you attempt every part of every question, since partial credit is awarded. Because you’re writing Java code by hand, it helps to briefly plan your approach before coding, then write carefully to avoid syntax errors. Budget a few minutes at the end to review your code for obvious mistakes. Don’t get stuck, if a question is giving you trouble, write what you can for partial credit and move on, then return if time allows.

The quick version

The AP Computer Science A exam is about 3 hours of testing, split into two equal 90-minute sections. Section I (multiple choice) is 90 minutes for 42 questions (55% of your score), focused on reading and analyzing Java code, about 2.1 minutes per question. Section II (free response) is 90 minutes for 4 questions (45% of your score), where you write actual Java code by hand, averaging about 22 minutes per question, though you should weight your time toward the higher-value questions. The defining feature is the even 90-90 split: exactly half the exam reading code, half writing it, so both skills matter equally. There’s typically a break between the two sections. This makes CSA a standard full-length AP exam, about an hour longer than AP Computer Science Principles (a 2-hour exam). The whole exam is fully digital in Bluebook. Note that total time at the testing center is longer than 3 hours because of check-in, setup, instructions, and the break. Answer every multiple-choice question (no penalty) and attempt every free-response part (partial credit).

Estimate your score with the free AP score calculator, review the exam format and practice resources, and see how hard AP CSA is. Compare its companion AP Computer Science Principles, see how long all AP exams are, or browse all education calculators.

Accuracy note: AP Computer Science A exam timing, section structure, question counts, and weighting are set by the College Board and can change over time. Notably, AP CSA was recently redesigned and the exam is now fully digital in Bluebook, with 42 multiple-choice questions in 90 minutes (55%) and 4 free-response questions in 90 minutes (45%). Older sources may cite outdated details (like 40 questions or a 50/50 split). The times here reflect the recent exam for general informational purposes. Total time at the testing center varies by site and proctor, and break policies can change. Always confirm the current exam timing and structure on the College Board’s official AP Computer Science A pages before test day.

Primary source

The College Board’s AP Computer Science A exam page gives the official section timing, question counts, and structure. AP Computer Science A exam →

Exam dates

The College Board’s AP Exam calendar lists the AP Computer Science A exam date each year. AP Exam calendar →

Creator of practical online tools and calculators designed to make everyday questions easier to solve. I focus on turning complex topics into simple, useful experiences across finance, health, lifestyle, conversions, and more.

Walidi
I’m Walid Derouiche, the founder of Walidi. At Walidi, we specialize in web development, SEO, affiliate marketing, and digital strategy. Our mission is to help individuals and businesses grow online through practical, results-driven solutions. At Walidi, we build high-performing websites and deliver tailored digital strategies aligned with your business objectives, with a strong focus on visibility, conversion, and sustainable growth. Let’s connect and bring your vision to life. Visit Walidi.com to request a free audit consultation.