For some lectures, selected notes will be available. Dates and links are below.
11 Dec: Lecture on Algorithms (Chapters 10 and 11 of the textbook). Had hoped to spend some time on python packages, but the weather cancellation won't leave enough time.
class cancelled due to snow!
7 Dec: Finish Event-Driven Programs.
4 Dec: More on Event-Driven Programs. Also, Sixth Homework.
2 Dec: Event-Driven Programs.
30 Nov: Design Strategies. Quiz on 1 December will cover design strategies and objects/classes (Chapter 13 and notes on Objects and Classes).
20 Nov: Objects and Classes (essentially Chapter 13 of the textbook). Also, a bit about Fifth Homework and how to test the web server.
18 Nov: Web Programs
16 Nov: Unix Commands and Python
13 Nov: Recursion
- 11 Nov: Exam.
10 Nov: Third Exam in discussion sections.
9 Nov: Regular Expressions.
6 Nov: Example problem solving: Nim.
- 4 Nov: Internships experiences and opportunities.
3 Nov: Quiz over Function Keywords and iteration; one question uses append and extend methods for lists.
- 2 Nov: Web and text mining research..
30 Oct: Fourth Homework and Examples in Problem Solving I
Bonus links: Julie learns Python #learnpython
28 Oct: CSV and Loop Howto. Some introduction to Problem Solving.
26 Oct: Random and System Interfaces. Also, answer questions about Third Homework.
23 Oct: More on While and start Try Except; perhaps start Function Keywords.
21 Oct: Console Output and Input and start While.
19 Oct: Start Strings and Files and Iteration Control. Announce Third Homework.
- 16 Oct: Continue with topics from Wednesday.
14 Oct: Start Iteration Methodology, discuss Second Homework; reading: Chapter 5 of the textbook (on lists; mostly this is just review).
- 12 Oct: Exam review.
9 Oct: Substitution Formatting and Simple Objects, with some demonstration of images from the textbook. Some announcements about Midterm exam on Monday. See Second Homework page also.
7 Oct: Description of Unit Testing and Simple Debugging, related to Chapter 4.
5 Oct: Covering Python Modules, following Chapter 4 of the textbook.
2 Oct: The For and If statements in Python; also Comment Statements.
30 Sep: Introducing Mutating Methods; discussion of First Homework.
28 Sep: Continue with Drill Assignment Part 3 and start Assignment in Functions. Added to the Assignment page, a drill on assignments within functions.
25 Sep: More about assignment: Drill Assignment Part 2 and a little of Drill Assignment Part 3 (the last one will be continued on Monday). Many new flashcards have been added to the Assignment page, some of them are difficult. Please practice using assignment.
23 Sep: Introducing (finally!) variables and assignment: Drill Assignment Part 1.
- 22 Sep: Quiz in discussion sections. Optional:
You can view some small videos demonstrating IDLE and Wing for Windows: idle, wing1, and wing2. But it's preferable for you to use the Wing application that is installed on the department's Linux machines, as will be demonstrated in class.
21 Sep: Finish Drill Functions, start Functional Style and another flashcard added to Assignment
18 Sep: Continuing with functions: Drill Functions; added function definition to Assignment page for flashcards.
16 Sep: First Exam (at end of lecture). First part of lecture introduces Drill Functions.
14 Sep: Continuing Builtins and Custom Lists, and also a few things about the print function (or print command) in Python.
11 Sep: More on Builtins for Python, built-in methods and built-in functions. Time permitting, the lecture may start covering Custom Lists.
9 Sep: A lecture on Builtins for Python. There's quite bit of material to absorb from this lecture, and practice after the lecture will be helpful. More flashcards recommended on the Assignment page.
4 Sep: Finishing off data structures with Drill Dictionaries; some introduction of type conversion (some notes in Drill Type Conversion Part 1, though the notes go ahead of things with some assignment to variables). Flashcards on dictionaries added to the Assignment page.
2 Sep: Lectures notes are Drill Lists. Two more flashcard sets in the Assignment page.
31 Aug: Lecture notes are Drill Tuples. The Assignment page has more flashcard sets. A practice for the quiz: practice.pdf and review of Operator Precedence.
28 Aug: More on boolean type (logical operators). Then, introduction of some string operators and comparison operators. Lecture notes are Drill Comparisons. First Assignment has more flashcard sets.
26 Aug: Beginning Python: expression syntax. The first Assignment. Some demonstration of basic types, operators, and expressions using the Python shell (small presentation here: shellbasic). Some notes for the lecture: Drill Basic Expressions.
- 25 Aug: Discussion Sections: handing out computer science accounts (so students can log in to the department's cluster and use Python); for most sections, showing how to install Python (which is optional, and certainly not required for this course).
- 24 Aug: First class meeting, presenting syllabus and some course motivation.