CSC108H: Lectures

Lecture Materials

Slides will be added here as .pdf files after each week of lectures.

Week Lecture Notes Lecture Files Readings / References
1 Slides first_mod.py
func_clicker.py
func_localvars.py
same_var.py
sunset.py
Chapter 2, 4.1, 4.2 (up to page 50), 4.3 (beginning with the Images heading), 4.4
2 Slides find_clicker.py
func2_clicker.py
immutable_param.py
legb_clicker.py
legb1.py
mutable_picture.py
quote_clicker.py
return_print.py
string_immutable.py
sunset2.py
temp.py
testscore.py
tricky_var.py
Chapter 3, 4.2, 4.3, 6.2
3 Slides ask_and_match.py
ask_rep.py
count_matches.py
if_clicker.py
if_ph.py
modfun_clicker.py
nested_for.py
num_vowels.py
remove_spaces.py
string_clicker.py
Sections 6.1, 6.3, chapter 7
4 Slides and some shell interaction bad_index.py
bad_uc_list.py
get_valid.py
get_valid_alt.py
list_methods_clicker.py
our_index.py
star_clicker.py
uc_list.py
while_clicker.py
while_guess.py
Chapter 5
5 Slides and some shell interaction dates.txt
find_min.py
foxfur.txt
housing.py
housing.txt
read_date_data.py
read_url.py
skip_header.py
write_file.py
Chapter 8
6 Slides and some shell interaction dict_clicker.py
planets.txt
read_clicker.py
sighting1.py
sighting2.py
sighting3.py
Section 9.2, 9.3
7 Slides and some shell interaction record.py sparse.py Section 9.2, 9.3
8 Slides dict_func.py
list_func.py
pic_func.py
slow_code.py
test_dict_func.py
test_list_func.py
test_swap_blue.py
test_swap_blue_sol.py
test_two_abs.py
test_two_abs_more.py
test_two_funcs.py
test_two_funcs_more.py
two_abs.py
two_funcs.py
Section 4.5
9 Slides and some shell output counter.py
is_clicker.py
point.py
point2.py
point3.py
point4.py
segment.py
Chapter 13, up to the beginning of section 13.4
10 Slides and reconstructed shell output (I closed Python by mistake in class!) change_attr.py
method_clicker.py
point5.py
polygon.py
rectangle.py
stack.py
Section 13.4, 13.5
11 Slides and shell output bad_again.py
bad_get_indices.py
find_min_max.py
get_indices.py
min1.py
min2.py
min3.py
min4.py
min5.py
min6.py
min7.py
segs1.py
segs2.py
segs3.py
Chapter 10
12 Slides and shell output binsearch.py
insertion_sort.py
linear1.py
linear2.py
linear_search.py
quadratic.py
selection_sort.py
sentinel_search.py
time_search.py
Sections 11.1-11.3
13 Review Slides