Please enable JavaScript to use CodeHS

Utah Introduction to Python 1 and 2

The Utah Introduction to Python 1 and 2 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.

Overview & Highlights

Level
Middle School
Contact Hours
120
Timeframe
Year

Course Overview

To view the entire syllabus, click here or click to explore the full course.

Tracy's World
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.
Moving Tracy
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.
Making Decisions
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.
Lists
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.
Strings
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.
[Project] Timeline
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 learn how Jupyter notebooks can be used to share information and Python programs with others.

76
Lessons
93
Videos
150
Exercises
22
Challenges
171
Offline Handouts

Demo Programs

Explore programs that your students will build throughout this course!

Customizable Assignments

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

Actions for Teachers

Didn’t find what you were looking for? Here are a few links that might be useful to you.