Claim Missing Document
Check
Articles

Found 2 Documents
Search
Journal : TAMIKA: Jurnal Tugas Akhir Manajemen Informatika

Analisis Perbandingan Bahasa Pemrograman Untuk Menentukan Keprimaan Bilangan Menggunakan Teorema Fermat Ofelius Laia
TAMIKA: Jurnal Tugas Akhir Manajemen Informatika & Komputerisasi Akuntansi Vol 4 No 2(SEMNASTIK) (2024): TAMIKA: Jurnal Tugas Akhir Manajemen Informatika & Komputerisasi Akunt
Publisher : Universitas Methodist Indonesia

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.46880/tamika.Vol4No2(SEMNASTIK).pp64-67

Abstract

This study aims to compare the performance of several programming languages, namely PHP, Java, and Python, in determining the primality of numbers using Fermat's Theorem. The selection of programming languages is based on their popularity and efficiency in cryptographic algorithm implementation. The method used is a comparative experiment, with measurement parameters including execution time, memory consumption, and result accuracy. The results show that Java excels in execution efficiency with the fastest time, while PHP demonstrates the lowest memory consumption. Although Python is slower, all three programming languages produced accurate results in primality testing. This research concludes that Java is the best choice for applications requiring high speed, while PHP is more suitable for resource-limited applications. Future research is recommended to test more programming languages and use a larger number dataset.
Analisis Perbandingan Bahasa Pemrograman Untuk Menentukan Keprimaan Bilangan Menggunakan Teorema Fermat Ofelius Laia
TAMIKA: Jurnal Tugas Akhir Manajemen Informatika & Komputerisasi Akuntansi Vol 4 No 2(SEMNASTIK) (2024): TAMIKA: Jurnal Tugas Akhir Manajemen Informatika & Komputerisasi Akunt
Publisher : Universitas Methodist Indonesia

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.46880/tamika.Vol4No2(SEMNASTIK).pp64-67

Abstract

This study aims to compare the performance of several programming languages, namely PHP, Java, and Python, in determining the primality of numbers using Fermat's Theorem. The selection of programming languages is based on their popularity and efficiency in cryptographic algorithm implementation. The method used is a comparative experiment, with measurement parameters including execution time, memory consumption, and result accuracy. The results show that Java excels in execution efficiency with the fastest time, while PHP demonstrates the lowest memory consumption. Although Python is slower, all three programming languages produced accurate results in primality testing. This research concludes that Java is the best choice for applications requiring high speed, while PHP is more suitable for resource-limited applications. Future research is recommended to test more programming languages and use a larger number dataset.