Lab: Pairs and Vectors

Assigned
Friday, 22 October 2021
Summary
We explore two ways of structuring data in Racket: Pairs and Vectors.

Preparation

a. Hold the normal opening conversation. Introduce yourselves. Discuss work habits. Note strengths and areas to improve. Decide what to do at 4:30.

b. Decide who is side A and who is side B.

A side: pairs-and-vectors-a.rkt

B side: pairs-and-vectors-b.rkt

b. Decide who will submit the lab.

d. Review the procedures included in the lab to make sure you understand what they are intended to do. You do not need to figure out how they work, but you might want to try a few experiments.

Acknowledgements

This laboratory is based on a variety of old labs. Sam Rebelsky probably wrote the helper code.