.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy8xODEwNy8yMzI3NC9ja2ZpbmRlci9pbWFnZXMvTG9nb19Ib3Jpem9udGFsX0NvbG9yKDEpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTY3ODQ3MH19fV19&Signature=eFaDvilrF8TZ4a17v3crZp7Ce7SXJN7KPh81fgEaRyqjne-NIuPVpG07OOlU5TURsrCBlrUsowCA~XgURbPzmQraY7cfwJ3nwmMFbb~OrTuBQvyRMB2tz6B2PCnPOFLGiClC3yu2GIsZgFTaTBALhFaK94Xlz9MEw70wu4Cwp937gJQkipnzj5K5IOeqOrrqCS3UbCAlVlUHOwev7ZUJ7g-iCSIpdDBTGCb4TqvcT8th-HJ8BFKa3S~RD3GaAb05BECQTxQfvX5WRkI4z4qrkGrirkxDsx0gyUjwBYTK-XvLJYC2gy2rqdS0mh2oaXKjQWiAOXakZ6oZ2CHL4DOlcw__&Key-Pair-Id=K2TK3EG287XSFC)
Course Title: Python 2 |
|||
|
Curriculum Description: This twenty-lesson module is a continuation of Python 1. Students advance their learning to include functions, events, and basic elements of game design. |
|||
|
Prerequisites: Python 1 |
|||
|
Course Content: This twenty-lesson module is a continuation of Python 1. Python 2 uses the same single-lesson project model as Python 1 to engage and motivate all students as it builds on the core concepts of programming. Topics include: indexing, algorithms, string manipulation, while loops, events, booleans, program design, and game mechanics. Students create a final project at course completion. |
Assessment Tools
|
||
|
Standards addressed in all lessons: Each lesson includes components that address these standards.
Skill Building:
Debugging:
Create Projects:
|
Student Activities: How is learning demonstrated? Lessons are based on a differentiated instruction model with multiple exit points: Skill Build – Learn new concepts to create a project following a step-by-step approach. Modify – Apply learned concepts to modify and add to the existing project. Create – Show mastery by building a real-world relevant project on their own or as part of a team. |
||
|
Lesson 1 - All Mixed Up
Use list indexes to set the stage background and customize a sprite.
Create Project: Generate random band names from lists of words. |
Standards:
2-AP-11: Use Variables |
Learning Targets:
|
|
|
Lesson 2 - Password Generator
Generate unique passwords using user input, indexes and list commands.
Create Project: Create a custom password generating algorithm and create it using code. |
Standards:
2-NI-05: Protect Information
2-AP-10: Flowcharts & Pseudocode
2-AP-11: Use Variables
2-AP-13: Decomposition |
Learning Targets:
|
|
|
Lesson 3 - Play Again
Use a while loop, click event, and for loop to create a game that increases the difficulty with every level.
Create Project: Make a game or animation program that repeats until the user breaks the loop. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition |
Learning Targets
|
|
|
Lesson 4 - Word Solve
Use nested loops, membership operators, lists, and indexes to create a game that lets users guess a word letter by letter.
Create Project: Use string methods to create a string manipulation program; i.e. leet or sTiCkYcApS. |
Standards:
2-DA-08: Data Visualization
2-AP-11: Use Variables
2-AP-13: Decomposition
|
Learning Targets:
|
|
|
Lesson 5 - Changing Scenes
Set the scenes of a story by using functions and calling them at the right times.
Create Project: Use functions to show information on countries around the world. |
Standards:
2-AP-11: Use Variables
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 6 - Dance Moves
Choreograph a dance routine by calling functions in order.
Create Project: Apply actions to functions to simulate athletes playing a sport. |
Standards:
2-AP-11: Use Variables
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 7 - Dance Off
Control a dance routine by using key events to perform dance moves.
Create Project: Make an Etch-a-Sketch toy controlled by key events. |
Standards:
2-AP-11: Use Variables
2-AP-13: Decomposition
2-AP-14: Functions
|
Learning Targets:
|
|
|
Lesson 8 - Math Machine
Allow users to choose a math operation and supply numbers to the program to calculate the results.
Create Project: Code a custom choose-your-own adventure. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 9 - Refactoring 1
Review various types of loops and functions and how they can be used to make programs more readable and efficient. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 10 - Party Invitation
Fill out party invitations by calling functions with parameters.
Create Project: Make an e-card for any occasion. |
Standards:
2-AP-11: Use Variables
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 11 - Around the Solar System
Calculate weights on different planets using functions with return statements.
Create Project: Convert between two sets of measurements using functions and returns. |
Standards:
2-AP-11: Use Variables
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 12 - Secret Code
Translate words into coded Pig Latin using a function with a return statement.
Create Project: Design and create an encryption program. |
Standards:
2-NI-06: Encryption
2-AP-11: Use Variables
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 13 - Stick Figures
Draw stick figures using a function, then animate the stick figures using another function.
Create Project: Design an animated logo. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 14 - Leap Year
Calculate if a year is a leap year or not using logical operators and Boolean values.
Create Project: Build playlists using lists and boolean expressions to choose the correct playlist. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 15 - Refactoring 2
Review various types of loops and functions and how they can be used to make programs more readable and efficient. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 16 - Astronaut Rescue
Build a game using collision events to detect objects to avoid or collect.
Create Project: Design a maze game that ends when the user hits an obstacle or the goal. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions
|
Learning Targets:
|
|
|
Lesson 17 - Save the Moon!
Build a game with a global variable to keep track of the score.
Create Project: Design a falling object game with scoring. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 18 - Wizard Duel
Build a game where a wizard duels an evil wizard by calling multiple functions and passing return values through multiple functions.
Create Project: Design a new spell for the dueling wizards. . |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 19 - Concept Review
Practice the coding skills and concepts learned in the previous lessons by completing a series of puzzles and activities. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 20a - Final: Brick Breaker
Practice making a Brick Breaker game before making one's own. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|
|
Lesson 20a - Final: YOUR Brick Breaker
Design a Brick Breaker game using concepts covered in previous lessons. |
Standards:
2-AP-11: Use Variables
2-AP-12: Control Structures
2-AP-13: Decomposition
2-AP-14: Functions |
Learning Targets:
|
|