Simulation and Implementation of Insertion Sort Algorithm to Sort Positive Integers Using C++ Programming Language

Sorting is the process of systematically arranging data, initially in an unordered state. That is according to specific rules or criteria (such as numerical or alphabetical order). This process is essential in many fields and applications, including computer science, statistics, and data management, as it facilitates the searching, analysis, and further processing of information. Insertion algorithm is a good algorithm and used in many applications. In this implementation and simulation six figures of positive integers to be sorted are used, namely 30, 2, 5, 7, 11, 1. Each with five processes. After implementation in ascending order there were nine swaps, and in descending order there were only six swaps. The implementation is performed with C++ Programming Language. Two pseudo codes are given, one for ascending and one for descending. The results were a successful implementation and simulation of C++. Screenshot are given to prove that the programs are running smoothly

Authors

Institutions

Publication Details

Journal
International Journal of Information Technology and Computer Science Applications
Published
2026-10-26
DOI
https://doi.org/10.58776/ijitcsa.v4i3.278
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Simulation and Implementation of Insertion Sort Algorithm to Sort Positive Integers Using C++ Programming Language

Tri Dharma Putra, Rakhmat Purnomo
International Journal of Information Technology and Computer Science Applications
Teaching and Learning Programming
article

Simulation and Implementation of Insertion Sort Algorithm to Sort Positive Integers Using C++ Programming Language

Tri Dharma Putra, Rakhmat Purnomo
article en

Abstract

Sorting is the process of systematically arranging data, initially in an unordered state. That is according to specific rules or criteria (such as numerical or alphabetical order). This process is essential in many fields and applications, including computer science, statistics, and data management, as it facilitates the searching, analysis, and further processing of information. Insertion algorithm is a good algorithm and used in many applications. In this implementation and simulation six figures of positive integers to be sorted are used, namely 30, 2, 5, 7, 11, 1. Each with five processes. After implementation in ascending order there were nine swaps, and in descending order there were only six swaps. The implementation is performed with C++ Programming Language. Two pseudo codes are given, one for ascending and one for descending. The results were a successful implementation and simulation of C++. Screenshot are given to prove that the programs are running smoothly

International Journal of Information Technology and Computer Science ApplicationsVol. 4(3)
Universitas Bhayangkara Jakarta Raya (ID)
Openalex Percentile: Top 7%
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon