As with all following assignments, this consists of a set of worked examples and a set of problems. The worked examples are programs that are already complete; all you have to do is type them in. The problems are programs that are incomplete (or completely empty); you have to write them. (Worked examples include comments to help you understand what the program is doing; if you want to save time typing them in, you can leave out the comments.)

Note that the left column of each example/problem is the line number column, which is not part of the program; you shouldn’t type it in. (You can, however, use it to check your work, by checking it against the line numbers in the Micro editor.)

Worked examples

Problems