CSC120H/A20H: UTSC 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. In addition the readings for each week will be listed. You will benefit the most by completing the reading the shortly before or after the lecture.

Week Topic Notes Textbook Readings
1 types, operator, operand, functions Intro: PPT PDF Code 1 & 2
2 Modules, strings, import,return, builtins PPT PDF Code volume.py 3 & 4 (except 3.2.3, 3.2.4, 3.3.1, 4.4, 4.5)
3 if statements, Progams, string methods PPT PDF Code vol.py temp.py hello.py 3.2.3,3.2.4,3.3.1 & 6.1
4 lists, for loops, aliasing, string methods PPT PDF Code functions.py 4.3 (not 4.3.1), 5.1-5.8
5 Testing with Nose, for loops using range, file operationsPPT PDF Code double.py test_double.py 6.2, 4.5
6 Writing programs to read process data files. PDF Code file_ops.py 7.1, 7.2, 5.10,
7 while loops, using the debugger, dictionaries PDF remove.py CODE6.3, 8.2
8 Inverting a dictionary, Intro to Databases PDF dictionary.py test_dictionary.py setup_precip.py precipitation.txt CODE8.2, 8.3
9 Databases: SELECT, WHERE, JOIN, GROUP BY, etc.Worksheet precipitation.txt temperature.txt geography.txt database.py 15 and 16
10 GUIs PDF Database Table Setup Module name.py CODE13
11 More GUIs, checkbuttons, menus, file dialogsworksheet 11 notepad.py checkbuttons.py grid.py 13
12 Plotting and Arrays, Final Review PDF plotting.py Notes Final Info Note view_fig has been changed from the lecture version. Please make sure you use the new version. Reading is Ch. 14
Ramp Up to CSCA48 Searching, Sorting, Object-Oriented ProgrammingPDF Handout dice.py dice_gui.py test_dice.py search.py sorting.py time_sorting.py Chapters 11, 12