Performance Analysis of Linear Congruential Random Generator Algorithms Using Python and Java Languages

Durrani, Omar Khan and Ali, Mohammed Saif and Makandar, Davalmalik sayadali and ., Hemalatha T P and Bano, Gulfishar and Begum, Dilshad (2025) Performance Analysis of Linear Congruential Random Generator Algorithms Using Python and Java Languages. Journal of Advances in Mathematics and Computer Science, 40 (2). pp. 40-52. ISSN 2456-9968

Full text not available from this repository.

Abstract

Giving Consideration to the era of Generic AI and Internet of things where high band width, connectivity, servers, storage and decisions play a important role. Hence speed and security is a obvious need. As pseudo-random number generation (PRNG)is also a basic need when security, probability, heuristics and many other issues are of concern. For this purpose and by considering the recent research outcomes with respect to programming languages like java and Python. We selected Linear congruential Generator (LCG) algorithm which is one of the popular PRNG. In this study, we analyze the performance of Linear Congruential Generator (LCG) pseudo-random number generators (PRNGs) implemented in Python and Java using three seeding techniques: manual, system time, and hash/object based. Our results show that system-time seeding offers the best trade-off between speed and randomness, with Java outperforming Python in execution times. The results noticed have proved the strengths and weaknesses of Java and Python. These findings provide practical guidance for developers in selecting appropriate PRNG implementations for applications in IoT, AI, and statistical modeling.

Item Type: Article
Subjects: STM Academic > Computer Science
Depositing User: Unnamed user with email support@stmacademic.com
Date Deposited: 28 Feb 2025 04:26
Last Modified: 28 Feb 2025 04:26
URI: http://article.researchpromo.com/id/eprint/2869

Actions (login required)

View Item
View Item