Please use this identifier to cite or link to this item: http://localhost:8080/xmlui/handle/123456789/1104
Full metadata record
DC FieldValueLanguage
dc.contributor.authorFaki, Silas-
dc.contributor.authorMusa, Yusuf-
dc.contributor.authorJoyce, Akosu-
dc.date.accessioned2024-05-16T07:56:59Z-
dc.date.available2024-05-16T07:56:59Z-
dc.date.issued2016-12-
dc.identifier.urihttps://journaljamcs.com/index.php/JAMCS/article/view/283-
dc.identifier.urihttp://localhost:8080/xmlui/handle/123456789/1104-
dc.description.abstractInternal Sorting Algorithms are used when the list of records is small enough to be maintained entirely in primary memory for the duration of the sort, while External Sorting Algorithms are used when the list of records is large enough to be maintained in physical memory hence a need for external/secondary storage for the duration of the sort. Almost all operations carried out by computing devices involve sorting and searching which employs Internal Sorting Algorithms. In this paper, we present an empirical analysis of Internal Sorting Algorithms (bubble, insertion, quick shaker, shell and selection) using sample comprising of list of randomly generated integer values between 100 to 50,000 samples. Using C++ time function, it was observed that insertion sort has the best performance on small sample say between 100 to 400. But when the sample size increases to 500, Shaker sort has better performance. Furthermore, when the sample grows above 500 samples, shell sort outperforms all the internal sorting algorithms considered in the study. Meanwhile, selection sort has displayed the worst performance on data samples of size 100 to 30,000. As the samples size grows to further to 50,000 and above, the performance of shaker sort and bubble sort depreciates even below that of selection sort. And when the sample size increases further from 1000 and above then shell sort should be considered first for sorting.en_US
dc.description.sponsorshipSelfen_US
dc.language.isoenen_US
dc.publisherJournal of Advances in Mathematics and Computer Scienceen_US
dc.relation.ispartofseriesVolume 20;Serial 1-
dc.subjectInternal sorting, empirical analysis, space complexity, time complexityen_US
dc.titleEmpirical Performance of Internal Sorting Algorithmen_US
dc.typeArticleen_US
Appears in Collections:Research Articles

Files in This Item:
File Description SizeFormat 
Empirical Performance of Internal Sorting Algorithm.pdf305.59 kBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.