Lectures, CPSC 217 (L02), Winter 2010

home page -  news -  course info -  lectures -  assignments -  how to succeed -  what to avoid -  references -  Mike Jacobson


 Lecture Schedule and Course Notes

Topic Recommended Reading Lecture Notes Sample Programs Surveys
1. Introduction   (1 up) (2 up) (4 up)    
2. Introduction to Programming Ch 2 (1 up) (2 up) (4 up) pressure.py, temperature.py loan.py  
3. Information and Data Ch 1, Sec 2.1 (1 up) (2 up) (4 up)    
4. Decisions Ch 4 (1 up) (2 up) (4 up) states.py tax.py  
5. Repitition Ch 5 (1 up) (2 up) (4 up) avg.py factorial.py guess.py Survey 1 Survey 2
6. Functions Ch 3, Ch 6 (1 up) (2 up) (4 up) music.py guess.py quiz.py  
7. Lists, Dictionaries and Strings Ch 8 (1 up) (2 up) (4 up) median.py image.py

grayscale.py DonaldDuck.ppm Lion.ppm
ppm.py (ppm image manipulation utilities)

mode.py passwords.py password_main.py

Survey 3 Solutions (1-7) Solution (8) Solution (9), using list Solution (9), using dictionary Solution (10)
8. Files and Exceptions Ch 7 (1 up) (2 up) (4 up) file_sum.py param.py word_count.py word_count2.py nums.py Survey 4 Solutions (1-6) Solution (7)
9. Recursion Ch 11 (1 up) (2 up) (4 up) mergeSort.py tsquare.py tsquare.jpg  


This page last modified:
http://www.cpsc.ucalgary.ca/~jacobs/cpsc217/W10/lectures.html