AP CSP - Python with CodeX

Digital Textbook

AP CSP: Python with CodeX

A drop-in AP Computer Science Principles course for high school. Students learn Python by programming the CodeX handheld and prepare for the Create Performance Task.

📚 3 Units + Create PT Prep 🎯 High School 🎮 CodeX 💻 CodeSpace 🐍 Python
CodeX handheld device
📋

About this Digital Textbook

AP CSP: Python with CodeX is a drop-in course that teaches high school students programming with Python and prepares them for the AP Computer Science Principles Create Performance Task. Across three units, students build their skills with the CodeX, then move into Create PT Prep and begin their own project.

Each unit is broken into short lessons and missions with classroom-ready lesson plans, assignments, vocabulary, and review questions. Additional lessons and missions are available for extra practice.

1

Unit 1: Missions 1-5

Students complete Python with CodeX Missions 1-5 and write their first programs for the CodeX. Additional lessons cover defining functions and working with RGB colors. The unit ends with review, a remix project, and a unit exam.

🗺️

Missions in this Unit

  • ▸Mission 1 & 2: Students will get started in CodeSpace and complete Missions 1 and 2.
  • ▸Mission 3: Students will complete Mission 3 and write the Pixels1 program.
  • ▸Defining Functions: Students will learn to define functions and update their Pixels1 code in the Pixels1_functions program.
  • ▸RGB Colors: Students will work with RGB colors and write the Pixels1_RGB program.
Mission 4
  • ▸Mission 5: Students will complete Mission 5 and write the Music1 program.
  • ▸Unit 1 Remix & Assessment: Students will apply skills from Missions 1-5 in an original CodeX remix project, and demonstrate mastery through the Unit 1 Assessment (review questions and rubrics).
2

Unit 2: Missions 6-8

The unit starts with two lessons on the design process and flowcharts. Students then complete Missions 6-8, with additional lessons on working with lists and using uploaded JPG images. The unit ends with review, a remix project, and a unit exam.

🗺️

Missions in this Unit

Mission 6
Mission 7
  • ▸Mission 7 Obj 1-6: Students will build the Billboard program through Objective 6.
  • ▸Mission 7 Obj 7-9: Students will finish the Billboard program and write Billboard_functions.
Lists
  • ▸Lists Lesson 1: Students will learn about lists and trace list code in groups.
  • ▸Lists Lesson 2: Students will keep working with lists and trace more list code in groups.
  • ▸Unit 2 Remix & Assessment: Students will apply skills from Missions 6-8 in an original CodeX remix project, and demonstrate mastery through the Unit 2 Assessment (review questions and rubrics).
3

Unit 3: Mission 9

The unit starts with a lesson on the types of division. Students complete Mission 9, with additional lessons on functions with parameters and traversing a list. The unit ends with review and a unit exam.

🗺️

Missions in this Unit

  • ▸Types of Division: Students will learn the types of division and write the Billboard_modulo program.
  • ▸Mission 9: Students will complete Mission 9 and write the Game_Spinner program.
Functions with Parameters
Traversing a List
  • ▸Unit 3 Assessment: Students will demonstrate mastery of Mission 9 and the supplemental lessons through the Unit 3 Assessment (review questions and rubrics).
🏆

Create PT Prep

After Unit 3, students are ready for the Create PT project. The unit gives students four practice Create PT programs to work through, plus lessons on functions, global variables, creating a PDF and video, collecting images for code segments, and selecting a project. During the unit, students complete their Create Performance Task.

🗺️

Lessons in this Unit

Create PT Practice
🧠

Additional Lessons

Unplugged lessons that give extra preparation for the AP Multiple Choice Exam. They can be given in any order, before or after the Create PT.

🗺️

Lessons

Algorithms
  • ▸Algorithms Lesson 1: Students will work with algorithms using robot code, including a flowchart of the Mission 4 program.
  • ▸Algorithms Lesson 2: Students will get more practice with algorithms using robot code.
  • ▸Algorithms Lesson 3: Students will get more practice with algorithms using robot code.
Binary Numbers
  • ▸From Flowcharts to Code: Students will turn flowcharts into Python code.
  • ▸Create PT Prep - Writing Prompts: Lesson coming soon!
🤖

Additional CodeX Missions

These missions are not required for the Create PT. They add more Python skills with the CodeX and can be completed any time after Mission 9.

🗺️

Missions