CSC108H: Lectures

Lectures

This page will contain notes from lecture, mainly from code developed during lecture. I will try to post these notes after each lecture.

The "Chalkboard" part contains things that I would have written on the board if we had easy access to it. (That screen is very slow to move up and down!) I type some of this in plain text instead. It is very brief and won't mean much if you weren't in class, but you might as well have it.

Week Day Slides, if any Code "Chalkboard"
1 Mon Intro bio_calcy.py
picture_display
first_program.py
Wed Admin details
Fri Announcements numbers.py
functions.py
python shell
2 Mon Announcements scope.py
first_program_modified.py
Functions etc.
Wed Announcements sunset.py
local_global.py
immutable.py
python shell: variable types
python shell: dir and help
Fri Announcements hello.py
temperature.py
python shell: textual input and output
We worked quite a bit on the actual chalkboard. If you weren't there, try to borrow someone's notes.
3 Mon Announcements
Assignment
python shell: booleans, strings, and for-loops with strings
Wed Announcements
Strings
We wrote code on the board
Fri Announcements More code on the board
4 Mon Announcements and more Shell (strings and lists)
Shell (extra string stuff)
Wed none Shell (more lists)
Shell (range)
squares.py
Fri none Shell (mutability)
get_command_versions.py
guard.py
5 Mon none Shell (aliasing)
guard_fixed.py
miscellaneous.py
remove_i_broken.py
Wed Test 1 Test 1 Test 1
Fri Announcements and lazy evaluation guard_really_fixed.py
Shell (nested lists)
nested.py
upper-handout.py
6 Mon Announcements Shell (dictionaries)
upper_commented.py
Wed Shell (files)
slowdown.py
Fri Shell (dictionaries)
phone.py
7 Mon Announcements Shell (wannabe preparation)
wannabe.py
Wed Test 2 Test 2 Test 2
Fri Announcements wannabe_complete.py
8 Mon Announcements Shell (iterating through a dictionary)
inverted_dict.py
Shell (GUI intro)
Wed shell
Fri fri_class_examples.py
9 Mon Announcements all on the board today
Wed Announcements Tkinter summary
cancel_button.py
Fri Announcements nose summary
demo.py
test_demo.py
10 Mon handout.py
Wed Test 3 Test 3 Test 3
Fri dict_demo.py
test_dict_demo.py
example2_not_fixed.py
example2_fixed.py
11 Mon all on the board
Wed Announcements pickle_demo.py
Algorithms and timing
stringmatchers.py
timing_all.py
Fri Announcements time_loop.py
Runtime and searching table_of_times.py
general_timer.py
searching.py
time_searching.py
12 Mon Announcements Sorting
sorting.py
time_sorting.py
Wed Announcements mergesort algorithm
madlib.py
importer.py
Fri Announcements objects
13 Mon Announcements calendar.py
Wed End of course announcements etc.
Fri