AP CSP 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: Light, Color, Sound (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).
📐

Standards Addressed

▾

CSTA Standards - Grades 9-10

3A-AP-13 3A-AP-16 3A-AP-21 3A-CS-03 3A-DA-09

CSTA Standards - Grades 11-12

3B-AP-16 3B-AP-21 3B-AP-22 3B-AP-23

Additional Standards for Team Projects

3A-AP-19 - Systematically design and develop programs for broad audiences by incorporating feedback from users.
3A-AP-22 - Design and develop computational artifacts working in team roles using collaborative tools.
3A-AP-23 - Document design decisions using text, graphics, presentations, and/or demonstrations in the development of complex programs.
3B-AP-17 - Plan and develop programs for broad audiences using a software life cycle process.
3B-AP-20 - Use version control systems, integrated development environments (IDEs), and collaborative tools and practices (code documentation) in a group software project.

AP CSP Framework

AAP-1.A - Represent a value with a variable.
AAP-1.B - Determine the value of a variable as a result of an assignment.
AAP-2.H - Write conditional statements. Determine the result of conditional statements.
AAP-3.A - Write statements to call procedures.
AAP-3.B - Explain how the use of procedural abstraction manages complexity in a program.
AAP-3.C - Develop procedural abstractions to manage complexity in a program by writing procedures.
AAP-3.E - Write expressions to generate possible values, and evaluate expressions to determine the possible results.
CRD-1.A - Explain how computing innovations are improved through collaboration.
CRD-1.C - Demonstrate effective interpersonal skills during collaboration.
CRD-2.E - Develop a program using a development process.
CRD-2.G - Describe the purpose of a code segment or program by writing documentation.
CRD-2.I - Identify the error in an algorithm or program and correct the error.

AP CSP Framework - Computational Thinking Practices

1 - Computational Solution Design: Design and evaluate computational solutions for a purpose.
1.D - Evaluate solution options.
2 - Algorithms and Program Development: Develop and implement algorithms.
3.A - Generalize data sources through variables.
3.B - Use abstraction to manage complexity in a program.
3.C - Explain how abstraction manages complexity.
4.C - Identify and correct errors in algorithms and programs, including error discovery through testing.
5.A - Explain how computing systems work.
5.C - Describe the impact of a computing innovation.
6.A - Collaborate in the development of solutions.
2

Unit 2: Plan It, Build It (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).
📐

Standards Addressed

▾

CSTA Standards - Grades 9-10

3A-AP-13 3A-AP-14 3A-AP-15 3A-AP-16 3A-AP-17 3A-AP-18 3A-AP-21 3A-CS-01 3A-CS-03 3A-DA-09 3A-IC-26

CSTA Standards - Grades 11-12

3B-AP-10 3B-AP-12 3B-AP-14 3B-AP-16 3B-AP-21 3B-AP-22 3B-AP-23 3B-CS-02

Additional Standards for Team Projects

3A-AP-19 - Systematically design and develop programs for broad audiences by incorporating feedback from users.
3A-AP-22 - Design and develop computational artifacts working in team roles using collaborative tools.
3A-AP-23 - Document design decisions using text, graphics, presentations, and/or demonstrations in the development of complex programs.
3B-AP-17 - Plan and develop programs for broad audiences using a software life cycle process.
3B-AP-20 - Use version control systems, integrated development environments (IDEs), and collaborative tools and practices (code documentation) in a group software project.

AP CSP Framework

AAP-1.C - Represent a list or string using a variable.
AAP-1.D - Develop data abstraction using lists to store multiple elements, and explain how the use of data abstraction manages complexity in program code.
AAP-1.J - Write iteration statements. Determine the result or side effect of iteration statements.
AAP-1.JC - Evaluate expressions that use arithmetic operators.
AAP-2.A - Express an algorithm that uses sequencing without using a programming language.
AAP-2.G - Express an algorithm that uses selection without using a programming language.
AAP-2.I - Write nested conditional statements, and determine the result of nested conditional statements.
AAP-2.N - Write expressions that use list indexing and list procedures.
AAP-3.C - Develop procedural abstractions to manage complexity in a program by writing procedures.
AAP-3.E - Write expressions to generate possible values, and evaluate expressions to determine the possible results.
Computational Thinking Practice 3.A - Generalize data sources through variables.
Computational Thinking Practice 3.B - Use abstraction to manage complexity in a program.
Computational Thinking Practice 4.C - Identify and correct errors in algorithms and programs, including error discovery through testing.
CRD-1.A - Explain how computing innovations are improved through collaboration.
CRD-1.C - Demonstrate effective interpersonal skills during collaboration.
CRD-2.E - Develop a program using a development process.

AP CSP Framework - Computational Thinking Practices

1 - Computational Solution Design: Design and evaluate computational solutions for a purpose.
1.B - Determine and design an appropriate method or approach to achieve the purpose.
2 - Algorithms and Program Development: Develop and implement algorithms.
2.A - Represent algorithmic processes without using a programming language.
3.A - Generalize data sources through variables.
3.B - Use abstraction to manage complexity in a program.
4.B - Determine the result of code segments.
4.C - Identify and correct errors in algorithms and programs, including error discovery through testing.
6.A - Collaborate in the development of solutions.
3

Unit 3: Spin, Sort, Repeat (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 Remix & Assessment: Students will demonstrate mastery of Mission 9 and the supplemental lessons through the Unit 3 Assessment (review questions and rubrics).
📐

Standards Addressed

▾

CSTA Standards - Grades 9-10

3A-AP-13 3A-AP-14 3A-AP-15 3A-AP-16 3A-AP-17 3A-AP-18 3A-AP-21 3A-CS-03

CSTA Standards - Grades 11-12

3B-AP-10 3B-AP-11 3B-AP-12 3B-AP-14 3B-AP-15 3B-AP-16 3B-AP-17 3B-AP-21 3B-AP-22 3B-AP-23 3B-CS-02

AP CSP Framework

AAP-1.B - Determine the value of a variable as a result of an assignment.
AAP-1.D - Develop data abstraction using lists to store multiple elements.
AAP-2.C - Evaluate expressions that use arithmetic operators.
AAP-2.F - Write expressions using logical operators, and evaluate expressions that use logic operators.
AAP-2.N - Write expressions that use list indexing and list procedures.
AAP-2.O - Write iteration statements to traverse a list.
AAP-3.B - Explain how the use of procedural abstraction manages complexity in a program.
AAP-3.C - Develop procedural abstractions to manage complexity in a program by writing procedures.
Computational Thinking Practice 3.A - Generalize data sources through variables.
Computational Thinking Practice 3.B - Use abstraction to manage complexity in a program.
Computational Thinking Practice 3.C - Explain how abstraction manages complexity.
Computational Thinking Practice 4.C - Identify and correct errors in algorithms and programs, including error discovery through testing.
🏆

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
📐

Standards Addressed

▾

CSTA Standards

The Create PT Prep unit reviews the CSTA Standards for Units 1, 2 and 3.

AP CSP Framework

AAP-1.A - Represent a value with a variable.
AAP-1.B - Determine the value of a variable as a result of an assignment.
AAP-1.D - Develop data abstraction using lists to store multiple elements.
AAP-2.H - Write conditional statements.
AAP-2.K - Write iteration statements.
AAP-2.N - Write expressions that use list indexing and list procedures.
AAP-3.A - Write statements to call procedures.
AAP-3.C - Develop procedural abstractions to manage complexity in a program by writing procedures.
Computational Thinking Practice 3.B - Use abstraction to manage complexity in a program.
Computational Thinking Practice 6.C - Acknowledge the intellectual property of others.
Computational Thinking Practices 6.A - Collaborate in the development of solutions.
CRD-1.C - Demonstrate effective interpersonal skills during collaboration.
CRD-2.A - Describe the purpose of a computing innovation.
CRD-2.C - Identify input(s) to a program.
CRD-2.D - Identify output(s) produced by a program.
🧠

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
Binary Numbers
  • ▸From Flowcharts to Code: Students will turn flowcharts into Python code.
  • ▸Create PT Prep - Writing Prompts: Lesson coming soon!
📐

Standards Addressed

▾

CSTA Standards - Grades 9-10

3A-AP-13 3A-DA-09

CSTA Standards - Grades 11-12

3B-AP-10 3B-AP-11

AP CSP Framework

AAP-2.A - Express an algorithm that uses sequencing without using a programming language.
AAP-2.B - Represent a step-by-step algorithmic process using sequential code statements.
AAP-2.F - Evaluate expressions that use logic operators.
AAP-2.G - Express an algorithm that uses selection without using a programming language.
AAP-2.H - Determine the result of conditional statements.
AAP-2.I - Determine the result of nested conditional statements.
AAP-2.K - Determine the result or side effect of iteration statements.
Computational Thinking Practice 1.D - Evaluate solution options.
Computational Thinking Practice 2.A - Represent algorithmic processes without using a programming language.
Computational Thinking Practice 4.B - Determine the result of code segments.
Computational Thinking Practice 4.C - Identify and correct errors in algorithms and programs, including error discovery through testing.
DAT-1.A - Explain how data can be represented using bits.
DAT-1.C - Calculate the binary equivalent of a positive integer and vice versa. Compare and order binary numbers.
🤖

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

📐

Standards Addressed

▾

CSTA Standards - Grades 9-10

3A-AP-13 3A-AP-14 3A-AP-15 3A-AP-16 3A-AP-17 3A-AP-18 3A-AP-21 3A-CS-01 3A-CS-03 3A-DA-11 3A-DA-12

CSTA Standards - Grades 11-12

3B-AP-10 3B-AP-11 3B-AP-12 3B-AP-14 3B-AP-15 3B-AP-16 3B-AP-21 3B-AP-22 3B-AP-23 3B-CS-02 3B-DA-06

Additional Standards for Team Projects

3A-AP-19 - Systematically design and develop programs for broad audiences by incorporating feedback from users.
3A-AP-22 - Design and develop computational artifacts working in team roles using collaborative tools.
3A-AP-23 - Document design decisions using text, graphics, presentations, and/or demonstrations in the development of complex programs.
3B-AP-17 - Plan and develop programs for broad audiences using a software life cycle process.
3B-AP-20 - Use version control systems, integrated development environments (IDEs), and collaborative tools and practices (code documentation) in a group software project.

AP CSP Framework

AAP-1.C - Represent a list or string using a variable.
AAP-2.H - Write conditional statements.
AAP-2.K - Write iteration statements.
AAP-2.O - Write iteration statements to traverse a list.
AAP-3.C - Develop procedural abstractions to manage complexity in a program by writing procedures.
AAP-3.D - Select appropriate libraries or existing code segments to use in creating new programs.
AAP-3.E - Write expressions to generate possible values, and evaluate expressions to determine the possible results.
Computational Thinking Practice 1.B - Determine and design an appropriate method or approach to achieve the purpose.
Computational Thinking Practice 3.A - Generalize data sources through variables.
Computational Thinking Practice 3.B - Use abstraction to manage complexity in a program.
Computational Thinking Practice 4.C - Identify and correct errors in algorithms and programs, including error discovery through testing.
CRD-1.A - Explain how computing innovations are improved through collaboration.
CRD-1.C - Demonstrate effective interpersonal skills during collaboration.
CRD-2.E - Develop a program using a development process.
DAT-2.A - Describe what information can be extracted from data.

AP CSP Framework - Computational Thinking Practices

1 - Computational Solution Design: Design and evaluate computational solutions for a purpose.
2 - Algorithms and Program Development: Develop and implement algorithms.
3.B - Use abstraction to manage complexity in a program.
4.C - Identify and correct errors in algorithms and programs, including error discovery through testing.
6.A - Collaborate in the development of solutions.