Self-Reported AI Use and Quiz Performance in an Introductory Programming Course: An Observational Study (Invited paper)
Main Article Content
Abstract
Large language models (LLMs) are now widely available to students, but it is still unclear how their use during coursework relates to later quiz performance. This study examines AI use in a bachelor-level Python course, where learners completed programming exercises and follow-up quizzes. To examine how students’ self-reported AI use relates to perceived difficulty, confidence, perceived helpfulness, and quiz performance. We conducted a quantitative observational study with supplementary qualitative analysis using 170 anonymous exercise-level survey submissions collected after five programming exercises. Students reported their AI use, perceived difficulty, confidence, perceived helpfulness, and how they used AI. Three exercises included follow-up comprehension quizzes, providing 100 scored submissions. AI assistance during these quizzes was not ruled out. AI was used in 64.7% of submissions. In the scored subset, reported exercise AI use was associated with a 21.0-point lower mean than reported no-AI use on the observed-range 0–100 score, which is not percent correct. Exploratory subgroup differences varied by difficulty and confidence, with some small comparison cells. Higher AI-use intensity was associated with lower scores, while perceived helpfulness had a near-zero association with quiz performance. Open-ended responses suggested that higher-scoring AI-use submissions more often described debugging or checking their own code, while lower-scoring submissions more often described code generation. Student ratings of AI helpfulness should be interpreted cautiously, since they did not track quiz performance. For introductory programming courses, follow-up checks of independent understanding may be important when students use AI during exercises.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
Bastani, H., Bastani, O., Sungu, A., Ge, H., Kabakcı, Ö., & Mariman, R. (2025). Generative AI without guardrails can harm learning: Evidence from high school mathematics. Proceedings of the National Academy of Sciences, 122(26), Article e2422633122. https://doi.org/10.1073/pnas.2422633122
Bjork, R. A., & Bjork, E. L. (2020). Desirable difficulties in theory and practice. Journal of Applied Research in Memory and Cognition, 9(4), 475–479. https://doi.org/10.1016/j.jarmac.2020.09.003
Darvishi, A., Khosravi, H., Sadiq, S., Gašević, D., & Siemens, G. (2024). Impact of AI assistance on student agency. Computers & Education, 210, Article 104967. https://doi.org/10.1016/j.compedu.2023.104967
Deng, R., Jiang, M., Yu, X., Lu, Y., & Liu, S. (2025). Does ChatGPT enhance student learning? A systematic review and meta-analysis of experimental studies. Computers & Education, 227, Article 105224. https://doi.org/10.1016/j.compedu.2024.105224
Denny, P., Kumar, V., & Giacaman, N. (2023). Conversing with Copilot: Exploring prompt engineering for solving CS1 problems using natural language. In SIGCSE 2023: Proceedings of the 54th ACM Technical Symposium on Computer Science Education (Vol. 1, pp. 1136–1142). Association for Computing Machinery. https://doi.org/10.1145/3545945.3569823
Finnie-Ansley, J., Denny, P., Becker, B. A., Luxton-Reilly, A., & Prather, J. (2022). The robots are coming: Exploring the implications of OpenAI Codex on introductory programming. In ACE 2022: Proceedings of the 24th Australasian Computing Education Conference (pp. 10–19). Association for Computing Machinery. https://doi.org/10.1145/3511861.3511863
Gerlich, M. (2025). AI tools in society: Impacts on cognitive offloading and the future of critical thinking. Societies, 15(1), Article 6. https://doi.org/10.3390/soc15010006
Jošt, G., Taneski, V., & Karakatič, S. (2024). The impact of large language models on programming education and student learning outcomes. Applied Sciences, 14(10), Article 4115. https://doi.org/10.3390/app14104115
Kasneci, E., Seßler, K., Küchemann, S., Bannert, M., Dementieva, D., Fischer, F., Gasser, U., Groh, G., Günnemann, S., Hüllermeier, E., Krusche, S., Kutyniok, G., Michaeli, T., Nerdel, C., Pfeffer, J., Poquet, O., Sailer, M., Schmidt, A., Seidel, T., ... Kasneci, G. (2023). ChatGPT for good? On opportunities and challenges of large language models for education. Learning and Individual Differences, 103, Article 102274.
https://doi.org/10.1016/j.lindif.2023.102274
Kazemitabaar, M., Ye, R., Wang, X., Henley, A. Z., Denny, P., Craig, M., & Grossman, T. (2024). CodeAid: Evaluating a classroom deployment of an LLM-based programming assistant that balances student and educator needs. In Proceedings of the 2024 CHI Conference on Human Factors in Computing Systems (Article 650, pp. 1–20). Association for Computing Machinery. https://doi.org/10.1145/3613904.3642773
Kestin, G., Miller, K., Klales, A., Milbourne, T., & Ponti, G. (2025). AI tutoring outperforms in-class active learning: An RCT introducing a novel research-based design in an authentic educational setting. Scientific Reports, 15, Article 17458. https://doi.org/10.1038/s41598-025-97652-6
Koedinger, K. R., & Aleven, V. (2007). Exploring the assistance dilemma in experiments with cognitive tutors.
Educational Psychology Review, 19(3), 239–264. https://doi.org/10.1007/s10648-007-9049-0
Lee, H.-P., Sarkar, A., Tankelevitch, L., Drosos, I., Rintel, S., Banks, R., & Wilson, N. (2025). The impact of generative AI on critical thinking: Self-reported reductions in cognitive effort and confidence effects from a survey of knowledge workers. In Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems (Article 1121, pp. 1–22). Association for Computing Machinery. https://doi.org/10.1145/
3706598.3713778
Létourneau, A., Deslandes Martineau, M., Charland, P., Karran, J. A., Boasen, J., & Léger, P. M. (2025). A systematic review of AI-driven intelligent tutoring systems (ITS) in K-12 education. npj Science of Learning, 10, Article 29. https://doi.org/10.1038/s41539-025-00320-7
Liffiton, M., Sheese, B., Savelka, J., & Denny, P. (2023). CodeHelp: Using large language models with guardrails for scalable support in programming classes. In Proceedings of the 23rd Koli Calling International Conference on Computing Education Research (pp. 1–11). Association for Computing Machinery. https://doi.org/10.1145/3631802.3631830
Prather, J., Reeves, B. N., Leinonen, J., MacNeil, S., Randrianasolo, A. S., Becker, B. A., Kimmel, B., Wright, J., & Briggs, B. (2024). The widening gap: The benefits and harms of generative AI for novice programmers. In Proceedings of the 2024 ACM Conference on International Computing Education Research (Vol. 1, pp. 469–486). Association for Computing Machinery. https://doi.org/10.1145/3632620.3671116
Ramalingam, V., LaBelle, D., & Wiedenbeck, S. (2004). Self-efficacy and mental models in learning to program. ACM SIGCSE Bulletin, 36(3), 171–175. https://doi.org/10.1145/1026487.1008042
Ren, L., Stephens, J. M., & Lee, K. (2026). The impact of AI on learners’ self-efficacy: A meta-analysis. Behavioral Sciences, 16(1), Article 158. https://doi.org/10.3390/bs16010158
Risko, E. F., & Gilbert, S. J. (2016). Cognitive offloading. Trends in Cognitive Sciences, 20(9), 676–688. https://doi.org/10.1016/j.tics.2016.07.002
Shen, J. H., & Tamkin, A. (2026). How AI impacts skill formation [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2601.20245
Stadler, M., Bannert, M., & Sailer, M. (2024). Cognitive ease at a cost: LLMs reduce mental effort but compromise depth in student scientific inquiry. Computers in Human Behavior, 160, Article 108386. https://doi.org/10.1016/j.chb.2024.108386
Sun, D., Boudouaia, A., Zhu, C., & Li, Y. (2024). Would ChatGPT-facilitated programming mode impact college students’ programming behaviors, performances, and perceptions? An empirical study. International Journal of Educational Technology in Higher Education, 21, Article 14. https://doi.org/10.1186/s41239-024-00446-5
Tetzlaff, L., Simonsmeier, B., Peters, T., & Brod, G. (2025). A cornerstone of adaptivity – A meta-analysis of the expertise reversal effect. Learning and Instruction, 98, Article 102142. https://doi.org/10.1016/j.learninstruc.2025.102142
Wang, Z., Zou, D., Zhang, R., Lee, L.-K., Xie, H., & Wang, F. L. (2026). ChatGPT-enhanced self-regulated learning in programming education: Impacts on motivation, self-efficacy, and learning outcomes. Interactive Learning Environments, 34(5), 3041–3066. https://doi.org/10.1080/10494820.2025.2559919
Wu, R., & Yu, Z. (2024). Do AI chatbots improve students learning outcomes? Evidence from a meta-analysis. British Journal of Educational Technology, 55(1), 10–33. https://doi.org/10.1111/bjet.13334
Yang, T.-C., Hsu, Y.-C., & Wu, J.-Y. (2025). The effectiveness of ChatGPT in assisting high school students in programming learning: Evidence from a quasi-experimental research. Interactive Learning Environments, 33(6), 3726–3743. https://doi.org/10.1080/10494820.2025.2450659
Zhang, L., & Xu, J. (2025). The paradox of self-efficacy and technological dependence: Unraveling generative AI’s impact on university students’ task completion. The Internet and Higher Education, 65, Article 100978. https://doi.org/10.1016/j.iheduc.2024.100978