Stern Warning
Any notes found here are intended to supplement your own lecture notes.
They are not a substitute for attending class.

Lec No. Topic & Description PDF link PPTX link
Lec 01 Introduction PDF PowerPoint
  (Syllabus, Academic Integrity, Using GL & emacs)   
Lec 02 Intro to Python PDF PowerPoint
  (Variables, Expressions, Input/Output)   
Lec 03 Operators PDF PowerPoint
  (Arithmetic, Assignment, Comparison, and Logical Operators)   
Lec 04 Decision Structures PDF PowerPoint
  (One-Way, Two-Way, and Multi-Way Decision Structures)   
Lec 05 Algorithmic Thinking PDF PowerPoint
  (Algorithms, Syntax and Logic Errors, Practice with Decision Structures)   
Lec 06 While Loops PDF PowerPoint
  (while Loops, Interactive Loops, Conditional Practice)   
Lec 07 Lists PDF PowerPoint
  (Lists, append(), remove(), Sentinel Loops)   
Lec 08 Strings (and More) PDF PowerPoint
  (String Data Type, Constants, Boolean Flags)   
Lec 09 Functions PDF PowerPoint
  (All About Functions (Define, Call, Purpose), Variable Scope)   
Lec 10 Functions (continued) PDF PowerPoint
  (Returning Values, Scope)   
Lec 11 Program Design PDF PowerPoint
  (Modularity, Top Down Design, Implementation)   
Lec 12 Tuples PDF PowerPoint
  (Tuples, Casting, Membership "in" Operator)   
Lec 13 Midterm Review PDF PowerPoint
  (Exam Rules, Exam Format, Exam Content, Exam Advice)   
Lec 14 Lists (continued) PDF PowerPoint
  (Two-Dimensional Lists, Lists and Functions, Mutability)   
Lec 15 For Loops PDF PowerPoint
  (Introduction to for Loops, range() Function)   
Lec 16 File I/O PDF PowerPoint
  (Escape Sequences, File Processing, open(), and Reading from Files)   
Lec 17 File I/O (continued) PDF PowerPoint
  (Splitting Input into Variables, Writing to Files, and Closing Files)   
Lec 18 Program Design (continued) PDF PowerPoint
  ("Good Code", Top Down/Bottom Up Design and Implementation)   
Lec 19 Recursion PDF PowerPoint
  (Recursion, Stacks, Designing Recursive Functions)   
Lec 20 Recursion (continued) PDF PowerPoint
  (Code Trace of Recursion, More Examples, Iteration vs Recursion)   
Lec 21 Dictionaries PDF PowerPoint
  (Building, Accessing, and Manipulating Dictionaries, Comparison to Lists)   
Lec 22 Binary (and More) PDF PowerPoint
  (Binary Numbers, ASCII Values, Short Circuiting)   
Lec 23 Searching and Sorting PDF PowerPoint
  (Linear/Binary Search and Bubble/Quick/Selection Sort)   
Lec 24 Algorithmic Analysis PDF PowerPoint
  (Run Time, Worst and Best Case, Asymptotic Analysis, Big O)   
Lec 25 Classes PDF PowerPoint
  (Object-Oriented Programming, Classes, Inheritance)   
Lec 26 Python and emacs Fun PDF PowerPoint
  (import, Modules, Random Numbers, Shortcuts)   
Lec 27 Final Exam Review PDF PowerPoint
  (Exam Rules, Exam Format, Exam Content, Exam Advice)   

Livecoding Files

Below you will find copies of the files we have worked on in class. Brief notes have been provided where appropriate.

Lecture Exercise Links Notes
Lec 02 Mad Libs Game Game played in class
Lec 05 Are Dogs Good? Single if/else
Lec 05 Nail Polish Single if/elif/else
Lec 05 Passing 201
Nested, grade as outer if
Nested, major as outer if
Not nested, uses and/or
Lec 06 Guessing Polish Uses a while loop to keep guessing
Lec 07 Groceries v2.0 Uses a sentinel while loop to fill list
Lec 08 Password Creator Uses a Boolean flag to meet multiple requirements
Lec 08 Extra Credit Grades Uses a Boolean flag to find one of many possible ways
Lec 12 Tuple Guesses Uses membership 'in' operator
Lec 15 Kennel Assistants Uses different for loop styles
Lec 17 deSpacing
Using split and join on one string
Using for loop over file as one string
Using nested for loops over list of strings
Lec 19 Fibonacci Sequence Uses recursion to generate lower numbers
Lec 20 Recursion Practice Uses recursion in multiple ways
Lec 21 Creating Dictionaries Creates dictionary from two lists
Lec 23 Binary Search Recursive binary search implementation
Lec 25 Class Implementations Includes inheritance and overriding