Generative AI Based Learning In Computer Scince For Beginners
Keywords:
Generative AI, Computer Science Education, Novice Programmers, Self-Efficacy, Large Language Models, Computational Thinking, ChatGPT.Abstract
The integration of Generative Artificial Intelligence (GenAI), specifically Large Language Models (LLMs) such as ChatGPT and GitHub Copilot, into Computer Science (CS) education presents a paradigm shift in how introductory programming is taught and learned. While these tools offer unprecedented support for syntax correction and code generation, concerns persist regarding their long-term impact on the cognitive development of beginners. This study investigates the effects of GenAI-assisted learning on novice programmers' performance, self-efficacy, and conceptual understanding. Adopting a mixed-methods approach, sixty first-year CS students were divided into an experimental group (AI-assisted) and a control group (traditional resources) to complete a series of Python programming tasks. Quantitative analysis revealed that while the AI-assisted group demonstrated significantly faster completion times and higher code correctness during the intervention, they scored lower on a subsequent non-assisted conceptual assessment compared to the control group. Qualitative data from post-experiment surveys indicated that while GenAI reduced anxiety related to syntax errors, it inadvertently fostered an "illusion of competence," where students believed they understood logic that they had merely generated.
References
Ben-Ari, M. (2001). Constructivism in computer science education. Journal of Computers in Mathematics and Science Teaching, 20(1), 45-73.
Denny, P., Becker, B. A., Craig, M., Reeves, B. N., & Prather, J. (2023). Converse, code, and correct: Using large language models in computing education. Proceedings of the 2023 ACM Conference on International Computing Education Research, 1–12. https://doi.org/10.1145/3568813.3600138
Deniz, N. A., & Yilmaz, R. (2023). The impact of generative AI on programming students: Frustration and confidence across learning styles. International Association for Computer Information Systems, 371-385.
OpenAI. (2023). ChatGPT (Mar 14 version) [Large language model]. https://chat.openai.com
Prather, J., Denny, P., Leinonen, J., & Becker, B. A. (2023). The widening gap: The benefits and harms of generative AI for novice programmers. ACM Transactions on Computing Education. https://doi.org/10.1145/3616377
Sweller, J. (1988). Cognitive load during problem solving: Effects on learning. Cognitive Science, 12(2), 257–285. https://doi.org/10.1207/s15516709cog1202_4
VanLehn, K. (2011). The relative effectiveness of human tutoring, intelligent tutoring systems, and other tutoring systems. Educational Psychologist, 46(4), 197-221. https://doi.org/10.1080/00461520.2011.611369
Yilmaz, R., & Yilmaz, F. G. K. (2023). The effect of generative AI on the self-efficacy of novice programmers. Journal of Educational Computing Research, 61(5), 1123-1145.
Downloads
Additional Files
Published
Issue
Section
License
Copyright (c) 2026 Both journal and authors

This work is licensed under a Creative Commons Attribution 4.0 International License.



