Math & Computer Science { }CSP

AP Computer Science Principles

A broad, language-agnostic introduction to computing, the internet, and computational thinking.

Study guide last reviewed September 25, 2026 · see what changed

Exam Format

Format reflects the current published structure — always confirm against AP Central before test day, since formats occasionally change.

SectionDetailsTimeWeight
Create Performance TaskStudent-developed program submitted before the examDone during the course30%
Section I – Multiple Choice70 questions, including some computational-thinking practice items2 hr70%

Frequently Asked Questions

Straight answers about the AP Computer Science Principles exam — format, credit, dates, and this site.

What's the format of the AP Computer Science Principles exam?

Create Performance Task: Student-developed program submitted before the exam (Done during the course, 30% of the total score); Section I – Multiple Choice: 70 questions, including some computational-thinking practice items (2 hr, 70% of the total score). See the Exam Format tab above for the full breakdown, and always double-check the current year's format on AP Central before test day.

Is the AP Computer Science Principles exam multiple-choice, written response, or portfolio-based?

It's multiple-choice questions.

What score do I need on AP Computer Science Principles for college credit?

It depends entirely on the college — most award credit for a 3 or higher, but many selective schools require a 4 or a 5, and some don't grant credit at all for certain scores. Always check your target college's own AP credit policy page rather than assuming a 3 will count everywhere.

When is the AP Computer Science Principles exam?

AP exams are administered during the College Board's annual testing window in the first two full weeks of May, with the exact date and time for each subject set by the College Board and announced the preceding fall. Check AP Central or your school's AP coordinator for this year's exact date.

Is this AP Computer Science Principles study guide actually free?

Yes. The unit-by-unit study guide, worked examples, practice quiz, and full-length timed practice exam on this page are all free, with no login, signup, or paywall.

Study Guide

Unit-by-unit breakdown of what the course actually covers, in teaching order.

Creative Development

The iterative development process (plan, create, test, debug), incremental and collaborative program development, using comments and pseudocode to plan and document programs, and the requirements of the Create Performance Task: a program demonstrating an algorithm with a list, plus a video and written responses explaining your process.

Data

Binary representation of data (how numbers, text, images, and sound are all ultimately stored as bits), data compression (lossy vs. lossless, and the size/quality tradeoff), and extracting information from large datasets — including how metadata and data analysis tools reveal trends not visible in raw data.

Algorithms & Programming

Algorithm design and expressing algorithms in pseudocode following the AP Computational Thinking reference sheet's conventions, sequencing/selection/iteration as the three fundamental program control structures, procedures (functions) with parameters and return values, lists and list operations, and simulations as simplified abstractions of real-world processes.

Computer Systems & Networks

How the internet's packet-switching and TCP/IP protocols route data between devices, fault tolerance through redundancy (multiple paths so failures don't take down the whole network), bandwidth and its effect on data transmission, and abstraction layers that let the internet function without every device understanding every other device's details.

Impact of Computing

Beneficial and harmful effects of computing innovations, the digital divide and unequal access to computing resources, bias in algorithms (often originating from biased training data rather than code itself), crowdsourcing and its effects on collaboration, and legal/ethical issues including intellectual property, licensing (open source vs. proprietary), and privacy/data collection concerns.

Worked Examples

Concrete, fully worked examples — this is what separates a page reviewers see as genuinely useful from one that just lists topics.

Creative Development

What the Create Performance Task actually requires: a to-do list program that stores tasks and marks them complete.

Having a list in your program isn't enough — your written responses must point to the specific lines where an algorithm using that list manages complexity (e.g., a loop that searches the list for a task by name rather than requiring the user to specify a position). Vague descriptions that don't cite actual code cost points here.

Data

Binary and compression: convert 13 to binary, and explain lossy vs. lossless compression.

13 = 8 + 4 + 1 = 1101 in binary. A JPEG uses lossy compression (some image data is permanently discarded to shrink file size); a ZIP file uses lossless compression (the original is fully recoverable) — this distinction is one of the most frequently tested Data-unit facts.

Algorithms & Programming

Trace this AP pseudocode: i ← 1   REPEAT 5 TIMES { DISPLAY(i)   i ← i + 2 }

Displays 1, 3, 5, 7, 9 — five iterations, i increasing by 2 each pass. MC questions test this exact notation (REPEAT n TIMES vs. REPEAT UNTIL), not general programming syntax, so fluency in AP's specific pseudocode matters more than knowing a real language.

Computer Systems & Networks

Why doesn't one broken router take down the internet?

Packet-switching routes each packet independently, so if one path between two routers fails, packets simply reroute through an alternate path — this redundancy is exactly what fault tolerance means in this unit, and it's a frequent short-answer topic.

Impact of Computing

Where does algorithmic bias usually come from? A hiring algorithm trained on historical hiring data underrepresenting a group.

The bias comes from the training data, not from a programmer deliberately writing biased code — the algorithm just learns and repeats the pattern already present in its input. Recognizing this data-driven source (versus assuming malicious code) is exactly what MC questions on this topic test.

Study Tips

  • Start the Create Performance Task early — the program complexity and video requirements take real iteration time.
  • Practice reading pseudocode from the AP Computational Thinking reference sheet; MC questions lean on it heavily.
  • For the Create Performance Task, name the exact lines of code implementing your required list usage and complexity-managing algorithm in your written responses — descriptions that don't point to real code lose points.
  • Get fluent in AP's specific pseudocode conventions (REPEAT UNTIL, PROCEDURE, robot commands) — the multiple-choice section tests tracing this exact notation, not general programming knowledge.
  • When asked about the societal impact of a computing innovation, be ready to name both a benefit and a harm for the same innovation — questions often test that you see both sides, not just the positive framing.

Common Mistakes, Ranked by Point Loss

The errors that cost the most points across the whole exam, not just one unit.

  • 1. Giving a vague Create Performance Task written response that doesn't cite specific code segments, when the rubric requires exact references.
  • 2. Confusing lossy compression (some data permanently discarded, e.g. JPEG, MP3) with lossless compression (fully reversible, e.g. ZIP, PNG).
  • 3. Misreading AP pseudocode loop bounds — REPEAT n TIMES versus REPEAT UNTIL condition — and miscounting iterations.
  • 4. Assuming algorithmic bias always comes from an intentional programming decision rather than biased or unrepresentative training data.
  • 5. Describing packet-switching as sending one whole message per connection rather than independently-routed packets reassembled at the destination.

Practice Quiz

Unofficial practice questions written for this study guide — not official AP content and not from College Board. Use them to self-check, then use the real past free-response questions below for authentic exam practice.

Coding Practice

Unofficial practice exercises. Write your solution, then reveal a sample solution and self-grade against the rubric — there's no compiler here to run your code automatically.

  • Use the AP CSP pseudocode conventions (PROCEDURE, IF/ELSE, REPEAT UNTIL, FOR EACH) — the real exam grades against this exact style.
  • Trace your algorithm by hand on a small example list before you consider it finished.
  • Make sure your procedure explicitly RETURNs a value if the prompt asks for one — a procedure with no return statement won't get credit for producing an answer.

Full Exam Simulation

Unofficial practice, timed to feel like the real thing. Section I pulls from this page's full multiple-choice bank; Section II gives you free-response prompts to write out and self-score against a rubric. Bank size is still growing toward full exam length — timing is paced per-question, not pulled from this subject's official duration.

Section I: 15 multiple-choice questions (~22 min) · Section II: 2 free-response prompts (~30 min)
Section I: Multiple Choice --:--