Quirksand

SICP

SICP 1.2.1 Exercises

July 20, 2012 9:33

This is the start of a new subsection, looking more at how procedures do the work they do. Most of the problems still have a math focus, so the answers are easy to check. However, much of the work involves looking at how things are processed and describing it. That is the case with the two short exercises in 1.2.1.

Given that we’re looking at the steps involved, I’d suggest checking out the debugger. If you don’t know how to use it, figure out now. It will come in very handy later, and it’d be better to start with simple programs that work before trying to solve the problems with those that don’t.

Exercises 1.2.1