2nd Semester Intro to Computer Science

2nd Semester - Introduction To Computer Science

A 2nd semester follow-up to the TEALS Intro CS course

  • GitHub: https://github.com/TEALSK12/2nd-semester-introduction-to-computer-science
  • GitBook: https://tealsk12.gitbooks.io/2nd-semester-introduction-to-computer-science/content/

About this curriculum

Welcome to the TEALS Intro to Computer Science Second Semester Curriculum. This curriculum is intended for use by TEALS classrooms teaching Introduction to Computer Science in a yearlong format. We expect that students have completed the content from the 1st semester course prior to this curriculum.

Associated Readings

We have included with this curriculum Associated Readings to dive deeper into topics specific to the instruction of this course. These readings have been adapted from “Think Python: How to Think Like a Computer Scientist” by. Allen B. Downey. (HTML Version)(PDF Version).They are specifically referenced in the lesson plans and the full document is included.

Curriculum Orientation

Check out this 1-hour Orientation to the Curriculum video

Python Versions (2 vs 3)

Python is an evolving language. Python 3 is a major upgrade to the language, released in 2010. There is a lot of existing software written under Python 2 and there is resistance to upgrading to Python 3 due to code breakage and cost. Just as a car part from a 10 year old model car will probably not fit a new model of the same car, Python 2 code probably would not run in a Python 3 environment. In Python 3 there are new features, significant upgrades “underneath” which makes the code run better and/or faster as well as no longer supporting (deprecating) some Python 2 capabilities. When looking at Python code, be careful to note whether it is Python 2 or Python 3.

This class will use Python 3

For those knowledgeable with Python 2, the following is a list of differences from Python 3 relevant to the 2nd semester intro course.

  Python 2 Python 3
Printing to console print 3.14 print (3.14)
User input raw_input()/input() input ()
Integer arithmetic 3/2 evaluates to 1 3/2 evaluates to 1.5
Not equal to <> !=

Curriculum Issues

Please open an issue in GitHub if you encounter factual, spelling, or grammatical errors, sequencing problems (topics needed before they are taught), or incomplete/missing materials.

Giving feedback on the curriculum

TEALS intends for this curriculum to be a starting point for teachers. We’ll continue to evolve, adapt the curriculum and associated materials. To participate in this process, we invite TEALS volunteers and classroom teachers using this curriculum to submit edits and suggestions via the TEALS discussion forum or in this GitHub repository. If you’d like to suggest changes or additions to the curriculum, please submit a GitHub Pull Request containing your changes. As a best practice, each pull request should contain a singular atomic change.

Printing GitBook

The 2nd Semester Introduction to Computer Science GitBook can be printed by navigating to PDF Version.

Creative Commons Attribution Non-Commercial Share-alike License

This curriculum is licensed under the Creative Commons Attribution Non-Commercial Share-alike License, which means you may share and adapt this material for non-commercial uses as long as you attribute its original source, and retain these same licensing terms.


Additional Topics

Changelog

2nd Semester - Introduction To Computer Science

Lesson 1.01: Set Up

Python Online Editor Sign Up

Python Online Editor Sign Up

Python Online Editor Sign Up

Python Online Editor Sign Up

Repl Sign Up

Lab 1.02 - Using the Interpreter

Lesson 1.02: Interactive Mode

Do Now 1.03

Lab 1.03 - Printing & Variables

Lesson Plan 1.03: Script Mode and Variables

Do Now 1.04

Lab 1.04 - Magic Genie

Lesson Plan 1.04: Variables and User Input

Readme

Lesson Plan 1.05: Quiz & Debugging

Alternate Project 1: Magic Square

Lesson 1.06: Project

Project 1: Mad Libs

Rubric - Unit One Project

Terminal and Cloud 9 Cheat Sheet

Unit 1 - Text-based vs. Block-based Programming

Do Now 2.01

Lab 2.01 - Casting

Lesson 2.01: Data Types & Casting

Do Now 2.02

Lab 2.02 - Can I or Can't I

Lesson 2.02: Booleans & Expressions

Do Now 2.03

Lab 2.03 - Game Show

Lesson 2.03: Conditionals

Do Now 2.04

Lab 2.04 - Food Chooser

Lesson 2.04: Lists

Do Now 2.05

Do Now 2.06b

Lab 2.05 - Tic-Tac-Toe

Lesson 2.05: Lists Part 2

Lesson 2.06b: Lists Recap

Do Now 2.06

Lab 2.06 - Tic-Tac-Toe Revisited

Lesson 2.06: Game Loop

Alternate Project 2: TODO List

Lesson 2.07: Project

Project 2: Zork - Text Monster Game

Rubric - Unit Two Project

Unit 2 - Data Types, Arguments, Lists and Loops

Do Now 3.01

Lab 3.01 - Magic 8-Ball

Lesson 3.01: Built-In Functions

Do Now 3.02

Lab 3.02 - Birthday Song & Random Cards

Lesson 3.02: User-Defined Functions

Do Now 3.03

Lab 3.03 - War (Card Game)

Lesson 3.03: Return vs Print

Do Now 3.04

Lab 3.04 - Aliasing & Scope

Lesson 3.04: Debugging and Scope

Alternate Project 3: Daily Planner

Lesson 3.05: Project 3

Project 3: Oregon Trail

Rubric - Unit Three Project

Unit 3 - Functions

Do Now 4.01

Lab 4.01 - devowel

Lesson 4.01: Looping Basics

Do Now 4.02

Lab 4.02 - Getting Loopy

Lesson 4.02: For Loops Using Range

Do Now 4.03

Lab 4.03 - Nested For Loops

Lesson 4.03: Nested For Loops

Do Now 4.04

Lab 4.04 - Shopping List

Lesson 4.04: Nested Lists & Looping

Lab 4.05 - Debugging Practice

Lesson 4.05: Debugging and Quiz

Alternate Project 4: Tic-Tac-Toe

Lesson 4.06: Tic Tac Toe

Project 4: Tic-Tac-Toe

Rubric - Unit Three Project

Unit 4 - For Loops and Nesting

Do Now 5.01

Lab 5.01 - Intro to EarSketch

Lesson 5.01: Earsketch Intro

Do Now 5.02

Lab 5.02: EarSketch Music

Lesson 5.02: EarSketch Music

Do Now 5.03

Lab 5.03: Earsketch Control Flow

Lesson 5.03: Earsketch Control Flow

Do Now 5.04

Lab 5.04 - User-Defined Functions

Lesson 5.04: EarSketch User-Defined Functions

Do Now 5.05

Lesson 5.05: EarSketch Project

Project 5: EarSketch Song

Buy an Umbrella Grading Rubric

Unit 5 - Music Programming (Optional Unit)

Do Now 6.01

Lab 6.01 - Internet Abbreviations

Lesson 6.01: Introduction to Dictionaries

Do Now 6.02

Lab 6.02 - Word Counter

Lesson 6.02: Dictionaries Methods

Do Now 6.03

Lab 6.03 - Dictionaries Storing Lists

Lesson 6.03: Dictionaries of Lists

Do Now 6.04

Lab 6.04 - Dictionaries Looping

Lesson 6.04: Dictionaries Looping

Do Now 6.05

Lesson 6.05: Dictionaries Project

Project 6: Guess Who

Project 6: Buy an Umbrella

Rubric - Unit Six Project

Unit 6 - Dictionaries

Do Now 7.01

Example

Lab 7.01: Create a Color Class

Lesson 7.01: User-Defined Types (Classes)

Do Now 7.02

Lab 7.02 - Pet Class

Lesson 7.02: User-Defined Types, Part 2

Do Now 7.03

Lab 7.03 - Kangaroo Class

Lesson 7.03: Methods

Do Now 7.04

Lab 7.04 - Pokemon Child Classes

Lesson 7.04: Inheritance

Alternate Project 7: Mailing List

Lesson 7.05: Pokemon Project

Project 7: Pokemon

Rubric - Unit Seven Project

Unit 7 - Introduction to Object Oriented Programming

Do Now

Lesson 8.1 - Project Planning Summary + Brainstorming and Evaluating

Python Final Project Ideas

Do Now

Lesson 8.2 - Defining Requirements

Do Now

Lesson 8.3 - Building a Plan

Do Now

Lesson 8.4 - Project Implementation

Project- Final Project

Final Project Grading Rubric

Unit 8 - Final Project

Do Now Supplemental

Supplement Lesson 01: Binary Day

Associated Readings

Edit this page Report an issue