Comparison of Sorting Algorithms
Files
Date
2014
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
ALNEELAIN UNIVERSITY
Abstract
Abstract
There are many methods have been developed to arrange the array values in
various ways for a database cold the sorting algorithms.
The classification of sorting algorithms base on System complexity of
computational, terms of number of swaps, Memory usage Stability of sorting
algorithms .
In this researsh we seek to detemiine the efficiency of the various sorting
algorithms according to the time and number of swaps by using randomized trails.
The build environment using the Java language. We represents these sorting
algorithms bubble sort, selection sort, insertion, sort quick sort and merge sort as
a way to sort an array or integers and run random trails of length.
I created a package called “sorting” to execute a sort, it provided module of
sorting list(Non decreased &decreased) uses different method of sorting ,the
amount of swaps of each sorting algorithm and the runtime (in millisecond) and I
found a quick sort is the fastest algorithm compare to Bubble sort, Insertion sort,
Selection sort, and merge sort.
Description
hesis submitted in partial fillfillment of the requirements for the
award of Degree of Master of Computer science
Keywords
Prof :Elsamani A\talab Ahmed
