Comparison study of sorting techniques in dynamic data structure

Abbas, Zeyad Adnan (2016) Comparison study of sorting techniques in dynamic data structure. Masters thesis, Universiti Tun Hussein Onn Malaysia.

[img] Text
24p ZEYAD ADNAN ABBAS.pdf

Download (623kB)
[img] Text (Copyright Declaration)
ZEYAD ADNAN ABBAS COPYRIGHT DECLARATION.pdf
Restricted to Repository staff only

Download (405kB) | Request a copy
[img] Text (Full Text)
ZEYAD ADNAN ABBAS WATERMARK.pdf
Restricted to Registered users only

Download (3MB) | Request a copy

Abstract

Sorting is an important and widely studied issue, where the execution time and the required resources for computation is of extreme importance, especially if it is dealing with real-time data processing. Therefore, it is important to study and to compare in details all the available sorting algorithms. In this project, an intensive investigation was conducted on five algorithms, namely, Bubble Sort, Insertion Sort, Selection Sort, Merge Sort and Quick Sort algorithms. Four groups of data elements were created for the purpose of comparison process among the different sorting algorithms. All the five sorting algorithms are applied to these groups. The worst time complexity for each sorting technique is then computed for each sorting algorithm. The sorting algorithms were classified into two groups of time complexity, O (n2) group and O(nlog2n) group. The execution time for the five sorting algorithms of each group of data elements were computed. The fastest algorithm is then determined by the estimated value for each sorting algorithm, which is computed using linear least square regression. The results revealed that the Merge Sort was more efficient to sort data from the Quick Sort for O(nlog2n) time complexity group. The Insertion Sort had more efficiency to sort data from Selection Sort and Bubble Sort for O (n2) group. Bubble Sort was the slowest or it was less efficient to sort the data. In conclusion, the efficiency of sorting algorithms can be ranked from highest to lowest as Merge Sort, Quick Sort, Insertion Sort, Selection Sort and Bubble Sort.

Item Type: Thesis (Masters)
Subjects: Q Science > QA Mathematics > QA71-90 Instruments and machines > QA75-76.95 Calculating machines
Divisions: Faculty of Computer Science and Information Technology > Department of Software Engineering
Depositing User: Miss Afiqah Faiqah Mohd Hafiz
Date Deposited: 09 Sep 2021 06:05
Last Modified: 09 Sep 2021 06:05
URI: http://eprints.uthm.edu.my/id/eprint/930

Actions (login required)

View Item View Item