Skip to main content

Unit guides

AP® Computer Science Principles

Unit guides with several great videos for every topic, flashcards, and exam-style practice questions with every answer explained.

Your exam:

Get a week-by-week study plan to exam day →

No format changes for the May 2027 exam

College Board hasn't announced changes to the Computer Science Principles exam for 2027. Every course's changes

See College Board's list (opens in a new tab) (apcentral.collegeboard.org · AP Computer Science Principles (CSP) row, Most Recent Change column)

5 units · 35 topics · 206 videos

Study and practice

  • Flashcards

    169 cards with the terms and ideas you need to know cold. The ones you find hard come back sooner.

  • Multiple choice practice

    299 exam-style questions, timed like the real exam, with every answer explained.

  • Practice exam

    The whole multiple choice section: 70 questions in 2 hours, weighted by unit like the real exam. A fresh mix every time.

  • Must-know sheet

    The facts, rules and terms to know cold on exam day, on one page. Filter it by unit, or print it.

  • Free-response practice

    20 free-response questions like the ones on the exam. Score your answer with the rubric and a model answer, or sign in for free AI scoring.

Pick a unit

  • Unit 1

    10–13% of exam

    Creative Development

    4 topics · 24 videos

    • Teams with different backgrounds and skills catch problems one person would miss
    • A program's purpose is the problem it solves; its function is what it does when it runs
    • Programs are built in small steps and tested along the way
    • Comments and documentation explain code and give credit to code written by others
    • Testing with inputs you choose, and outputs you expect, is how you find errors
  • Unit 2

    17–22% of exam

    Data

    4 topics · 27 videos

    • All digital data is stored as bits, and the same bits can mean different things
    • Each extra bit doubles the number of values you can represent
    • Lossless compression can be undone exactly; lossy compression trades detail for size
    • Cleaning, filtering and visualizing data turns raw data into information
    • A correlation in data doesn't prove that one thing causes another
  • Unit 3

    30–35% of exam

    Algorithms and Programming

    18 topics · 98 videos

    • Every algorithm is built from sequencing, selection and iteration
    • In the exam's pseudocode, ← means assignment and list indexes start at 1
    • Lists and procedures are abstractions that keep programs manageable
    • Binary search is usually much faster than linear search, but needs sorted data
    • Some problems take unreasonable time, and some can't be solved by any algorithm
  • Unit 4

    11–15% of exam

    Computer Systems and Networks

    3 topics · 20 videos

    • The internet is a network of networks built on open protocols anyone can use
    • Data travels in packets that can take different paths and arrive out of order
    • The World Wide Web runs on the internet; it isn't the internet itself
    • Redundant paths make the internet fault tolerant
    • Parallel and distributed computing speed up big jobs, but the sequential part limits the speedup
  • Unit 5

    21–26% of exam

    Impact of Computing

    6 topics · 37 videos

    • The same innovation can help some people and harm others, sometimes in ways nobody planned
    • Unequal access to devices and the internet can widen existing gaps
    • Programs can repeat the human biases built into their data and design
    • Creative Commons, open source and open access let people share work legally
    • Strong passwords, multifactor authentication and encryption protect your data

About the exam

The basics of the 2027 Computer Science Principles exam, from College Board's official exam page.

AP® Computer Science Principles exam

Date
, session 1 (usually morning)
Length
3 hours
How you take it
Fully digital: every answer in Bluebook
Multiple choice
70 questions, 2 hours, 70% of your score57 questions with one answer, 5 more about a reading passage on a computing innovation, and 8 where you select two answers. Each question has 4 answer choices.
Create performance task
A program you build in class, with a short video, At least 9 hours in class, submitted by April 30, 2027, 30%, together with the written response of your score
Written response
2 questions with 4 parts, 1 hour, Part of the 30% of your scoreQuestions about the code in your own Create task, using your Personalized Project Reference.
Calculator
No calculator.
Reference sheet
The exam reference sheet, which explains the pseudocode the questions use.

Guides to the exam

  • What's new on the 2027 AP® exams

    Every change College Board has announced for the May 2027 exams, course by course: question types, timing, scoring and digital testing, plus what's coming next.

  • How AP® scores work

    What each score from 1 to 5 means, how your score is worked out, when scores come out, and how to find out what credit a college gives.

  • The AP® exam format

    How digital testing in Bluebook works, what the multiple choice and free response sections are like, the calculator rules, and each course's exam at a glance.

  • How to study for an AP® exam

    A realistic plan from three months out to exam day, and how to use unit guides, videos, flashcards and practice questions to raise your score.

  • The 2027 AP® exam calendar

    Every 2027 exam date from College Board's official schedule, plus late testing, score release and other deadlines to put in your calendar.

  • AP® exam questions, answered

    Short answers to the questions students ask most: what the exams cost, whether you can retake one, who sees your scores, and how to use this site.