Alternate Exercises: Intro to CS in Python
- Level High School
- Contact Hours 175
- Timeframe Year
This course teaches the fundamentals of computer programming as well as some advanced features of the Python 3 language. By the end of this course, students build a simple console-based game and learn material equivalent to a semester college introductory Python course.
To view the entire syllabus, click here or click to explore the full course.
|
Welcome
Students gain an understanding of what the course is about and reflect on what they hope to learn. |
|
Basic Python and Console Interaction
Students learn the basics of programming by writing programs that interact with users through the keyboard. |
|
Conditionals
Students teach their programs to make decisions based on the information it receives. |
|
Looping
Students learn how to write more efficient code by using loops as shortcuts. |
|
Functions and Exceptions
Students learn how their programs can be decomposed into smaller pieces that work together to solve a problem. |
|
Strings
Students use more sophisticated strategies for manipulating text in their programs - slicing, concatenating, and formatting. |
|
Creating and Altering Data Structures
Students learn how tuples and lists are formed and the various methods that can alter them. |
|
Extending Data Structures
Students learn to build more complex programs that make use of grids and dictionaries. |
|
Project: Guess the Word
Students use the skills they've learned throughout the course to build a word guessing game. |
|
Final Exam
Students prove their knowledge of content learned throughout the course through a multiple choice, short answer, and programming exam. |
|
Classes and Objects
Learn the principles of object-oriented design. |
|
Advanced Tracy Challenges
|
|
Midterm
|
|
Additional Topics
Teach your program to make decisions based on the information it receives. Learn how to decompose your program into smaller pieces that work together to solve a problem! |
|
Project: Who Said It?
Use your programming knowledge to build a program that can predict whether a small sample of text was written by Jane Austen or William Shakespeare! |
|
Python Graphics (Tkinter)
|
|
Project: Mastermind
|
|
Categorizing Triangles
Explore how we can use a computer to perform calculations and make decisions based on user input! You will use Turtle Graphics in Python to draw a triangle and write text to the screen and then use if/else statements, variables, functions, and mathematical, logical, and comparison operators to print the resulting triangle category. |
|
Extra Resources
|
|
Using and Storing Data
|
|
Python Graphics (Brython)
|
|
Intro to CS: Python Pretest
|
|
Intro to CS: Python Posttest
|
|
Karel in Python
Karel is a dog that only knows how to move, turn left, and place tennis balls in his world. You can give Karel these commands to instruct him to do certain things. We use Karel to show you what it means to program, and allow you to focus on problem-solving. |
Explore programs that your students will build throughout this course!
Dive into the basics of programming and learn how to lead a successful introductory computer science class. This course covers everything from learning effective debugging methods to teaching computer science in a blended classroom. Perfect for teachers with limited or no programming experience.
View Units CodeHS PD Options
Create and organize Assignments in any CodeHS course that you're teaching. You can even add custom assignments to pre-existing CodeHS courses.
Learn MoreDidn't find what you were looking for? Here are a few links that might be useful to you.