This site applies only to CMPT 120 D1 (Burnaby) in Summer 2011. See the other instructors' pages for other sections.
All of the files here are PDF files for Adobe Acrobat.
- The Study Guide.
- The above Guide, with two pages per sheet.
- The above Guide, with four pages per sheet.
The Guide is also available as individual Units:
- Unit 0: front matter and Introduction
- Unit 1: Computing Science Basics
- Unit 2: Programming Basics
- Unit 3: Control Structures
- Unit 4: Functions and Decomposition
- Unit 5: Data Structures
- Unit 6: Algorithms
- Unit 7: Working with Files
- Appendix A: Technical Instructions (and index)
Errors in the Fall 2010 version
None noted (so far).
Errors in the Fall 2007 version
These errors have been fixed in the “Fall 2010” edition.
- Figure 2.10 contained an error when rounding-off values. Figure 2.11 has been added to fix this problem.
- Figure 3.21: pseudocode is incorrect.
- Figure 4.2:
<
comparisons should be<=
to handle identical values properly. - Figure 7.16: The
words
function does the wrong thing on blank lines. - Appendix A should recommend the latest version of Python 2: avoid Python 3 for this course.