Week 9 - 16 Thursday

PREP FOR TODAY
read chapter 7 section 7.11 (selection sort part)
read sorting & BigOh-Notation     (from D.Nelson)
            [bubble sort later]


IN-CLASS DEMOs

Insertion sort        Selection sort

Visual comparison of several sorts
Table of the many sorting algorithms


DEMO PROGRAMS

TwoSortAlgor          .zip  (.java)  (SortAlgorNotes.pdf)
    uses Sorts class  (.java)

ArraysSort (built-in)     .zip  (.java)  << from earlier class
CopySortSubArray    .zip  (.java)
UsingSearchAndSort  .zip  (.java) 
<< from earlier class
     
uses classes: SearchesNC.java  SortsNC.java

SortParallelArrays        .zip  (.java)
    uses SortParAr class  (.java)
    DATA FILE: LittlePeopleData.csv  (.txt) for quickview
 

------------------------------------------------
TASKS  to do in Lab

MedianAgeTable    .zip (.java)
    DATA FILE: MedianAge.csv   (.txt for quickview