Analisis Algoritma Insertion Sort, Merge Sort Dan Implementasinya Dalam Bahasa Pemrograman C++

This paper presents the study of implementation and performance in sorting process, using two different algorithms, namely Insertion Sort and Merge Sort. In the first stage, the two algorithms were implemented in C++ language to sort several numbers typed by a user. In the second stage, the source c...

Full description

Bibliographic Details
Main Authors: Arief Hendra Saptadi, Desi Windi Sari
Format: Article
Language:Indonesian
Published: LPPM Institut Teknologi Telkom Purwokerto 2012-11-01
Series:Jurnal Infotel
Online Access:http://ejournal.st3telkom.ac.id/index.php/infotel/article/view/103
id doaj-47d6002ba707428788b1b4eb8a5d55d1
record_format Article
spelling doaj-47d6002ba707428788b1b4eb8a5d55d12020-11-25T02:03:43ZindLPPM Institut Teknologi Telkom PurwokertoJurnal Infotel2085-36882460-09972012-11-0142101710.20895/infotel.v4i2.103103Analisis Algoritma Insertion Sort, Merge Sort Dan Implementasinya Dalam Bahasa Pemrograman C++Arief Hendra Saptadi0Desi Windi Sari1Prodi D3 Teknik Telekomunikasi AKATEL Sandhy Putra PurwokertoProdi D3 Teknik Telekomunikasi AKATEL Sandhy Putra PurwokertoThis paper presents the study of implementation and performance in sorting process, using two different algorithms, namely Insertion Sort and Merge Sort. In the first stage, the two algorithms were implemented in C++ language to sort several numbers typed by a user. In the second stage, the source codes for those algorithms were modified to enable sorting randomly generated numbers with the amount as requested by the user. To find out how well they performed in sorting out the data, therefore in the last stage the two algorithms were tested to sort random numbers with predetermined amount ranges and the results were compared. From the experiments performed, merge sort algorithm had shown a better performance, particularly in a large number of data (> 10000). Insertion sort algorithm has the advantage in lower complexity algorithm, notably in the best case condition and since it does not use recursion routines in sorting process, hence it does not require as much storage space or memory as needed by merge sort algorithm.http://ejournal.st3telkom.ac.id/index.php/infotel/article/view/103
collection DOAJ
language Indonesian
format Article
sources DOAJ
author Arief Hendra Saptadi
Desi Windi Sari
spellingShingle Arief Hendra Saptadi
Desi Windi Sari
Analisis Algoritma Insertion Sort, Merge Sort Dan Implementasinya Dalam Bahasa Pemrograman C++
Jurnal Infotel
author_facet Arief Hendra Saptadi
Desi Windi Sari
author_sort Arief Hendra Saptadi
title Analisis Algoritma Insertion Sort, Merge Sort Dan Implementasinya Dalam Bahasa Pemrograman C++
title_short Analisis Algoritma Insertion Sort, Merge Sort Dan Implementasinya Dalam Bahasa Pemrograman C++
title_full Analisis Algoritma Insertion Sort, Merge Sort Dan Implementasinya Dalam Bahasa Pemrograman C++
title_fullStr Analisis Algoritma Insertion Sort, Merge Sort Dan Implementasinya Dalam Bahasa Pemrograman C++
title_full_unstemmed Analisis Algoritma Insertion Sort, Merge Sort Dan Implementasinya Dalam Bahasa Pemrograman C++
title_sort analisis algoritma insertion sort, merge sort dan implementasinya dalam bahasa pemrograman c++
publisher LPPM Institut Teknologi Telkom Purwokerto
series Jurnal Infotel
issn 2085-3688
2460-0997
publishDate 2012-11-01
description This paper presents the study of implementation and performance in sorting process, using two different algorithms, namely Insertion Sort and Merge Sort. In the first stage, the two algorithms were implemented in C++ language to sort several numbers typed by a user. In the second stage, the source codes for those algorithms were modified to enable sorting randomly generated numbers with the amount as requested by the user. To find out how well they performed in sorting out the data, therefore in the last stage the two algorithms were tested to sort random numbers with predetermined amount ranges and the results were compared. From the experiments performed, merge sort algorithm had shown a better performance, particularly in a large number of data (> 10000). Insertion sort algorithm has the advantage in lower complexity algorithm, notably in the best case condition and since it does not use recursion routines in sorting process, hence it does not require as much storage space or memory as needed by merge sort algorithm.
url http://ejournal.st3telkom.ac.id/index.php/infotel/article/view/103
work_keys_str_mv AT ariefhendrasaptadi analisisalgoritmainsertionsortmergesortdanimplementasinyadalambahasapemrogramanc
AT desiwindisari analisisalgoritmainsertionsortmergesortdanimplementasinyadalambahasapemrogramanc
_version_ 1724946199502389248