Home / Test Prep / AP / AP Computer Science: CSA vs. CSP—Differences, Exam Formats, and How to Prepare

AP Computer Science: CSA vs. CSP—Differences, Exam Formats, and How to Prepare

2026-09-26 · Guides

Based on the College Board website, this guide clarifies the differences between AP Computer Science A (Java programming) and AP Computer Science Principles (intro to computing plus a self-directed project) to help you choose. It details the fully digital CSA exam and its four types of programming FRQs, along with unit weights. For CSP, it covers the 70 multiple-choice questions, the Create Performance Task, and the written response, including the April 30, 2027 submission deadline. Finally, it explains how to prepare for each exam and provides the 2026 score distribution for a 5.

There are two AP Computer Science courses: Computer Science A (CSA) and Computer Science Principles (CSP). Despite their similar names, their content and exam formats differ significantly. CSA is a programming course focused on coding in Java, while CSP is an introductory computing course for non-computer science majors that requires submitting a self-created project. Choosing the wrong one could mean either struggling with the material or getting little help with your college applications.

Based on the College Board website, this article clarifies the differences between the two courses, how to choose, how the exams work, and how to prepare. For the overall AP scoring system, see How to Score a 5 on the AP Exam; for registration and fees, see AP Course Selection and Exam Schedule.

1. Differences Between the Two Courses

Computer Science A (CSA)Computer Science Principles (CSP)
Equivalent College CourseA one-semester introductory computer science courseA first-semester introductory computing course (the official course page states it is for non-computer science majors)
Official Recommended PrerequisitesHigh school English and algebra; familiarity with functions and function notationHigh school algebra
Programming LanguageJava (a Java Quick Reference is provided during the exam)No specific programming language required for the course; reference materials are provided during the exam
Exam FormatMultiple-choice questions + 4 free-response programming questions, all completed on BluebookMultiple-choice questions + a self-created project (Create Task) + two written questions about the project
2027 Exam DatesMay 12 (Wednesday), 2nd administrationProject submission deadline: April 30; Exam: May 14 (Friday), 1st administration

How to Choose (Practical Advice): If you plan to major in computer science, software engineering, data science, or related fields, choose CSA, as it tests actual coding skills. If you are interested in computing but do not plan to major in it, or if you have no prior programming experience, CSP offers a gentler introduction. You can take both, or start with CSP and then take CSA.

2. CSA: Java Programming

Exam Format

SectionNumber of QuestionsTimeWeight
Multiple-Choice Questions42 questions1 hour 30 minutes55%
Free-Response Questions4 questions1 hour 30 minutes45%

Fully Digital Exam: Both the multiple-choice and free-response sections are completed on Bluebook. The Java Quick Reference is also available within Bluebook, listing Java library methods that may be used during the exam.

Four Free-Response Questions with Fixed Formats

  1. Methods and Control Structures: Write 2 methods (or 1 constructor and 1 method). Part A requires loops or conditional statements, and Part B requires calling String methods;
  2. Classes: Design and implement a class according to the specifications, including the class header, instance variables, constructor, and methods;
  3. ArrayList Data Analysis: Write 1 method to process data in an ArrayList;
  4. 2D Array: Write 1 method to process data in a 2D array.

Four Units and Five Practices

UnitMultiple-Choice Weight
1. Using Objects and Methods15%–25%
2. Selection and Iteration25%–35%
3. Class Creation10%–18%
4. Data Collections30%–40%

Among the five computational thinking practices, the multiple-choice section has the highest weight for Analyzing Code (37%–53%): determining the output of a piece of code or explaining why it does not run as expected. This is followed by Writing Code (22%–38%).

How to Prepare (Practical Advice)

  • Trace Code Manually: Nearly half of the multiple-choice questions involve reading code. Practice tracing code without running the program, writing out variable changes line by line on scratch paper, especially for loops, nested loops, and array indices;
  • Master the Four Free-Response Question Types: String methods (substring, indexOf, equals), complete class writing, ArrayList additions, deletions, and traversals (handling index issues when deleting elements during traversal), and 2D array row and column traversals;
  • Familiarize Yourself with the Java Quick Reference: Know which methods can be used directly so you don't have to guess during the exam;
  • Write According to the Scoring Guidelines: AP Central publishes past free-response questions and scoring guidelines. Compare your answers point by point to see where you lost points.

3. CSP: Introduction + Project

Exam Format

SectionContentWeight
Multiple-Choice Questions70 questions, 120 minutes, 4 options each; including 57 single-answer questions, 5 single-answer questions with computational innovation reading materials, and 8 two-answer questions70%
Create Task + Written Responses9 in-class hours to complete a self-selected program, record a video of the program running, and create a "Personalized Project Reference"; during the exam, 60 minutes to answer two written questions about your program30%

The written responses consist of four sub-questions (Question 1, and Question 2 a/b/c). You can refer to your "Personalized Project Reference" while answering. The three parts of the project must be submitted as final versions in the AP Digital Portfolio by 11:59 PM ET on April 30, 2027.

Five Big Ideas

Big IdeaMultiple-Choice Weight
1. Creative Development10%–13%
2. Data17%–22%
3. Algorithms and Programming30%–35%
4. Computer Systems and Networks11%–15%
5. Impact of Computing21%–26%

How to Prepare (Practical Advice)

  • Start the Project Early: The 9 hours are in-class time, and April 30 is a hard deadline. The program must include the required elements (such as lists, procedures with parameters, and algorithms). After finishing, make sure you fully understand the code in your "Personalized Project Reference," as the written questions will be entirely about it;
  • Familiarize Yourself with the Exam's Pseudocode: The code in the multiple-choice questions follows the language rules in the exam reference sheet, not Python or Java. Review it in advance (for example, note that list indices start at 1);
  • Don't Ignore the "Impact of Computing": This section accounts for 21%–26% of the exam, testing topics like privacy, security, the digital divide, and intellectual property. It relies on reading comprehension and understanding, not programming.

4. Score 5 Percentages

Subject (2026)Score 5Score 4Score 3+
Computer Science A25%26%66%
Computer Science Principles10%23%63%

One notable trend: the percentage of students scoring a 5 in CSA (25%) is significantly higher than in CSP (10%), but the percentage scoring a 1 in CSA is also as high as 23%, showing a clear polarization. One reason could be the wide variation in programming backgrounds among students taking CSA, so it cannot be simply interpreted as "CSA is easier."

Conclusion

When choosing an AP Computer Science course, consider whether you plan to major in a computer-related field and whether you currently have a programming foundation. The key to CSA is proficiency in both reading and writing code; the key to CSP is starting the project early, fully understanding your own code, and not losing points in the "Impact of Computing" section.

For other AP subjects, see our guides on How to Take the AP Calculus Exam and How to Choose Among the Four AP Physics Courses. If you need AP Computer Science tutoring, feel free to chat with our teachers.

Verification Note: This article was verified against the College Board website in September 2026. The exam structures for both courses, the four CSA free-response question types, the fully digital exam format, the Java Quick Reference, the CSP multiple-choice composition, the Create Task, written responses, submission deadlines, and 2027 exam dates are from the exam pages for both courses on AP Central. The multiple-choice weights for each unit (Big Idea) and computational thinking practice are from the course pages for both courses on AP Central. The equivalent college courses and prerequisite recommendations are from the course pages for both courses on AP Students and the AP Central CSP course page. Score distributions are from the AP Students 2026 Score Distributions page. Course selection advice, details such as the CSP exam pseudocode, preparation strategies, and interpretations of score distributions are our practical recommendations; please refer to the official course descriptions for the current year.

References:

Related articles