AP Computer Science · 6 min read

AP CSP vs AP CSA: Which Should You Take First?

Take AP Computer Science Principles (CSP) first if you have never written code. Take AP Computer Science A (CSA) first if you already program and want a Java course that looks like a college intro class. Neither course requires the other, so the real question is where you are right now.

Key takeaways

  • AP CSP asks for no prior computer science experience, and the College Board sets no required programming language.
  • AP CSA teaches Java and ends in one exam: 42 multiple-choice questions and 4 free-response questions.
  • Neither course lists the other as a prerequisite. CSA recommends high school English and algebra.
  • CSP is graded partly on a project you build during the course. CSA is graded on one end-of-course exam, and 45% of it is writing Java.
  • Colleges set their own AP credit rules, so check your target schools before you count on credit.

What is the difference between AP CSP and AP CSA?

AP CSP covers computing broadly. It includes programming, but also topics like data, networks and the impact of technology on people. AP CSA is narrower and deeper: it is a programming course in Java. The College Board describes the two as complementary rather than as steps on one ladder.

AP CSPAP CSA
Prior experienceNone neededHigh school English and algebra recommended
LanguageNo designated language; the teacher choosesJava
Multiple choice70 questions, 120 minutes, 70% of score42 questions, 90 minutes, 55% of score
Other scored partCreate performance task and a written response section, 30% of score4 free-response questions, 90 minutes, 45% of score
Project workCreate task: code, a video and a Personalized Project Reference, about 9 class hoursNone

Exam details come from the College Board's AP CSA exam page and AP CSP exam page. Prerequisites and language come from the AP CSP FAQ.

Which one should you take first?

I teach both courses one to one, and my recommendation depends on what you have already done.

If you have never coded, start with CSP. It assumes no experience, and because the teacher picks the language, the early weeks can focus on ideas like loops and conditions without also fighting Java's strict syntax.

If you have already built things in Python, Scratch, JavaScript or anything else, you can go straight to CSA. The new part is Java itself: types, classes, and writing code that has to match a specification exactly.

If you are aiming at computer science or engineering at university, CSA is the closer match to a first college programming class. The College Board calls it equivalent to a one-semester introductory college course. Taking CSP as well does no harm, since the two complement each other.

If your school offers only one of the two, take that one. Do not pass on it because you think you need the other first. You don't.

Which one is harder?

They are hard in different ways. CSP asks for sustained work over several weeks: a project you design, code and explain, plus written answers about it. CSA asks for precision under time pressure. Four free-response questions in 90 minutes means writing working Java for each one, roughly 22 minutes apiece.

If you enjoy open-ended projects, CSP plays to that. If you enjoy puzzles with one right answer, CSA does. I would not choose a course on difficulty alone.

Do you need AP CSP before AP CSA?

No. The College Board's AP CSA course page recommends high school English and algebra and does not list CSP. The CSP FAQ says students do not need prior computer science experience, so CSP does not need CSA either.

What does AP CSA actually cover?

The course has four units, each with a share of the exam:

  • Using Objects and Methods: 15% to 25%
  • Selection and Iteration: 25% to 35%
  • Class Creation: 10% to 18%
  • Data Collections (arrays, ArrayList, 2D arrays, searching, sorting and recursion): 30% to 40%

Data Collections is the biggest unit, and two of the four free-response questions come from it. I go through all four in how to prepare for the AP CSA free-response questions.

Will AP CSP or AP CSA earn college credit?

It depends on the college. Each school publishes its own AP credit and placement policy, and the rules for computer science exams differ from one school to the next. A score that earns credit at one university may earn none at another. Look up the policy for every school on your list before you decide how much the exam matters.

A quick way to decide this week

  1. Ask your school which of the two it offers, and whether there is a sign-up deadline.
  2. Write one small program in any language, for example one that prints the numbers from 1 to 20 and flags the multiples of 3. If that felt manageable, CSA is realistic. If you did not know where to start, CSP is the better first step.
  3. Look up the AP credit policy at your top three colleges.
  4. Read one past AP CSA free-response question. If it looks like something you could learn to do by May, you have your answer.
  5. Still unsure? Book a short call and we can look at your schedule and goals together.

Frequently asked questions

Can I take AP CSA without taking AP CSP?

Yes. The College Board recommends high school English and algebra for CSA and does not list CSP as a prerequisite. If you can already write simple programs, you can start with CSA.

Do I need to know Java before AP CSP?

No. The College Board says there is no designated programming language for CSP, and teachers choose the language. Java is only required for CSA.

Is AP CSA harder than AP CSP?

They are different rather than one being simply harder. CSP rewards steady project work and clear written explanations. CSA rewards writing exact Java under time pressure. The section above compares them in more detail.

Sources

Related reading

Choosing between the two?

Book a short call and we will look at your options

Book a Call