Question: Look for a few search algorithms that you will use for this practical exercise.E.g. (Insertion sort, bubble sort etc). All of these algorithms should be

Look for a few search algorithms that you will use for this practical exercise.E.g. (Insertion sort, bubble sort etc). All of these algorithms should be implemented using numeric data types. In this exercise you are required to do the following:

Develop a Windows Forms application (C#) that will allow a user to select between the 5 different sorting algorithms.

The applications GUI should include / perform the following:

o A textbox to enter a string value

o A button to submit the string value

o A listbox to store all of the submitted string values. The entries in this list will always be unsorted, i.e. it should list the entries in the sequence in which they have been captured.

o A combobox from which to select one of 5 sorting algorithms.

o A button to submit once a sorting algorithm has been selected.

o A listbox to store the sorted results. This listbox will store the results of sorting the entries from the first listbox, using the selected sorting algorithm. (Remember to clear this listbox at the start of every new sort.)

o Once a sort has been completed, a MessageBox should pop up to display how long the sort has taken in milliseconds. The duration of the sorting process should start from the beginning of the (sorting) button click up to when the last entry has been loaded into the sorted listbox.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!