CS-240
Data Structures
Project 2
Objectives: Upon completion of this project the student shall be:
1. Familiarized with the dynamic implementation of Lists, Stacks and Queue Abstract Data Types and the concepts of Inheritance and templating.
2. Able to determine which data structure is appropriate to use depending on the application.
Definition:Develop classes for representing classes for the List, Stack and Queue Abstract Data Types. The List class should be for both ordered and unordered lists. List should be a base class. The Stack and Queue classes should both be derived from the List class using public inheritance. To make the implementations as useful as possible they should be implemented as templates so that the containers being created can hold any element type.
Design, develop and implement a software system that will allow a user to input a source level program into a file created by the user using their favorite ASCII text editor and submit that program to the project program for execution.
Hint: The project will require the following data structures: