Content text Overview.pdf
Introduction to Python Eric Yang Guidelines - Use IDLE as your IDE. Set the font size to a higher value (e.g. 14) so that students can see what you’re doing. Use IDLE to be most welcoming to beginners. Unless you want to spend some of your first class getting another IDE set up, please use IDLE. It may be helpful to introduce an IDE later in the course. - Take questions whenever you reach a natural pausing point, but don’t linger too long. Line breaks are put in between distinct topics; these are often a good place to take questions. - Don't forget to review the homework at the start of each class. - Allow students to copy and run the code for themselves. Wait approximately 15-20 seconds after putting in a code snippet, so students can take notes. Comment liberally. - Some demonstrative examples will be given in the lesson plans. You may copy+paste these at your leisure. - Always try to assign some sort of practice for the day, maybe 1-2 easy exercises regarding the concepts you’ve taught. Some example practice questions will be given and can be used. - Encourage interaction by whatever means possible. Ask questions. Call on students. Formatting Code snippets and technical information are put in monospaced font, or given their own blocks: x = "This is a code snippet." y = "Smart quotes suck." No color highlighting will be done on code snippets.
Table of Contents Guidelines 1 Formatting 1 Table of Contents 2 Week 1 4 Day 1: Introducing Python 4 Examples 5 Day 2: Variables and Taking Input 6 Examples 6 Exercises 7 Day 3: Assignment 8 Examples 8 Exercises 9 Day 4: Mad-Libs and String Formatting 10 Examples 11 Exercises 11 Week 2 12 Day 1: Comparators, Booleans, and an Introduction to Conditional Execution 12 Exercises 12 Day 2: Personality Quizzes with Conditionals 13 Day 3: Else and elif 14 Day 4: Zodiac Checker Project 15 Week 3 16 Day 1: Making a List, and Checking it Twice 16 Day 2: range and for 17 Day 3: while, break, and continue 18 Projects: FizzBuzz, Cookie Typer v0 19 Week 4 20 Turtle 20 Function Reference 20 Week 5 & 6 22 Day 1: Functional Coding 22 Day 2: Returning values 24 Rest of the Weeks: Cookie Typer v1 25 Accessing Files 25 MP Support 25 Copy+paste prevention 25 Fair Scoring Function 25 Global Win Count 25
Username/Password Handling 26 BONUS: Implementing a rating system 26 Week 7 & 8 27 Day 1: Classes and OOP- 27 Day 2: Operator Overloading 28 Day 3: Inheritance 29 Final Project: Solitaire 30