Comparative Analysis of ND II Computer Science Students’ Programming Performance Across Python, Java, and C++ Programming Languages
Author
Mustapha Ibrahim
Abstract
Programming competence is a fundamental requirement in Computer Science education; however, students often demonstrate varying levels of achievement when learning and applying different programming languages. This study investigated the comparative performance of ND II Computer Science students across three commonly used programming languages: Python, Java, and C++. The study was conducted at the Department of Computer Science, Federal Polytechnic, Damaturu, Yobe State, Nigeria. A quantitative comparative research design was adopted, involving 350 ND II Computer Science students selected through a purposive sampling technique. Data were collected using a programming performance assessment and a structured questionnaire. Students’ performance was evaluated based on programming accuracy, task completion time, error frequency, code efficiency, and overall achievement scores. Data were analysed using descriptive statistics, Analysis of Variance (ANOVA), Tukey post hoc analysis, Pearson correlation, and multiple regression analysis. The findings revealed significant differences in students’ programming performance across the selected programming languages. Students recorded the highest mean performance score in Python (M = 78.45), followed by Java (M = 72.31) and C++ (M = 69.76). The ANOVA results showed a statistically significant difference in students’ performance across Python, Java, and C++ (p < 0.05). Further analysis revealed a significant positive relationship between students’ prior programming experience and their programming performance. Regression analysis indicated that programming experience, language familiarity, and frequency of practice significantly contributed to predicting students’ programming achievement. The study concludes that programming language characteristics and learner-related factors influence students’ programming performance. The findings provide useful insights for Computer Science educators and curriculum developers in selecting appropriate programming languages and designing effective programming instruction strategies within polytechnic education settings.
Keywords
Programming languages, Computer Science education, student performance, Python, Java, C++, programming assessment, comparative analysis.
Full Text:
Download Paper PDF
References
- Haduong, P., Brennan, K., Sonnert, G., & Sadler, P. (2018). The effects of first programming language on college students’ computing attitude and achievement: A comparison of graphical and textual languages. Computer Science Education, 29(1), 23–48. https://doi.org/10.1080/08993408.2018.1547564
- Hott, J. (2026). Providing choice of programming language: Student outcomes in an algorithms course. Proceedings of the 57th ACM Technical Symposium on Computer Science Education (SIGCSE TS 2026). https://consensus.app/papers/providing-choice-of-programming-language-student-hott/d7a1d9c6e4745fa4ace4ffb0405f5743/?utm_source=chatgpt
- Koulouri, T., Lauria, S., & Macredie, R. D. (2015). Teaching introductory programming: A quantitative evaluation of different approaches. ACM Transactions on Computing Education, 14(4), Article 26, 1–28. https://doi.org/10.1145/2662412
- Ling, H., Hsiao, K. L., & Hsu, W. C. (2021). Can students’ computer programming learning motivation and effectiveness be enhanced by learning Python language? A multi-group analysis. Frontiers in Psychology, 11, 600814. https://doi.org/10.3389/fpsyg.2020.600814
- Mansoor, N., Peterson, C. S., Dodd, M. D., & Sharif, B. (2023). Assessing the effect of programming language and task type on eye movements of computer science students. ACM Transactions on Computing Education, 24(1), 1–38. https://doi.org/10.1145/3632530
- Orr, J. (2022). Automatic assessment of the design quality of student Python and Java programs. Journal of Computing Sciences in Colleges, 38(1), 27–36. https://consensus.app/papers/automatic-assessment-of-the-design-quality-of-student-orr/2a87108422ab5fd5afa5943245f5a017/?utm_source=chatgpt
- Rabelo, A., Maia, L., & Parreiras, F. S. (2018). Performance analysis of computer science students in programming learning. Anais do Workshop sobre Educação em Computação (WEI). https://doi.org/10.5753/wei.2018.3499
- Zehra, F., Javed, M., Khan, D., & Pasha, M. (2020). Comparative analysis of C++ and Python in terms of memory and time. International Journal of Computer Science and Information Technologies. https://consensus.app/papers/comparative-analysis-of-c-and-python-in-terms-of-memory-and-zehra-javed/22bfd5f5f9f3b356ca667abb0102/?utm_source=chatgpt
- Bukie, P. T., Udeze, C., Obono, I., & Edim, E. (2019). Comparative analysis of compiler performances and program efficiency. Preprints. https://consensus.app/papers/comparative-analysis-of-compiler-performances-and-bukie-udeze/f5792e9b6fa45195b90095e1c01a38ae/?utm_source=chatgpt
- Alaria, S. K., Kaloriya, S., Jain, S., & Tomar, A. (2023). Comparative study of Java and Python: A review. Industrial Engineering Journal, 52(4), 2698–2708. https://consensus.app/papers/comparative-study-of-java-and-python-a-review-alaria-kaloriya/87b8071b551559ab86170c490be253bc/?utm_source=chatgpt
Share your valuable work from Social Media Buttons