CSC148H :: Lectures and Reading :: Summer 2013

Overview

The required reading for the course will be posted here. We will also post useful (or fun) but non-required reading: it will be clearly marked.

We often use the chalkboard to teach. We will usually not post summaries of this; please make a friend in class in case you happen to miss a lecture.

Notes will likely not be posted until after the lectures. Also, for some lectures, there will only be code that we develop in class.

Week M--F Readings Notes
1 16 May
2 23 May
3 30 May

Some optional stack practice:

  • Given a fully-parenthesized in-fix arithmetic expression like in expr_eval.py, return a fully-parenthesized post-fix arithmetic expression. For example:
    infix_to_postfix("((2 * 3) / (6 - 2))")
    should return
    "((2 3 *) (6 2 -) /)"
  • Some practice problems (Short answer: 6; Multiple choice: 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 13, 15, 16)

4 6 June
  • Unit testing (Software Carpentry)
  • Exercise: implement a recursive adder function that works in-place (without creating any new lists or using slice notation) Hint: the list you pass along will not be smaller, so you'll have to come up with another way to reduce the problem size.
5 13 June