Vectors

In this laboratory, you will explore vectors, an alternative to lists for storing sequences of values.

Preparation

  1. If you have not done so, please conduct the normal "start of class algorithm". Introduce yourself to your partner. Discuss work habits, strengths, and areas to improve.

  2. Grab the code for the lab.

  1. Review the documentation for the supplied procedures to ensure you understand what they are supposed to do. If you're not sure, feel free to experiment or to ask the staff.

Acknowledgements

This lab has gone through many revisions throughout the years. The earliest version available is available at https://rebelsky.cs.grinnell.edu/Courses/CS151/2000F/Labs/vectors.html and appears to bear little resemblance to the current lab.