The Battle of the Titans: Empirical Comparison of Sorting Algorithm Processing on Major Operating Systems
CSEF · 2003 Mathematics & Software
Overview
Objectives/Goals To compare the running times of sorting algorithms based on the operating system Methods/Materials Materials: Personal Computer, Distribution CD's of operating systems (Windows 98, Windows 2000, Windows XP, RedHat Linux, Mandrake Linux, and SuSE Linux), different C++ Compilers Methods: - write C++ programs to perform Bubble, Selection, and Insertion integer sorts - write C++ program to generate sets of numbers to be tested in the experiment - create initial sets of numbers using above-mentioned program - install the operating system to be tested - compile the C++ source code for the sorting programs on OS that is currently analyzed - run Bubble, Selection, and Insertion sorts on the generated sets of numbers for 5 times and record the running times required - repeat the experiment for other operating systems - analyze the results Results Results varied significantly for the different test cases. Linux and Windows operating systems performed about the same in the Bubble sort; Insertion sort was more in favor of Windows, and in Selection sort, Linux was the faster operating system. Conclusions/Discussion Efficiency of the OS is not its absolute quality; it is the application of OS and the process load that matters. Systems are designed to perform some tasks better than the others, but still can be beaten by the others in certain applications.
Summary statement
I performed runtime analysis of classic sorting algorithm efficiency on major operating systems and examined the results to show how OS performance depended on the type of task chosen.
Help received
Brother provided the distribution CDs of operating systems
Competition history
- CSEF 2003
Resources
Related projects
CSEF · 2007
Awesome Algorithms
CSEF · 2011
Sorting Algorithms
CSEF · 2002
The Double-Array Sort: A Study of C++ Sorting Methods
CSEF · 2003
O(n) Sorting: A New, More Efficient Computer Sorting Algorithm
ISEF · 2014
Parallel Sorting Algorithms in C Using Open Multi-Processing
CSEF · 2008
Comprehensive Evaluation of Computer Operating Systems
CSEF · 2003
The Need for Speed: Testing the Execution Speed of Today's Popular Computer Languages
CSEF · 2002
Six Tests of Computer Performance
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects