IJSEA Volume 15 Issue 2

An Experimental Comparison of Python and Java for Beginner Programming Tasks

Zeeshan Ahmed, Shivangini Bihari
10.7753/IJSEA1502.1003
keywords : Python, Java, Beginner Programming, Programming Education

PDF
Learning to program poses important challenges for beginners, and the option of a preliminary programming language can powerfully control learning outcomes. Python and Java are broadly used in first-year computer science courses, yet they vary in syntax, arrangement, and academic approach. This study present an experimental assessment of Python and Java by beginner-level programming tasks usually taught at the undergraduate stage. Identical basic problems, counting arithmetic operations, conditional statement, loops, methods, and basic array processing, were implemented in both languages. The evaluation focus on learning-oriented metrics like lines of code, readability, programming effort, and the frequency of beginner-level errors, while excluding performance-related factors. The results specify that Python enable more concise and readable code, reducing initial learning complexity, whereas Java promotes structured and disciplined programming practice despite greater code wordiness. These findings offer realistic guidance for educators and curriculum designers in selecting suitable programming languages for preliminary programming courses.
@artical{z1522026ijsea15021003,
Title = "An Experimental Comparison of Python and Java for Beginner Programming Tasks",
Journal ="International Journal of Science and Engineering Applications (IJSEA)",
Volume = "15",
Issue ="2",
Pages ="27 - 31",
Year = "2026",
Authors ="Zeeshan Ahmed, Shivangini Bihari"}