Your IT supervisor is working on a project to implement storage for information related to the continuing educational of employees, and these data will eventually be sorted. Your supervisor needs the application to use an ADT for this storage because this application will be modified later, and ADTs will allow more flexibility.
•Create a 2–3-page design document that includes the following:
-A title page including course name, project name, student name, and date
Analysis of the following:
Provide a rationale for the choice of data structure and implementation of the sort method.
Justify your choices based on effective use of system resources and suitability to the task.
•Write source code, keeping the following in mind:
Note: Your code does not have to have any user interaction. It must only demonstrate code that would achieve the implementation requirements listed below.
The implementation and type of data structure you use internally for the class will be your choice, but your class must work with strings and will expose methods for the following operations: ¦Include variable declaration for the internal data structure.
Include initialization of the data structures with sample data using the insert() method.
insert(): This method will add a new data item to your structure.
sort(): This method will sort the data items and list them in ascending order using a print statement.
Include implementation of sort() function.
-Include in-code comments describing the major parts of the implementation, specifically pointing out the required implementation points above.Attachments
public void Sort(CourseComparer.ComparisonType comparisonType)
//Create our course compare class
CourseComparer courseCompare = new CourseComparer(comparisonType);
//Method to print our list
private void PrintList()
foreach (Course course in this.courses)
public class ContinuingEducationApp
public void RunTheApp()
//Create our class
ContinuingEducation education = new ContinuingEducation();
//Add the items
//Overridden compareto method to allow sorting
public int Compare(Course x, Course y)
//This calls into our course class to do the actual sorting
return x.CompareTo(y, ComparisonMethod);
assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
// The following GUID is for the ID of the typelib if this project is exposed to COM
easily able to implement the abstract data type, and allowing our list to only contain type course by using List<Course> as our instance variable. The performance of this list will also not be affected by list manipulation. System resources will be impacted very minimally by sorting or retrieving a specific