Jurnal Informatika Universitas Pamulang
Vol 10 No 1 (2025): JURNAL INFORMATIKA UNIVERSITAS PAMULANG

Analisa Perbandingan Algoritma Bubble Sort, Insert Sort dan Selection Sort

Yunial, Agus Heri (Unknown)



Article Info

Publish Date
29 Apr 2025

Abstract

The algorithm in a program describes the flow or sequence of the program. A good program must have a good algorithm, where an algorithm is said to be good, one of which is the best use of time in processing the program. A sorting algorithm is an algorithm that carries out the sorting process in the program. Some existing sorting programs include bubble sort, insert sort and selection sort. In this research, the processing time of the three algorithms will be compared in sorting 100-10,000 random data both ascending and descending which are arranged in 15 combinations of data sequences. The sorting process is carried out using the C++ programming language. From the test results it was found that for fully random data the bubble sort algorithm performs the longest sorting process and the selection sort algorithm performs the process with the fastest average time and for almost sorted data the bubble sort algorithm performs the longest sorting process and the insert sort algorithm performs the process with the fastest average time

Copyrights © 2025






Journal Info

Abbrev

informatika

Publisher

Subject

Computer Science & IT

Description

Jurnal Informatika Universitas Pamulang is a periodical scientific journal that contains research results in the field of computer science from all aspects of theory, practice and application. Papers can be in the form of technical papers or surveys of recent developments research ...