Implementation of Python Source Code Comparison Results with Java Using Bubble Sort Method Entik Insanudin
a) School of Applied Science, Telkom University
Jl. Telekomunikasi No. 1 Terusan Buah Batu,
Bandung 40257, Indonesia
*insanudin[at]telkomuniversity.ac.id
Abstract
Abstract- In the implementation of Python and Java source code comparison results are more focused on the scale of the ratio of the number of lines of code, file capacity, and access speed. As for the background of this writing because there are so many programming languages that can be used with the same results but overall we do not know which programming language is more optimal and efficient in terms of the number of lines of code better known in the programming language is LOC (Line of Code) capacity of file access speed.
In this study, the authors focus only on Java programming language and python course as a first step to know the ratio of the number of lines of code, file capacity, and access density. To determine the comparison there is a method used is bubble short. For the results of the implementation is shown in the form of comparison table in accordance with the results of testing programming by making the same application that is the application of calculator both programming language Java and Python programming language.
The results of the implementation of the comparison of these programming languages for Python programming language to produce the number of LOC (line of code) or the number of lines of code as much as 10, the capacity of the file extension .py by 506 bytes and txt extension of 397 bytes and access speed approximately for less more 4 seconds. While Java produces the number of LOC (line of code) or the number of lines of code as much as 11, the capacity of the file extension. Java of 86.2 Kbytes and extension txt of 477 bytes and access speed for 7 seconds. So do not close the possibility to make other applications python programming language will be more optimal and efficient.
Keywords: Java, Python, Loc, Bubble Sort
Topic: Computer Science Education
|