Home
Schedule Syllabus
Programming
Assignments

Labs
Exams

## Class Schedule

Week Date Reading Lecture Notes Topics
1 M-1/8 Ch. 1 Lect. #1 Intro I
W-1/10 Ch. 1 & Ch. 2 Lect. #2 Intro II, octothorpe, prompt, line of code, `print()`
2 M-1/15
MLK, JR. DAY
W-1/17 Ch. 2 Lect. #3 `print()`, `input()`, `type()`, `int()`, `float()`, nesting functions, assignment operator (=), expressions and literals, names and identifiers (lvalues), arithmetic operators, precedence, `divmod()`
3 M-1/22 Ch. 2 Lect. #4 namespaces, scope, scope resolution, `eval()`
W-1/24 Ch. 3 Lect. #5 string formatting, `input()`, `divmod()`, `eval()`
4 M-1/29 Ch. 3 Lect. #6,
Function Slides
type conversions, a bit more on string formatting, errors, void functions, `int()`, `float()`, `str()`
W-1/31 Ch. 4 Lect. #7,
Function slides
`docstrings`, `kwargs`, default parameters, "canonical" functions
5 M-2/5 Ch. 4 main() example,
Function slides
common function errors, function stubs: `pass`, `main()`
W-2/7 Ch. 4 global vs local (see zyBooks PA 2.5.2)
6 M-2/12 Ch. 5 Conditional slides conditionals: `if-else`, relational operators, objects and classes
W-2/14
EXAM #1
7 M-2/19
PRESIDENTS' DAY
W-2/21 Ch. 6 Conditional slides conditionals: `if-elif-else`, multiple `if` statements, Boolean (logical) operators, `and`, `or`, `not`, precedence, augmented assignment
8 M-2/26 Ch. 6 Lect. #11,
for-loop slides
`for-`loops, `range()`, a bit more on logical operators
W-2/28 Ch. 7 Lect. #12,
list slides
`list`s, mutable vs immutable, in-place modification, `tuple`s, list methods and functions
9 M-3/5 Ch. 7 Lect. #13,
slides
`for`-loops, indexing the last element in a list
W-3/7 Ch. 7 Lect. #14,
slides
`any()`, `all()`, simultaneous assignment, simultaneous assignment with lists of lists, simultaneous assignment in a `for`-loop header
SPRING BREAK !!!
10 M-3/19 Ch. 8 Lect. #15,
slides,
coin_toss.py
`list` slicing, nested `list`s (`list`s of `list`s), nested `for`-loops, tables, arrays, matrices
W-3/21 Ch. 8 Lect. #16,
slides
modifying lists, `enumerate()`, copying lists using slicing, sorting revisited, `reverse=True`, `str.upper`, `str.lower`, `str.title`, `max`, `len`
11 M-3/26 Ch. 8 Lect. #17,
slides,
random_walk.py
`in, not in`, ```is, is not```, `turtle` graphics
W-3/28 Ch. 9 Lect. #18,
slides
`import module`, ```from module import function```, and other `import` statements, standard modules, dot notation
12 M-4/2 Ch. 9 Lect. #19,
slides,
jabber.txt
list comprehension, `read()`, `readlines()`, `readline()`, `write()`, `writelines()`, `print(file=)`, `open()`, `close()`, `tell()`
W-4/4
EXAM #2
13 M-4/9 Ch. 10 Lect. #20,
slides
strings, string indexing, string formatting, `ord()`, `chr()`, Caesar cipher, ASCII characters, Unicode, escape characters
W-4/11 Ch. 10 Lect. #21,
slides
string formatting, format string, replacement fields, format specifiers, string slicing, string methods, `find()`, `replace()`, `split()`, `join()`, `strip()`, `rstrip()`, `lstrip()`, `lower()`, `title()`, `upper()`, `capitalize()`
14 M-4/16 Ch. 11 Lect. #22,
slides
while-loop, `break`, `for`-loops vs while-loops, chaining, `swapcase()`, `count()`, indexing and slicing combined
W-4/18 Ch. 12 Lect. #23,
slides
advanced loops, `continue`, `index()`
15 M-4/23 Ch. 13 Lect. #24,
dictionaries, `dict()`, key-value pairs, `del`, `keys()`, `values()`, `items()`