1.1 Welcome to AP CS Principles
Introduction to AP CS Principles
1 Activity:
- 1.1 Welcome to AP CS Principles
1.2 Computing Innovations
Learn about computing innovations.
1 Activity:
- 1.2 Computing Innovations
1.3 Python Basics
Learn Python basics and syntax.
1 Activity:
- 1.3 Python Basics
1.4 What is Data?
Learn about data and how it is collected and used.
1 Activity:
- 1.4 What is Data?
1.5 Algorithms
Learn about algorithms and how to write them.
1 Activity:
- 1.5 Algorithms
1.6 Python Loops
Learn about loops in Python.
1 Activity:
- 1.6 Python Loops
1.7 Loops Part 2
Learn how to use for loops in Python.
1 Activity:
- 1.7 Loops Part 2
1.8 Computing Systems and Networks
Learn about computing systems and networks.
1 Activity:
- 1.8 Computing Systems and Networks
1.9 Impacts on Society
Discuss the impact of computing innovations on society.
1 Activity:
- 1.9 Impacts on Society
1.10 Creative Development
Learn about Creative Development and Pair Programming in this lesson.
1 Activity:
- 1.10 Creative Development
1.11 Review
Review the concepts from Unit 1.
1 Activity:
- 1.11 Review
1.12 Quiz
Test your knowledge of the Unit 1 concepts.
1 Activity:
- 1.12 Quiz
2.1 Conditional Algorithms Unplugged
Use conditional logic in puzzles.
1 Activity:
- 2.1 Conditional Algorithms Unplugged
2.2 Conditional Logic Puzzles
Use conditional logic in puzzles.
19 Activities:
- 2: Conditional Logic Puzzles
- What Are Conditionals?
- Path Right
- Path Left
- More Turns!
- What Are Assignment Operators?
- What Are Comparison Operators?
- What Are Logical Operators?
- Hazardous Path
- What Is an Else?
- Death Valley
- Traps
- What Are Nested Ifs?
- G for Grandeur
- Silly Path
- Review: Conditionals, If
- Review: If / Else
- Review: If / Elif / Else
- Review: Nested Ifs
2.3 Conditional Loops
Use conditional loops in puzzles.
12 Activities:
- 3: Conditional Loops Puzzles
- What Is a While Loop?
- Detect a Path
- Forward, Left
- Right, Forward
- What is Break?
- While / Else and For / Else
- Path Ahead?
- Left Spiral
- Right Spiral
- Choose a Path
- Review
2.4 Variables in Python
Learn how to use variables in Python.
15 Activities:
- 4: Variables in Python
- What Are Variables?
- Fuel Up
- Stockpile
- Rocket Jump
- What Are Strings?
- Hack the Trap 1
- How Do You Define Multiple Variables?
- Let Loose
- It's a Toughie
- Hack the Trap 2
- Carnivorous Plants
- Obstacle Course
- Hack the Trap 3
- Review
2.5 User Input
Explore how a user can affect how a program runs.
4 Activities:
- 5: User Input
- Using the Input Function
- Storing Integers
- String Functions
2.6 Create Task: Trivia Game
Use what you've learned to build a trivia game!
6 Activities:
- 6: Create Task: Trivia Game
- The Debugging Process
- Trivia Challenge 1
- Trivia Challenge 2
- Trivia Challenge 3
- After The Exercise
2.7 Random Integers in Python
Learn how to generate--and use--random integers in Python.
9 Activities:
- 7: Random Integers in Python
- Pick a Random Number
- Dice Roller
- Lucky Break
- Counting Doubles
- Counting Coin Flips
- Feeling Lucky
- Try It Out: Falling Xs
- After the Exercise
2.8 Rock Paper Scissors: Pair Programming
Team up to create a Rock Paper Scissors game.
8 Activities:
- 8: Rock Paper Scissors: Pair Programming
- Random Commands
- Challenge: Rock Paper Scissors
- Challenge: Rock Paper Scissors 2
- Challenge: Rock Paper Scissors 3
- Challenge: Rock Paper Scissors 4
- Challenge: Rock Paper Scissors 5
- After the Exercise
2.9 Conditionals with the Robot Language
Reinforce what you've learned about conditionals.
10 Activities:
- 9: Conditionals with the Robot Language
- AP CSP Robot Conditionals
- Robot Question 1
- Robot Question 2
- Robot Question 3
- Robot Question 4
- Robot Question 5
- Compare Your Work
- Design Your Own Problems
- Variant Algorithms
2.10 Number Guessing Game
Use your new skills to build a number guessing game.
6 Activities:
- 10: Number Guessing Game
- Proper Programming Practice
- Number Guessing Game
- Number Guessing Game Part 2
- Number Guessing Game Part 3
- After the Exercise
2.11 Create Task: Math Facts Game
Challenge yourself by building a math facts game.
3 Activities:
- 11: Create Task: Math Facts Game
- The Design Process
- After the Exercise
2.12 Review
Review the concepts you learned in Unit 2.
1 Activity:
- 12: Review
2.13 Quiz
Test your knowledge of the Unit 2 concepts.
1 Activity:
- 13: Quiz
3.1 What is Abstraction
ADD DESCRIPTION
1 Activity:
- 3.1 What is Abstraction
3.2 Variables and Expressions
ADD DESCRIPTION
8 Activities:
- 2: Variables and Expressions
- Operators, Expressions, and Precedence
- Convert Inches to Centimeters
- Calculate the Speed of a Download
- Calculate the Volume of a Sphere
- Print the Percentage of Games Won
- Round to a Whole Percentage
- Exit Ticket Questions
3.3 Lists
ADD DESCRIPTION
8 Activities:
- 3: Lists
- Operations on Lists
- Iterating Through a List
- Even Numbers
- Using List Indexing
- A Special Index for the Last Element
- Handle Errors
- Exit Ticket Questions
3.4 The Turtle
ADD DESCRIPTION
5 Activities:
- 4: The Turtle API
- Turtle Graphing
- Turtle Practice
- Turtle Drawing Using Lists
- Making Random Art
3.5 User Interaction
ADD DESCRIPTION
5 Activities:
- 5: User Interaction
- Writing Your Own Functions
- Key Detection
- Adding a Delay with Timers
- Asteroids
3.6 Writing Functions with Parameters
ADD DESCRIPTION
4 Activities:
- 6: Writing Functions with Parameters
- Using Functions with Parameters
- Procedures, Parameters, and Arguments
- Review
3.7 Review
Review the concepts you learned in Unit 3.
1 Activity:
- 7: Review
3.8 Quiz
Test your knowledge of the Unit 3 concepts.
1 Activity:
- 8: Quiz
3.9 End of Quarter Create Task
ADD DESCRIPTION
9 Activities:
- 9: End of Quarter Create Task
- The Program's Purpose
- End of Day One: Check In
- Day Two: Finding Bugs
- End of Day Two: Check In
- Day Three: Add Documentation
- End of Day Three: Check In
- Day Four: Complete your Program, Check for Clarity, and Write about It
- End of Day Four: Check In
4.1 Computing Networks
Learn about computing networks.
1 Activity:
- 4.1 Computing Networks
4.2 Dictionaries
Learn about the dictionary data structure.
8 Activities:
- 2: Dictionaries
- Creating a Dictionary
- Operations on Dictionaries
- DIY 2: Create A Dictionary
- DIY 3: Letter Frequency Table
- Dictionary in Action: Storing Computers in a Network
- Dictionary in Action: Drawing Paths in a Network
- Summary
4.3 The Internet
Learn more about the structure of the Internet and how it relates to what you've learned.
7 Activities:
- 3: The Internet
- Open Protocols Help Make the Internet Scalable
- The Internet Is More Than Just the World Wide Web
- The Internet Routes Data Packets Dynamically
- Redundancy Promotes Fault-tolerance
- Simulating Packet Routing in Your Classroom
- Exit Ticket: The Internet
4.4 Packet Routing Simulation Program
Build a program that simulates the Internet's packet routing.
3 Activities:
- 4: Packet Routing Simulation
- Draw Computers in a Network
- Summary
4.5 Parallel Computing
Learn about the concept of parallel computing and see examples of it in action.
4 Activities:
- 5: Parallel Computing
- How Much Faster?
- Using Dictionaries to Compute Speedup Time
- Summary
4.6 Distributed Computing
Learn about the concept of distributed computing and see examples of it in action.
6 Activities:
- 6: Distributed Computing
- Unplugged Examples of Distributed Problem Solving
- Examples of Distributed Computing
- Distributed Computing is an Example of Abstraction
- Distributed Computing is Not the Same as Parallel Computing
- Research Distributed Computing as a Computing Innovation
4.7 Game Design
Learn how to write an update loop and review lists and dictionaries to build a game.
6 Activities:
- 7: Game Design
- What Is a Sprite?
- What Are Game Loops?
- More on Lists
- More on Dictionaries
- Review
4.8 Practice with Update
Reinforce your grasp of the update() function.
4 Activities:
- 8: Practice with Update
- Making Circles
- Moving with onkey()
- Summary
4.9 Pair Programming Challenges
Review Unit 4 concepts with these pair programming exercises.
6 Activities:
- 9: Pair Programming Challenges
- Challenge 1: Print the Letters
- Challenge 2: Dictionary Flash Cards
- Challenge 3: Basic Game Controls
- Challenge 4: Key Smasher
- Challenge 5: Parallelism Simulator
4.10 Review
Review what you learned in Unit 4.
1 Activity:
- 10: Review
4.11 Quiz
Test your knowledge of the Unit 4 concepts.
1 Activity:
- 11: Quiz
5.1 Pong
Make the classic arcade game Pong.
1 Activity:
- 5.1 Pong
5.2 Snake
Make the classic arcade Snake.
3 Activities:
- 2: Make A Game: Snake
- After the Exercise
- Challenge Tasks
5.3 Snake Follow-Up
Make the classic arcade game Snake.
3 Activities:
- 3: Improving Your Snake Game
- After the Exercise
- Challenge Task
5.4 Connect 4
Make the classic board game Connect 4.
3 Activities:
- 4: Make a Game: Connect 4
- After the Exercise
- Challenge Task
5.5 Connect 4 Follow-Up
Make the classic board game Connect 4.
2 Activities:
- 5: Improving Your Connect 4 Game
- After the Exercise
5.6 Tetris
Make the classic arcade game Tetris.
2 Activities:
- 6: Make A Game: Tetris
- After the Exercise
5.7 Tetris Follow-Up
Make the classic arcade game Tetris.
2 Activities:
- 7: Improving Your Tetris Game
- After the Exercise
5.8 Frogga
Make the classic arcade game Frogger.
2 Activities:
- 8: Make A Game: Frogga
- After the Exercise
5.9 Pair Programming Challenges
Pair programming challenges.
13 Activities:
- 9: Pair Programming Challenges
- Challenge One: Add a Pause Feature to Snake
- Challenge Two: Change the Winner Statement in Connect Four
- Challenge Three: Keep Frogga on the Road
- Challenge Four: Add a Pause Feature to Tetris
- Challenge Five: Add a Timer to Snake
- Challenge Six: Add a Score to Pong
- Challenge Seven: Check for Diagonals in Connect Four
- Challenge Eight: End the Snake Game If the Snake is Touching Itself
- Challenge Nine: Fix Pong Glitches
- Challenge Ten: Allow Tetris to Hold a Piece
- Challenge Eleven: Pong Score Graphics
- Challenge Twelve: Make a Single Square Piece in Tetris
5.10 Review
Review what you learned in Unit 5.
1 Activity:
- 10: Review
5.11 Quiz
Test your knowledge of the Unit 5 concepts.
1 Activity:
- 11: Quiz
6.1 Introduction
Learn about the semester performance task.
1 Activity:
- 6.1 Introduction
6.2 Starting and Testing
Begin your program.
5 Activities:
- 2: Starting and Testing
- Testing
- Comments
- Coding Time!
- After the Exercise
6.3 Data Abstraction
Learn about data abstraction.
4 Activities:
- 3: Data Abstraction
- Kinds of Data Abstraction
- Work Time!
- After the Exercise
6.4 Choosing a Function
Write a function into your program.
4 Activities:
- 4: Choosing a Function
- Writing a Function
- Coding Time!
- After the Exercise
6.5 Explaining How a Function Works
Learn about explaining functions.
3 Activities:
- 5: Explaining How a Function Works
- Coding Time!
- After the Exercise
6.6 Completing Your Program
Complete your program.
4 Activities:
- 6: Completing Your Program
- Help from Other People
- Coding Time!
- After the Exercise
6.7 Writing About Your Program
Revise and submit your earlier answers.
1 Activity:
- 7: Writing About Your Program
6.8 Reflection
Use conditional logic in puzzles.
3 Activities:
- 8: Reflection
- Prepare for a Gallery Walk
- Reflect On Your Next Assignment
7.1 Operations on Lists
Learn about list operations.
1 Activity:
- 7.1 Operations on Lists
7.2 Functions that Return a List
Learn about functions and returning lists.
4 Activities:
- 2: Functions that Return a List
- Intersection of Two Lists
- Union of Two Lists with No Repeats
- On Your Own
7.3 CSV Files
Learn about working with CSV files.
7 Activities:
- 3: Working with CSV Files
- The CSV Module
- Investigating the List
- Processing One Line of the File
- Processing One Column
- Summing A Column
- On Your Own
7.4 Making Plots
Learn about data visualization.
7 Activities:
- 4: Visualizing Data
- Making a Pie Chart
- Making a Bar Chart
- Making a Line Chart
- Making a Pie Chart for the Energy Data
- Making a Plot for Solar Data
- On Your Own
7.5 Thinking about Data Sets
Learn about data sets.
8 Activities:
- 5: Thinking about Data Sets
- The School District
- The Podcast Service
- The Biologist
- The University
- The Soccer Clubs
- The E-Bike Company
- Your Own Question
7.6 The Binary Search Algorithm
Learn the Binary Search Algorithm
4 Activities:
- 6: The Binary Search Algorithm
- Binary Search
- Making a Reverse Number Guessing Game
- On Your Own
7.7 Pair Programming Challenges
Complete some pair programming challenges.
7 Activities:
- 7: Pair Programming Challenges
- Challenge 1: Find the Highest Under a Certain Ceiling
- Challenge 2: Find out if a Majority of Numbers in a List are Greater Than the Average
- Challenge 3: Keep the Even Numbers
- Challenge 4: Diving Score
- Challenge 5: Find Two-In-a-Row
- Challenge 6: Find Totals for Energy Data
7.8 Review
Review what you learned in Unit 7.
1 Activity:
- 8: Review
7.9 Quiz
Test your knowledge of the Unit 7 concepts.
1 Activity:
- 9: Quiz
8.1 What is Artificial Intelligence?
TODO
1 Activity:
- 8.1 What is Artificial Intelligence?
8.2 Game of Stones
TODO
2 Activities:
- 2: Game of Stones
- Programming the Game
8.3 Rock Paper Scissors with Lists
TODO
2 Activities:
- 3: Rock Paper Scissors with Lists
- Building the Game
8.4 Rock Paper Scissors with Prediction
TODO
3 Activities:
- 4: Rock Paper Scissors with Prediction
- Continuing the Game
- After the Exercise
8.5 Beneficial and Harmful Effects
TODO
8 Activities:
- 5: Beneficial and Harmful Effects
- Benefits of Artificial Intelligence
- Data Privacy Concerns
- Bias Concerns
- Socialization Concerns
- Autonomous Weapons
- Existential Risk
- Summary
8.6 Pair Programming Challenge: Final Jeopardy
TODO
2 Activities:
- 6: Final Jeopardy Wager
- Man Versus Machine
8.7 Sentiment Analysis
TODO
1 Activity:
- 7: Sentiment Analysis
8.8 Sentiment Analysis Part 2
TODO
1 Activity:
- 8: Sentiment Analysis Part 2
8.9 Simulations
TODO
3 Activities:
- 9: Simulations
- What is a Simulation?
- Simulate Making a Complete Set
8.10 Simulations Part 2
TODO
1 Activity:
- 10: Simulations Part 2
8.11 Review
Review what you learned in Unit 8.
1 Activity:
- 11: Review
8.12 Quiz
Test your knowledge of the Unit 8 concepts.
1 Activity:
- 12: Quiz
9.1 Starting with the Directions
Directions for the Create Performance Task.
1 Activity:
- 9.1 Starting with the Directions
9.2 Understanding the Scoring Guidelines
Scoring guidelines for the Create Performance Task.
2 Activities:
- 2: Understanding the Scoring Guidelines
- Try Scoring Student Samples
9.3 Create Task Week 1
Week 1 of the Create Performance Task.
2 Activities:
- 3: Create Task Week One
- Coding Time!
9.4 Create Task Week 2
Week 2 of the Create Performance Task.
2 Activities:
- 4: Create Task Week Two
- Coding Time!
9.5 Create Task Week 3
Week 3 of the Create Performance Task.
2 Activities:
- 5: Create Task Week Three
- Finished Early
10.1 Encryption
Add description here.
1 Activity:
- 10.1 Encryption
10.2 Substitution Cipher
Add description here.
3 Activities:
- 2: Substitution Cipher
- How a Substitution Cipher Works
- Coding it in Python
10.3 Reasonable Time
Add description here.
8 Activities:
- 3: Reasonable Time
- Guessing a Password
- Authentication and Protection
- Unauthorized Access
- Defining Reasonable Time
- Examples: Not Reasonable Time
- Heuristics
- Generating Brute Force Passwords
10.4 The Knapsack Problem
Add description here.
6 Activities:
- 4: The Knapsack Problem
- Filling Up a Knapsack
- Brute Force vs Heuristic Methods
- A Simple Algorithm
- Sort by a Single Tuple Value
- Sort by Highest Ratio
10.5 Physical and Theoretical Limits
Add description here.
5 Activities:
- 5: Physical and Theoretical Limits
- Overflow Error
- Roundoff Error
- Infinite Loops
- Philosophical Limits to Computing
10.6 Compression
Add description here.
5 Activities:
- 6: Compression
- Lossy Compression
- Lossy Compression: Removing Vowels From a Sentence
- Lossless Compression: Run Length Encoding
- Challenge
10.7 Computing Concerns
Add description here.
7 Activities:
- 7: Computing Concerns
- Public Key Encryption and Certificate Authorities
- Legal and Ethical Concerns
- Legal Concerns
- Ethical Concerns
- Digital Divide
- Summary
10.8 Review
Review what you learned in Unit 10.
1 Activity:
- 8: Review
10.9 Quiz
Test your knowledge of the Unit 10 concepts.
1 Activity:
- 9: Quiz
11.1 - Understanding the Exam Format
TODO
1 Activity:
- 11.1 - Understanding the Exam Format
11.2 - Taking a Practice Multiple Choice Exam
ADD DESCRIPTION
1 Activity:
- 2: Taking a Practice Multiple Choice Exam
11.3 - Reviewing Your Practice Multiple Choice Exam Answers
ADD DESCRIPTION
1 Activity:
- 3: Reviewing Your Practice Multiple Choice Exam Answers
11.4 - The Day Before the Exam
TODO
1 Activity:
- 4: The Day Before the Exam
12.1 Introduction to Recursion
Introduction to Recursion
1 Activity:
- 12.1 Introduction to Recursion
12.2: The Flood Fill Algorithm
Learn about the Flood Fill Algorithm
6 Activities:
- 2: The Flood Fill Algorithm
- Paint Can Algorithm
- Coding It Ourselves
- Adding Graphics
- Finish It Off
- On Your Own
12.3: Fractals
Learn about fractals.
6 Activities:
- 3: Fractals
- What is a Fractal?
- A Fractal Snowflake
- Coding the Sides
- Making the Snowflake
- On Your Own
12.4: Fractal Trees
Learn about fractal trees
3 Activities:
- 4: Fractal Trees
- A Fractal Tree
- Make Your Own Fractal Tree
12.5: Review
Review what you learned in Unit 12.
1 Activity:
- 5: Review
12.6 Quiz
Test your knowledge of the Unit 12 concepts.
1 Activity:
- 6: Quiz
12.7 Optional Explore Task
Optional Explore Task
1 Activity:
- 7: Optional Explore Task