CS106 Class Notes
Summer 2021 Semester

Michael Eckmann
Skidmore College

Wednesday August 04, 2021
Working with Images, External packages: opencv, numpy
imagecode.py
Monday August 02, 2021
Is-a relationships, Inheritance
pet_code.py
pet_tester.py
Friday July 30, 2021
str format method
testpoker.py
Thursday July 29, 2021
class variables, more OO programming
playing_cards.py
testpoker.py
Wednesday July 28, 2021
more file I/O, special methods in classes/operator overloading, more OO programming
testfileio.py
playing_cards.py (contains Card with operators, start of Poker_Hand)
testcards.py
Tuesday July 27, 2021
more classes / object-oriented programming
playing_cards.py
testdeck.py
testcut.py
Tuesday July 27, 2021
continued ...
dogcode.py
testdogcode.py
testprivate.py
Monday July 26, 2021
classes
countingwords.py (solution to lab 8)
playing_cards.py
game.py (not much of a game, yet)
Friday July 23, 2021
file I/O, splitting strings, more dictionary functionality
blackjack.py (dealer vs. player)
fileio.py
countwords.py
Wednesday July 21, 2021
optional parameters/default values, else clause after loops, try/except/else/finally, continue statement, list comprehensions
optionalparameters.py
elseinloops.py
exceptioncode.py
Wednesday July 21, 2021
continued ...
continueexample.py
listcomp1.py
blackjack.py
Tuesday July 20, 2021
Math module, dictionaries
Monday July 19, 2021
recursion
factR.py
hanoi.py
fib.py
numoddsrecursive.py
summing.py
Friday July 16, 2021
searching and sorting
binarysearchprof.py
nestedloop.py
selectionsort.py
Thursday July 15, 2021
lab work, no lecture
Wednesday July 14, 2021
more programmer-defined functions
loopswithoutindices.py
weirdlistprocessing.py
lottery.py
Wednesday July 14, 2021
continued ...
containsfunctions.py
rolladie.py
randomepisode.py
Tuesday July 13, 2021
writing a variety of programmer-defined functions
topics-so-far.txt
newsalary.py
countwords.py (goes through all indicies)
Tuesday July 13, 2021
continued ...
numpositives.py (goes through all indicies)
numodds.py (goes through all indicies)
flip.py
Monday July 12, 2021
range object, exercises, programmer-defined functions
testrange.py
numstats.py
numstats1.py
numstatslist.py
Monday July 12, 2021
continued ...
productofodds.py
productofoddswhile.py
productuserinput.py
randfunction.py
largestof4.py
Friday July 9, 2021
str methods, lists, random choice, for loops, range object
strmethods1.py
listtesting.py
mixoftabsandspaces.py
Thursday July 8, 2021
Nested ifs, logical operators, reserved words and variable names, random number generation, while loops, str methods
nestedif.py
testand.py
testbool.py
Thursday July 8, 2021
continued ...
infiniteloop.py
guessgame1.py
guessgame2.py
Wednesday July 7, 2021
operators, if/elif/else
more assignment operators, function terminology
ifexample.py
projectedhomers.py
Tuesday July 6, 2021
Introduction, getting started with python, printing, variables, values, types, input
helloworld.py
hello.py
Tuesday July 6, 2021
continued ...
age.py
prog03.py
numstats.py