AP Computer Science Principles vs AP Computer Science A: which should your teen take?

The College Board offers two AP computer science courses, and their names don't make the difference clear. One is a broad survey with some programming. The other is a programming course. This guide compares them and helps you decide which fits your teen, and when.

Quick answer

AP Computer Science Principles (CSP) is a broad introduction to computing with a project component, and suits most students as a first course. AP Computer Science A (CSA) is a programming course in Java and is the better choice for students who already code or plan to study computer science. Students who can take both usually take CSP first.

By the Plural teaching team · Updated

Side by side

AP Computer Science PrinciplesAP Computer Science A
What it isA broad introduction to computingA programming course
TopicsProgramming basics, data, the internet, algorithms, the impact of computingObject-oriented programming, classes, arrays and lists, writing and tracing code
LanguageThe teacher chooses. Often Python, JavaScript or a block languageJava
AssessmentA multiple-choice exam plus a Create performance task, a program the student builds during the courseAn exam with multiple-choice questions and free-response questions where students write Java
Best forStudents new to computer science, and students interested in any fieldStudents who already program or plan to major in computer science or engineering
Typical grade9th to 11th10th to 12th

Which one should my teen take?

Not every high school offers both. Check your school's course catalog early, because that often decides the order.

College credit

Whether a score earns credit or placement depends on the college and often on the major. Many colleges treat CSA as closer to their introductory programming course. Look up the AP credit policy of the colleges your teen is considering before assuming either exam will count.

How to prepare before ninth grade

A student who arrives in high school already fluent in one language has a much easier time in either course.

Our roadmap for grades 6 to 8 lays this out year by year.

What neither course covers

Both courses teach fundamentals. Neither asks students to train a machine learning model, build with an LLM API, or publish an app that other people use. Those are the skills students use in internships, hackathons and personal projects, so they have to come from outside the AP classroom. Our guide for high schoolers covers how to combine AP courses with a project portfolio.

Where Plural fits

Plural does not run AP exam prep. We teach the programming and AI skills that make AP courses easier and that go beyond them. Middle schoolers build Python fluency in Code Explorers, and teens build AI projects in AI Builders.

Pricing is $149 a month for 4 live 90-minute classes on Zoom, with at most 8 kids per batch. Full refund if it's not a fit after the first 2 classes. Batches run on US evenings, and we confirm the exact time by email in your time zone.

Questions parents ask

Is AP CSP or AP CSA harder?

Most students find AP Computer Science A harder. It is a full programming course in Java, while AP Computer Science Principles is a broader introduction that assumes no experience.

Should I take AP CSP before AP CSA?

If you are new to coding and your school offers both, yes. Students who already program comfortably can go straight to AP Computer Science A.

What programming language does AP Computer Science use?

AP Computer Science A uses Java. AP Computer Science Principles does not require a specific language. The teacher chooses, and Python, JavaScript and block languages are common.

Do colleges give credit for AP Computer Science Principles?

Some do and some don't, and it often depends on the major. Check the AP credit policy of each college. Many treat AP Computer Science A as closer to their introductory programming course.

Can a ninth grader take AP Computer Science?

Many schools allow ninth graders to take AP Computer Science Principles. A ninth grader who already programs can handle it well. Check your school's prerequisites.

How can a middle schooler prepare for AP Computer Science?

Learn Python well, finish a few complete projects and practice explaining code. Those skills carry directly into AP Computer Science Principles and make the Java in AP Computer Science A easier.