HUMAN–GENAI INTERACTION MODES IN PROGRAMMING EDUCATION
PDF
Додаток / Appendix

Keywords

Generative AI
human–AI interaction
programming education
object-oriented programming
AI tutor
learning outcomes

How to Cite

[1]
Y. Kleban, “HUMAN–GENAI INTERACTION MODES IN PROGRAMMING EDUCATION”, ITLT, vol. 115, no. 5, pp. 138–155, Oct. 2026, doi: 10.33407/itlt.v115i5.6771.

Abstract

Generative AI (GenAI) tools are becoming part of everyday learning in higher education, especially in programming courses where students can ask for explanations, debugging help, or complete code. This creates an important educational question: not only whether students use AI, but how they interact with it. This study compares three Human–GenAI interaction modes in an introductory object-oriented programming course: No AI, AI Tutor, and Direct AI. Thirty students completed three C# programming tasks under a within-subject classroom design with a balanced rotation of task order. The study examined completion time, code quality, measured understanding, perceived difficulty, and students’ subjective evaluations. The Direct AI task–mode combination was associated with the strongest product-oriented outcomes: shorter completion time (Mdn = 10 min), higher code scores (M = 9.20/10), and the highest completion rate (96.7%). AI Tutor and No AI showed longer completion times and lower code scores. However, measured understanding varied little across modes (M = 3.57–3.70/4), with all medians at the maximum score, indicating a ceiling effect. The raw-score product–understanding gap was largest under Direct AI (M = 5.50), reflecting a stronger increase in code scores than in measured understanding. Student perceptions added a different perspective: 70.0% selected AI Tutor as the most effective mode for learning, while 90.0% selected Direct AI as the fastest. The findings suggest that unrestricted AI support can optimise task completion and product quality, but these gains should not be read as equivalent to learning gains. Guided AI Tutor interaction may be educationally valuable because it is designed to preserve more of the student’s reasoning process. Because each mode was paired with a specific task, the results should be interpreted as task–mode combination differences rather than isolated causal effects of interaction mode. The study contributes empirical evidence for designing GenAI-supported programming activities and assessment practices that distinguish product-oriented performance from learning-oriented outcomes.

PDF
Додаток / Appendix

References

[1] A. K. Kofinas, C. H.-H. Tsay, and D. Pike, “The impact of generative AI on academic integrity of authentic assessments within a higher education context,” Br. J. Educ. Technol., vol. 56, no. 6, pp. 2522–2549, 2025, doi: 10.1111/bjet.13585. (in English)

[2] E. Kasneci et al., “ChatGPT for good? On opportunities and challenges of large language models for education,” Learn. Individ. Differ., vol. 103, 2023, Art. no. 102274, doi: 10.1016/j.lindif.2023.102274. (in English)

[3] M. B. Garcia, “Teaching and learning computer programming using ChatGPT: A rapid review of literature amid the rise of generative AI technologies,” Educ. Inf. Technol, vol. 30, pp. 16721–16745, 2025, doi: 10.1007/s10639-025-13452-5. (in English)

[4] H. Bastani, O. Bastani, A. Sungu, H. Ge, Ö. Kabakcı, and R. Mariman, “Generative AI without guardrails can harm learning: Evidence from high school mathematics,” Proc. Natl. Acad. Sci. U.S.A., vol. 122, no. 26, 2025, Art. no. e2422633122, doi: 10.1073/pnas.2422633122. (in English)

[5] G. Kestin, K. Miller, A. Klales, T. Milbourne, and G. Ponti, “AI tutoring outperforms in-class active learning: An RCT introducing a novel research-based design in an authentic educational setting,” Sci. Rep., vol. 15, no. 1, 2025, Art. no. 17458, doi: 10.1038/s41598-025-97652-6. (in English)

[6] UNESCO, “Recommendation on the ethics of artificial intelligence,” UNESCO, Paris, France, 2021. Accessed: Sep. 26, 2026. [Online]. Available: https://unesdoc.unesco.org/ark:/48223/pf0000381137 (in English)

[7] F. Miao and W. Holmes, “Guidance for generative AI in education and research,” UNESCO, Paris, France, 2023, doi: 10.54675/EWZM9535. (in English)

[8] F. Miao, K. Shiohira, and N. Lao, “AI competency framework for students,” UNESCO, Paris, France, 2024, doi: 10.54675/JKJB9835. (in English)

[9] F. Miao and M. Cukurova, “AI competency framework for teachers,” UNESCO, Paris, France, 2024, doi: 10.54675/ZJTE2084. (in English)

[10] European Commission, Directorate-General for Education, Youth, Sport and Culture, “Ethical guidelines on the use of artificial intelligence (AI) and data in teaching and learning for educators,” Publ. Office EU, Luxembourg, 2022, doi: 10.2766/153756. (in English)

[11] “Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act),” Off. J. Eur. Union, L series, Jul. 12, 2024. Accessed: Sep. 26, 2026. [Online]. Available: http://data.europa.eu/eli/reg/2024/1689/oj (in English)

[12] C. K. Y. Chan and W. Hu, “Students’ voices on generative AI: Perceptions, benefits, and challenges in higher education,” Int. J. Educ. Technol. Higher Educ., vol. 20, no. 1, 2023, Art. no. 43, doi: 10.1186/s41239-023-00411-8. (in English)

[13] N. J. Francis, S. Jones, and D. P. Smith, “Generative AI in higher education: Balancing innovation and integrity,” Br. J. Biomed. Sci., vol. 81, 2025, Art. no. 14048, doi: 10.3389/bjbs.2024.14048. (in English)

[14] D. Y. T. Liu and S. Bates, “Generative AI in higher education: Current practices and ways forward,” Assoc. Pacific Rim Univ. (APRU), Jan. 2025. Accessed: Jul. 11, 2026. [Online]. Available: https://www.apru.org/our-work/university-leadership/generative-ai-in-education/ (in English).

[15] Y. Xue, H. Chen, G. R. Bai, R. Tairas, and Y. Huang, “Does ChatGPT help with introductory programming? An experiment of students using ChatGPT in CS1,” in Proc. 46th Int. Conf. Softw. Eng.: Softw. Eng. Educ. Training, 2024, pp. 331–341, doi: 10.1145/3639474.3640076. (in English)

[16] D. Sun, A. Boudouaia, C. Zhu, and Y. Li, “Would ChatGPT-facilitated programming mode impact college students’ programming behaviors, performances, and perceptions? An empirical study,” Int. J. Educ. Technol. Higher Educ., vol. 21, 2024, Art. no. 14, doi: 10.1186/s41239-024-00446-5. (in English)

[17] S. Andleeb, B. Kantorski, and J. Carver, “ChatGPT in introductory programming: Counterbalanced evaluation of code quality, conceptual learning, and student perceptions,” in Proc. 26th ACM Annu. Conf. Cybersecurity Inf. Technol. Educ. (SIGCITE ’25), 2025, pp. 180–186, doi: 10.1145/3769694.3771128. (in English)

[18] J. Prather et al., “‘It’s weird that it knows what I want’: Usability and interactions with Copilot for novice programmers,” ACM Trans. Comput.-Hum. Interact., vol. 31, no. 1, 2023, Art. no. 4, doi: 10.1145/3617367. (in English)

[19] M. Kazemitabaar, J. Chow, C. K. T. Ma, B. J. Ericson, D. Weintrop, and T. Grossman, “Studying the effect of AI code generators on supporting novice learners in introductory programming,” in Proc. 2023 CHI Conf. Human Factors Comput. Syst., 2023, Art. no. 455, doi: 10.1145/3544548.3580919. (in English)

[20] K. DePalma, I. Miminoshvili, C. Henselder, K. Moss, and E. A. AlOmar, “Exploring ChatGPT’s code refactoring capabilities: An empirical study,” Expert Syst. Appl., vol. 249, 2024, Art. no. 123602, doi: 10.1016/j.eswa.2024.123602. (in English)

[21] M. T. H. Chi and R. Wylie, “The ICAP framework: Linking cognitive engagement to active learning outcomes,” Educ. Psychol., vol. 49, no. 4, pp. 219–243, 2014, doi: 10.1080/00461520.2014.965823. (in English)

[22] K. Weatherholtz et al., “Cognitive engagement in GenAI tutor conversations: At-scale measurement and impact on learning,” in Proc. Artif. Intell. Meas. Educ. Conf. (AIME-Con): Works in Progress, 2025, pp. 40–48. [Online]. Available: https://aclanthology.org/2025.aimecon-wip.6/ (in English)

[23] N. C. Soderstrom and R. A. Bjork, “Learning versus performance: An integrative review,” Perspect. Psychol. Sci., vol. 10, no. 2, pp. 176–199, 2015, doi: 10.1177/1745691615569000. (in English)

[24] F. Paas, A. Renkl, and J. Sweller, “Cognitive load theory and instructional design: Recent developments,” Educ. Psychol., vol. 38, no. 1, pp. 1–4, 2003, doi: 10.1207/S15326985EP3801_1. (in English)

[25] V. Braun and V. Clarke, “Using thematic analysis in psychology,” Qual. Res. Psychol., vol. 3, no. 2, pp. 77–101, 2006, doi: 10.1191/1478088706qp063oa. (in English)

[26] J. Richardson, “Friedman test,” in The SAGE Encyclopedia of Educational Research, Measurement, and Evaluation, vol. 4, B. B. Frey, Ed. Thousand Oaks, CA, USA: SAGE, 2018, pp. 709–712, doi: 10.4135/9781506326139.n277. (in English)

[27] S. Holm, “A simple sequentially rejective multiple test procedure,” Scand. J. Statist., vol. 6, no. 2, pp. 65–70, 1979. [Online]. Available: https://www.jstor.org/stable/4615733 (in English)

[28] M. G. Kendall and B. Babington Smith, “The problem of m rankings,” Ann. Math. Statist., vol. 10, no. 3, pp. 275–287, 1939, doi: 10.1214/aoms/1177732186. (in English)

[29] D. S. Kerby, “The simple difference formula: An approach to teaching nonparametric correlation,” Compr. Psychol., vol. 3, 2014, Art. no. 11, doi: 10.2466/11.IT.3.1. (in English)

[30] B. A. Becker, P. Denny, J. Finnie-Ansley, A. Luxton-Reilly, J. Prather, and E. A. Santos, “Programming is hard – or at least it used to be: Educational opportunities and challenges of AI code generation,” in Proc. 54th ACM Tech. Symp. Comput. Sci. Educ. V. 1, 2023, pp. 500–506, doi: 10.1145/3545945.3569759. (in English)

[31] S. Lau and P. Guo, “From ‘ban it till we understand it’ to ‘resistance is futile’: How university programming instructors plan to adapt as more students use AI code generation and explanation tools such as ChatGPT and GitHub Copilot,” in Proc. 2023 ACM Conf. Int. Comput. Educ. Res., vol. 1, 2023, pp. 106–121, doi: 10.1145/3568813.3600138. (in English)

[32] Y. Kleban, “Survey data from a classroom experiment on Generative AI interaction modes in object-oriented programming education,” Zenodo, 2026, doi: 10.5281/zenodo.20364465. (in English)

[33] Y. Kleban, “Reproducibility package for a classroom study on Human–Generative AI interaction in programming education,” Zenodo, 2026, doi: 10.5281/zenodo.20367558. (in English)

[34] J. Cohen, “A power primer,” Psychol. Bull., vol. 112, no. 1, pp. 155–159, 1992, doi: 10.1037/0033-2909.112.1.155. (in English)

Creative Commons License

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

Copyright (c) 2026 Yurii Kleban

Downloads

Download data is not yet available.