CS 351: Design of Large Programs -------------------------------- Assignment # 2, Due Date 02/20/02 ---------------------------------- The goal of this assignment is to gain familiarity/confidence in the use of the Standard Template Library (STL) containers, iterators, STL algorithms and function objects. ******************************************************************************* PART A ------ Write a program to sort the elements in a container in ascending order. 1. To save time, start by coding a simple algorithm such as Bubble sort. 2. The same program should work (with minimal modification) for a vector, deque or list. 3. Populate the container with integers and use different initial orderings such as: - already sorted - reverse sorted - random - random with 80% of the keys being duplicates (optional) 4. To get random data in a vector v1, use the STL algorithm random_shuffle(v1.begin(), v1.end()) assuming v1 is already populated using, for example, vector v1; for (i=0; i