
Postlab Activities
Exercise 1: In Postlab Exercise 2 in Chapter 11, you wrote a program to keep track of
low-fat cookie sales for your cousin. Rewrite the program using the sorted list
operations you wrote for this chapter. Can you keep both lists sorted? Can you keep
one or the other sorted but not both? Write a justification for the data structures you
use.
Exercise 2: Write and implement a test plan for your program in Exercise 1.
Exercise 3: A clothing manufacturer wants to keep track of how many copies of each
item are sold over a period of a week. The information on the sales slip includes the
item identification number, the number of copies sold, ...