Lab: Data abstraction

Assigned
Monday, 14 April 2025
Summary
In this laboratory, we explore the use of data abstraction to separate the interface of a type from its implementation.

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. Grab four associated library files.

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

Acknowledgements

This lab was (mostly) newly written in spring 2021. In spring 2022, the different implementations were moved to separate files.