Lab: Data abstraction

Assigned
Monday, 1 November 2021
Summary
In this laboratory, we explore the use of data abstraction to separate the interface of a type from its implementation.
Note
There was huge variation here. Some students barely got to problem three, others made it through the first five. No one got to six. Some students needed coaching not to use car and cdr.

Preparation

a. Have the traditional start-of-lab conversation.

b. Quickly review your answers to the self-check problems from the reading.

c. Grab the code file.

d. Review the supplied procedures, which should be similar to those from the reading.

Acknowledgements

This lab was (mostly) newly written in spring 2021.