CS 422   Winter 2000,  Instructor:  Jeffrey Horn

HOMEWORK 2:  EMPIRICAL ANALYSIS OF RUN_TIME:  SORTs
 
Handed out/Assigned: Wednesday,Sept. 13, 2000
Due: Friday, Sept. 29, 2000

Implement  your group's sorting algorithm (in C++) and time it.  Produce the following data:
 

  1. UNSORTED INPUT run times  (i.e., average case)
  2. SORTED INPUT run times  (worst case?  best case?  neither?  depends on your algorithm!)
  3. "REVERSE SORTED" INPUT run times (see comment for sorted input above!)


Assigned Teams:
 

QUICKSORT MERGESORT INSERTION SORT BUBBLESORT HEAPSORT RADIXSORT "LINUX SORT" SELECTION SORT
todd
keith renaye mike chaplin john justin Dr. Horn no one
jim dave carlo jason russ zach

Here is the "clock" code for measuring CPU time for specific sections of your code:

 

Data so far:
 

  1. UNSORTED INPUT
    Excell Spreadsheet
    Web page
     
  1. SORTED
  2. REVERSE SORTED