Please enable JavaScript to use CodeHS



Intro to Computer Science in Python 2 (Rainforest)

The CodeHS Introduction to Computer Science in Python 2 course teaches the fundamentals of computer programming as well as some advanced features of the Python language. Students will develop an appreciation for how computers store and manipulate information by building simple console-based games. This course is equivalent to a semester-long introductory Python course at the college level. **Note:** A version of this course using Python 3 is available in the course catalog.

Syllabus

Units: 13
Timeframe: Year
Contact Hours: 175

By the Numbers


Contact Hours 175
Lessons 94
Videos 77
Exercises 158
Challenges 20
Offline Handouts 127

Units

Unit Description
Welcome: Students will get a sense of what this course is about and reflect on what they hope to get out of it.
Introduction to Programming with Turtle Graphics: Students will learn Python commands, functions, and control structures by drawing shapes on their screen and solving puzzles with Turtle Graphics!
Basic Python and Console Interaction: Students will learn the basics of programming by writing programs that interact with users through the keyboard!
Conditionals: Students will teach their programs to make decisions based on the information it receives.
Looping: Students will 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.

Demos

Click on a demo to test it out.

Tracy Exercise: Colored Dartboard

Python Console Exercise: Librarian

Project: Guess the Word

Supplemental Tracy Challenge: Pizza

Resources

Here are a few examples of teacher resources and materials to use in the Intro to Computer Science in Python 2 (Rainforest) course

Format

The entirely web-based curriculum is made up of a series of learning modules that cover the fundamentals of programming. Each module is made up of short video tutorials, example programs, quizzes, programming exercises, challenge problems, and unit tests. The course is designed for a year long class that meets 5 days per week, though schools implement it in a variety of ways.

Who is it for?

This course does not assume any prior programming experience. Learn the basics of programming, and then gradually harness the power of some of Python's more advanced features to make games and solve real-world problems.

Students can take this course as their first introduction to computer science or as a secondary introductory course that explores a new language, after our Introduction to Computer Science in JavaScript.

Interested?

Interested in teaching the Intro to Computer Science in Python 2 course with CodeHS? Get in touch, so we can help you bring CodeHS to your school!

Bring to My School View Full Course Try the demo
Download the Course Overview

Professional Development

Teaching Intro to Computer Science in Python 2

The CodeHS Introduction to Python course teaches the fundamentals of computer programming as well as some advanced features of the Python language. With the CodeHS online Professional Development course, we'll train teachers at your school to teach an excellent introductory Python course. No programming experience is required. Teachers will gain the skills, pedagogical knowledge, resources, and confidence to lead a great introductory computer science class with CodeHS.

View Units
CodeHS PD Options