148

Prep 4: Abstract Data Types

This prep will introduce you to writing code using abstract data types. When you have completed it, you will be able to:

Readings to complete

Comprehension questions

Complete the Prep 4 quiz: ADTs quiz on Quercus.

Synthesize (submit on MarkUs)

In this programming exercise, you will complete several functions that operate on either a stack or a queue. The starter code and some sample tests are available here:

Don’t forget to write and run additional tests to make sure that your code works in all cases. When you’re done, submit on MarkUs.