Graphical Sorting

Assignment 3

Objective: Understanding of sorting algorithm, algorithmic analysis and design

Assignment from Book: 

Program Description: In this assignment, you will create a sorter(s), which graphically demonstrates how a sorting algorithm works.  Generally, after any change to the internal data structure, the graphical image should be updated. Students using O(n2) sorts are required to implement two algorithms (to make it fair to the ones implementing harder sorts).  Here is a site that may help you:

http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html

Name Sort
Askew, Ashley BubbleSort/Insertion
Attaway, John ShakerSort/Insertion
Carroll, James QuickSort
Flandez, Jose Shell/Lucky
Frederick, Chad CountingSort
Holak, James Insertion/Shell
Jones, Jonathan Selection/Bubble
Kirtley, Richard MergeSort
Klausner, Eric Insertion/Selection
Ou, LySreng CountingSort
Tolbert, Nadira Bubble/Selection
Wilson, David RadixSort
Zolja, Peter Lucky/Selection

Program Requirements: For this program, you can choose your favorite sorting algorithm, implement it, then graphically represent it.  The example below uses bars, which is generally effective, but could be just about anything so long as it makes sense (you may want to run this by the instructor first).

Example:

Program Turnin:  Use WebSubmit to submit the written assignment. You will show your code demo your program in class.