Editor

Computer Science Principles in Python

12 units · 34 weeks · exercises and exam-style questions in every unit

A free, full-year course for the AP® Computer Science Principles exam, with every program running in your browser.

Units

7. Working with data

3 weeks

Clean, filter and visualize data, and explain what it can and cannot show.

Framework topics: 2.3 Extracting Information from Data, 2.4 Using Programs with Data

11. The Create performance task

3 weeks

Build an original program with a list and a procedure, then record the video and the Personalized Project Reference.

Framework topics: Create performance task (at least 9 hours of class time)

How the multiple-choice section is weighted

Big ideaShare of questionsUnits
1. Creative Development10-13%1, 11
2. Data17-22%6, 7
3. Algorithms and Programming30-35%1, 2, 3, 4, 5, 9
4. Computer Systems and Networks11-15%8, 9
5. Impact of Computing21-26%10

The exam is 70 multiple-choice questions (70% of the score) and written responses about the student's own Create task program (30%, together with the task itself).

For teachers

  • Every unit is a ready-made set in Classrooms: assign it in two clicks and watch a live board of who solved what and who is stuck.
  • Solutions to assigned work stay hidden until a student solves it or it is past due, and you can replay how each student wrote their code.
  • Activities can go into Moodle, Canvas or Schoology, with scores in the gradebook.
  • The pacing guide lays out all 34 weeks, and the Create task guide covers the rules and the timeline.

Questions

Is the course free?
Yes, every lesson, exercise and question, with no account needed. Signing in only saves your progress across devices.
Can the Create performance task be written in Python?
Yes. Any language with variables, lists, conditionals, loops and procedures is allowed, and Python is one of the languages the course framework names.
Which version of the exam does it follow?
The 2026-27 course framework, for the May 2027 exam. The course is being redesigned for 2027-28; each lesson lists the framework topics it covers, so it can be remapped when the new framework is published.
Is this an official or endorsed course?
No. It is pythoncompiler.io's own course, written to the published course framework. Schools that offer an AP course label it through their own course audit.

AP® and Advanced Placement® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website.