Analisis Perbandingan Bahasa Pemrograman Untuk Menentukan Keprimaan Bilangan Menggunakan Teorema Fermat

  • Laia O
N/ACitations
Citations of this article
7Readers
Mendeley users who have this article in their library.

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.

Cite

CITATION STYLE

APA

Laia, O. (2024). Analisis Perbandingan Bahasa Pemrograman Untuk Menentukan Keprimaan Bilangan Menggunakan Teorema Fermat. TAMIKA: Jurnal Tugas Akhir Manajemen Informatika & Komputerisasi Akuntansi, 4(2(SEMNASTIK)), 64–67. https://doi.org/10.46880/tamika.vol4no2(semnastik).pp64-67

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free