Python Basics with Tracy
- Level Middle School
- Contact Hours 120
- Timeframe Year
The Python Basics with Tracy course teaches students the basics of programming in Python. Students begin with Python commands, functions, control structures, and user interaction by solving puzzles and writing creative programs for Tracy to follow. Students then learn how to use lists, manipulate strings, and work with files by solving puzzles and writing creative programs for Tracy.
Students learn about the world Tracy lives in and how to write commands that she will understand. They also look at a history of programming languages and some of the different characteristics programming languages can have.
Students build on the commands they have learned to instruct Tracy around all parts of her world and use for loops to make their code more efficient.
Designing and Communicating Solutions
Students explore useful ways to break down large problems to write readable and successful programs.
[Project] Design a Mural
Students review all they have learned so far by completing a project where they will use Tracy to design a mural.
Controlling Tracy with Variables
Students learn about data types and how variables can be used in their Tracy programs. They also begin to learn how to manipulate strings in their programs, and learn how to add user interaction to their programs through user input and mouse click events.
[Project] Cycle Depiction
Students apply the concepts they have learned so far by completing a project where they will use Tracy to depict a common cycle.
Students learn how to use if/else statements and while loops to instruct Tracy to make decisions based on conditions. They also learn how to return values from functions.
Putting It All Together
Students put together all of the concepts they have learned to solve advanced Tracy puzzles and complete a final quiz.
[Project] On-Screen Calculator
Students have a chance to apply all the skills and concepts they've learned in this course by completing a project where they will use Tracy to create a calculator that can be used to complete simple mathematical expressions.
Refresher: Challenges with Tracy
Students refresh the information they should have at this point in the course and work with a partner to complete a project where they will create a digital art platform.
Students learn how to create, alter, and use methods with lists.
Lists and Loops
Students learn how to iterate through a list using both index values and list items. They then work with a partner to complete a project where they create an interactive to-do list.
[Project] Ticketing System
Students review all they have learned so far by completing a project where they will create a ticketing system to keep track of a line of patrons.
Students dive deeper into strings, learning how to access both characters and substrings, loop over strings, and utilize additional string methods. They then work with a partner to complete a project where they parse through text to organize information about game 5 of the 2023 Stanley Cup Final.
Students apply all they have learned so far by completing a project where they will create a timeline of their choosing that includes user interaction.
File I/O: Reading from Files
Students learn how to open and read files in their programs in various ways.
File I/O: Writing to Files
Students learn how to write to files in their programs.
[Project] Poetry Remixer
Students apply all the skills and concepts they've learned in the File I/O modules by completing a project where they will creatively alter a poem saved in a file.
Python in the Real World
Students explore uses of Python in various industries and complete an open-ended project to share this information with others.
Explore programs that your students will build throughout this course!
Create and organize Assignments in any CodeHS course that you're teaching. You can even add custom assignments to pre-existing CodeHS courses.Learn More
You also might like