Effects of ChatGPT-Based Human–Computer Dialogic Interaction Programming Activities on Student Engagement
Abstract
This study seeks to deepen the understanding of the direct and indirect effects of human–computer dialogic interaction programming activities, facilitated by ChatGPT, on student engagement. Data were collected from 109 Chinese high school students who engaged in programming tasks using either ChatGPT-driven dialogic interaction or traditional pair programming. A quasi-experimental analysis revealed that ChatGPT-based programming activities remarkably boost student engagement, outperforming pair programming in behavioral, cognitive, and emotional dimensions. Results demonstrated that such activities help minimize off-task behaviors, promote higher-order cognitive skills, and foster greater interest in programming. Additionally, these interactions enhance students’ self-efficacy and reduce learning anxiety. The findings underscore the potential of ChatGPT-driven dialogic interaction in programming education. This study offers practical recommendations to enhance student engagement in programming learning.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
GenAI functions as a reflective evaluator by continually tracking students' help-seeking behaviors and programming dialogues, automatically calibrating the granularity of its prompts, and generating visual or textual feedback to help students monitor their progress and adjust learning strategies, thus enhancing metacognitive self-regulation.
“Third, GenAI functions as a reflective evaluator. By continually tracking students' help-seeking behaviors and programming dialogues, the system automatically calibrates the granularity of its prompts and generates visual or textual feedback to help students monitor their progress and adjust learning strategies, thus enhancing metacognitive selfregulation [103,141,143,149].”
From A Systematic Review of Generative AI in K–12: Mapping Goals, Activities, Roles, and Outcomes via the 3P Model (2025) · cites this paper as [141]
Cites
ChatGPT for Education and Research: Opportunities, Threats, and Strategies
Rahman, M. M., & Watanobe, Y. (2023) · Applied Sciences · doi:10.3390/app13095783 · Cited by 1,080 · cited 1× · see citing works
“However, the accuracy of ChatGPT in programming tasks is affected by factors such as task complexity, programming languages, problem descriptions, questioning approaches, and program size (Bucaioni et al., 2024; Rahman & Watanobe, 2023; Sun, Boudouaia, Zhu et al., 2024).”
Yilmaz, R., & Karaoglan Yilmaz, F. G. (2023) · Computers and Education: Artificial Intelligence · doi:10.1016/j.caeai.2023.100147 · Cited by 745 · see citing works
The Math and Science Engagement Scales: Scale development, validation, and psychometric properties
Wang, M.-T., Fredricks, J. A., Ye, F., Hofkens, T. L., & Linn, J. S. (2016) · Learning and Instruction · doi:10.1016/j.learninstruc.2016.01.008 · Cited by 592 · see citing works
Smiderle, R., Rigo, S. J., Marques, L. B., Peçanha de Miranda Coelho, J. A., & Jaques, P. A. (2020) · Smart Learning Environments · doi:10.1186/s40561-019-0098-x · Cited by 502 · see citing works
ChatGPT improves creative problem-solving performance in university students: An experimental study
Urban, M., Děchtěrenko, F., Lukavský, J., Hrabalová, V., Svacha, F., Brom, C., & Urban, K. (2024) · Computers & Education · doi:10.1016/j.compedu.2024.105031 · Cited by 396 · see citing works
The Influence of ChatGPT on Student Engagement: A Systematic Review and Future Research Agenda
Lo, C. K., Hew, K. F., & Jong, M. S.-Y. (2024) · Computers & Education · doi:10.1016/j.compedu.2024.105100 · Cited by 392 · see citing works
Wong, Z. Y., & Liem, G. A. D. (2021) · Educational Psychology Review · doi:10.1007/s10648-021-09628-3 · Cited by 383 · see citing works
Facilitating student engagement through the flipped learning approach in K-12: A systematic review
Bond, M. (2020) · Computers & Education · doi:10.1016/j.compedu.2020.103819 · Cited by 380 · see citing works
Yilmaz, R., & Karaoglan Yilmaz, F. G. (2023) · Computers in Human Behavior: Artificial Humans · doi:10.1016/j.chbah.2023.100005 · Cited by 344 · see citing works
Artificial intelligence in teaching and learning: what questions should we ask of ChatGPT?
Rospigliosi, P. ‘. (2023) · Interactive Learning Environments · doi:10.1080/10494820.2023.2180191 · Cited by 335 · see citing works
Tikva, C., & Tambouris, E. (2021) · Computers & Education · doi:10.1016/j.compedu.2020.104083 · Cited by 296 · see citing works
Lee, H.-Y., Chen, P.-H., Wang, W.-S., Huang, Y.-M., & Wu, T.-T. (2024) · International Journal of Educational Technology in Higher Education · doi:10.1186/s41239-024-00447-4 · Cited by 273 · cited 2× · see citing works
“…design) to address potential biases in ChatGPT ’ s responses, ethical concerns related to AI reliance, and to prevent students from mechanically applying ChatGPT-generated solutions, existing studies have shown that ChatGPT with a guiding mechanism may be more effective (Lee, Chen et al., 2024).”
Wu, T., Lee, H., Li, P., Huang, C.-N., & Huang, Y. (2023) · Journal of Educational Computing Research · doi:10.1177/07356331231191125 · Cited by 254 · see citing works
Wei, X., Lin, L., Meng, N., Tan, W., Kong, S.-C., & Kinshuk (2021) · Computers & Education · doi:10.1016/j.compedu.2020.104023 · Cited by 241 · see citing works
The Computational Thinking Scale for Computer Literacy Education
Tsai, M., Liang, J., & Hsu, C.-Y. (2020) · Journal of Educational Computing Research · doi:10.1177/0735633120972356 · Cited by 229 · see citing works
Exploring the impact of ChatGPT: conversational AI in education
Bettayeb, A. M., Talib, M. W. A., Altayasinah, A. Z. S., & Dakalbab, F. M. (2024) · Frontiers in Education · doi:10.3389/feduc.2024.1379796 · Cited by 197 · see citing works
Transforming Conversations with AI—A Comprehensive Study of ChatGPT
Bansal, G., Chamola, V., Hussain, A., Guizani, M., & Niyato, D. T. (2024) · Cognitive Computation · doi:10.1007/s12559-023-10236-2 · Cited by 190 · see citing works
Prompt Problems: A New Programming Exercise for the Generative AI Era
Denny, P., Leinonen, J., Prather, J., Luxton-Reilly, A., Amarouche, T., Becker, B. A., & Reeves, B. N. (2024) · Proceedings of the 55th ACM Technical Symposium on Computer Science Education V. 1 · doi:10.1145/3626252.3630909 · Cited by 187 · see citing works
Sun, D., Boudouaia, A., Zhu, C., & Li, Y. (2024) · International Journal of Educational Technology in Higher Education · doi:10.1186/s41239-024-00446-5 · Cited by 187 · see citing works
Scherer, R., Siddiq, F., & Viveros, B. S. (2020) · Computers in Human Behavior · doi:10.1016/j.chb.2020.106349 · Cited by 185 · see citing works
ChatGPT: Challenges and Benefits in Software Programming for Higher Education
da Silva, C. A. G., Ramos, F. N., de Moraes, R. V., & dos Santos, E. L. (2024) · Sustainability · doi:10.3390/su16031245 · Cited by 179 · see citing works
Durak, H. Y. (2018) · Technology Knowledge and Learning · doi:10.1007/s10758-018-9391-y · Cited by 159 · see citing works
The Impact of Large Language Models on Programming Education and Student Learning Outcomes
Jošt, G., Taneski, V., & Karakatič, S. (2024) · Applied Sciences · doi:10.3390/app14104115 · Cited by 143 · see citing works
Marwan, S., Gao, G., Fisk, S. R., Price, T., & Barnes, T. (2020) · International Computing Education Research Workshop · doi:10.1145/3372782.3406264 · Cited by 131 · see citing works
Al-Abdullatif, A. M., & Alsubaie, M. A. (2024) · Behavioral Sciences · doi:10.3390/bs14090845 · Cited by 126 · cited 1× · see citing works
“Guide students on how to pose effective questions to ChatGPTand assess the quality of its answers (Al-Abdullatif & Alsubaie, 2024).”
Scaffolding Computational Thinking With ChatGPT
Liao, J., Zhong, L., Zhe, L., Xu, H., Liu, M., & Xie, T. (2024) · IEEE Transactions on Learning Technologies · doi:10.1109/tlt.2024.3392896 · Cited by 113 · see citing works
ChatGPT in Computer Science Curriculum Assessment: An analysis of Its Successes and Shortcomings
Qureshi, B. (2023) · International Conference e-Society, e-Learning and e-Technologies · doi:10.1145/3613944.3613946 · Cited by 111 · see citing works
Fan, G., Liu, D., Zhang, R., & Pan, L. (2025) · International Journal of STEM Education · doi:10.1186/s40594-025-00537-3 · Cited by 109 · cited 1× · see citing works
“…thereby allowing for a more precise isolation of the effects of ChatGPT-based activities on student engagement, the fi ndings of this study align with prior research on the bene fi ts of dialogic interaction and AI-assisted learning in programming education (Fan et al., 2025; Yun et al., 2025).”
Students’ Experiences of Using ChatGPT in an Undergraduate Programming Course
Haindl, P., & Weinberger, G. (2024) · IEEE Access · doi:10.1109/access.2024.3380909 · Cited by 108 · see citing works
Acceptance and use of ChatGPT in the academic community
Strzelecki, A., Cicha, K., Rizun, M., & Rutecka, P. (2024) · Education and Information Technologies · doi:10.1007/s10639-024-12765-1 · Cited by 105 · see citing works
Wei, L., Huang, J.-Y., Liu, C., Tseng, J. C. R., & Wang, S.-P. (2023) · Thinking Skills and Creativity · doi:10.1016/j.tsc.2023.101369 · Cited by 103 · see citing works
Weng, X., Ye, H., Dai, Y., & Ng, O. (2024) · Journal of Educational Computing Research · doi:10.1177/07356331241248686 · Cited by 100 · see citing works
Multimodal learning analytics of collaborative patterns during pair programming in higher education
Xu, W., Wu, Y., & Ouyang, F. (2023) · International Journal of Educational Technology in Higher Education · doi:10.1186/s41239-022-00377-z · Cited by 98 · see citing works
Kosar, T., Ostojić, D., Liu, Y. D., & Mernik, M. (2024) · Mathematics · doi:10.3390/math12050629 · Cited by 98 · see citing works
Zhao, L., Liu, X., Wang, C., & Su, Y.-S. (2022) · Computers & Education · doi:10.1016/j.compedu.2022.104445 · Cited by 96 · see citing works
Groothuijsen, S., van den Beemt, A., Remmers, J. C., & van Meeuwen, L. W. (2024) · Computers and Education: Artificial Intelligence · doi:10.1016/j.caeai.2024.100290 · Cited by 92 · see citing works
A Call for Computational Thinking in Undergraduate Psychology
Anderson, N. D. (2016) · Psychology Learning & Teaching · doi:10.1177/1475725716659252 · Cited by 90 · see citing works
Augmented Reality and programming education: A systematic review
Θεοδωρόπουλος, Α., & Lepouras, G. (2021) · International Journal of Child-Computer Interaction · doi:10.1016/j.ijcci.2021.100335 · Cited by 90 · see citing works
Lai, X., & Wong, G. K. W. (2021) · British Journal of Educational Technology · doi:10.1111/bjet.13157 · Cited by 87 · see citing works
Hartley, K., Hayak, ., & Ko, U. H. (2024) · Education Sciences · doi:10.3390/educsci14020120 · Cited by 85 · see citing works
Durak, H. Y. (2018) · Journal of Computer Assisted Learning · doi:10.1111/jcal.12302 · Cited by 82 · see citing works
Jing, Y., Wang, H., Chen, X., & Wang, C. (2024) · Humanities and Social Sciences Communications · doi:10.1057/s41599-024-02751-w · Cited by 82 · see citing works
Effectiveness of Using ChatGPT as a Tool to Strengthen Benefits of the Flipped Learning Strategy
Huesca, G., Martínez-Treviño, Y., Espinosa, J. M. M., Sanromán-Calleros, A. R., Martínez-Román, R., Cendejas-Castro, E. A., & Bustos, R. (2024) · Education Sciences · doi:10.3390/educsci14060660 · Cited by 71 · see citing works
ChatGPT in the Classroom. Exploring Its Potential and Limitations in a Functional Programming Course
Popovici, M.-D. (2024) · International Journal of Human–Computer Interaction · doi:10.1080/10447318.2023.2269006 · Cited by 70 · see citing works
ChatGPT in a programming course: benefits and limitations
Bringula, R. P. (2024) · Frontiers in Education · doi:10.3389/feduc.2024.1248705 · Cited by 65 · see citing works
Programming with ChatGPT: How far can we go?
Bucaioni, A., Ekedahl, H., Helander, V., & Nguyen, P. T. (2024) · Machine Learning with Applications · doi:10.1016/j.mlwa.2024.100526 · Cited by 64 · see citing works
Yang, A. C. M., Lin, J.-Y., Lin, C.-Y., & Ogata, H. (2024) · Computers and Education Artificial Intelligence · doi:10.1016/j.caeai.2024.100309 · Cited by 62 · see citing works
Demir, Ö., & Seferoğlu, S. S. (2020) · Journal of Educational Computing Research · doi:10.1177/0735633120949788 · Cited by 55 · see citing works
Lee, H.-Y., Wu, T.-T., Lin, C.-J., Wang, W.-S., & Huang, Y.-M. (2024) · Journal of Educational Computing Research · doi:10.1177/07356331231211916 · Cited by 52 · see citing works
Empirical research on pair programming in higher education: a literature review
Hawlitschek, A., Berndt, S., & Schulz, S. (2022) · Computer Science Education · doi:10.1080/08993408.2022.2039504 · Cited by 47 · see citing works
Bian, N., Han, X., Sun, L., et al. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2303.16421 · Cited by 47 · see citing works
Ma, B., Chen, L., & Konomi, S. (2024) · Communications in computer and information science · doi:10.1007/978-3-031-64315-6_9 · Cited by 47 · see citing works
Martínez, M. L., Lévêque, O., Benítez, I., Hardebolle, C., & Zufferey, J. D. (2022) · Journal of Educational Computing Research · doi:10.1177/07356331211057819 · Cited by 45 · see citing works
Sun, D., Boudouaia, A., Yang, J., & Xu, J. (2024) · Humanities and Social Sciences Communications · doi:10.1057/s41599-024-03991-6 · Cited by 44 · see citing works
Code suggestions and explanations in programming learning: Use of ChatGPT and performance
Park, A., & Kim, T.-K. (2024) · The International Journal of Management Education · doi:10.1016/j.ijme.2024.101119 · Cited by 44 · see citing works
A Valid and Reliable Scale for Developing Programming-Oriented Computational Thinking
Kılıç, S., Gökoğlu, S., & Öztürk, M. (2020) · Journal of Educational Computing Research · doi:10.1177/0735633120964402 · Cited by 42 · see citing works
Ghimire, A., & Edwards, J. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-64299-9_20 · Cited by 42 · see citing works
Calcagni, E., Ahmed, F., Trigo-Clapés, A. L., Kershner, R., & Hennessy, S. (2023) · Teaching and Teacher Education · doi:10.1016/j.tate.2023.104067 · Cited by 40 · see citing works
Liu, J., & Li, S. (2024) · Journal of Educational Computing Research · doi:10.1177/07356331241240460 · Cited by 40 · see citing works
An, S., & Zhang, S. (2023) · Thinking Skills and Creativity · doi:10.1016/j.tsc.2023.101453 · Cited by 38 · see citing works
Development of intellectual and scientific abilities through game-programming in Minecraft
Bile, A. (2022) · Education and Information Technologies · doi:10.1007/s10639-022-10894-z · Cited by 37 · see citing works
ChatGPT, the perfect virtual teaching assistant? Ideological bias in learner-chatbot interactions
Poucke, M. V. (2024) · Computers & composition/Computers and composition · doi:10.1016/j.compcom.2024.102871 · Cited by 36 · see citing works
Zhong, X., & Zhan, Z. (2024) · Interactive Technology and Smart Education · doi:10.1108/itse-09-2023-0182 · Cited by 31 · see citing works
Zhang, X., Chen, Y., Hu, L., Bao, Y., Tu, Y., & Hwang, G. (2024) · Computers & Education · doi:10.1016/j.compedu.2024.105039 · Cited by 26 · see citing works
Chang, H., Liu, B., Zhao, Y., Li, Y., & He, F. (2024) · Interactive Learning Environments · doi:10.1080/10494820.2024.2331646 · Cited by 26 · see citing works
Empowering Student Learning Through Artificial Intelligence: A Bibliometric Analysis
Yun, G., Lee, K. M., & Choi, H. H. (2024) · Journal of Educational Computing Research · doi:10.1177/07356331241278636 · Cited by 26 · see citing works
Impact of generative AI dialogic feedback on different stages of programming problem solving
Gong, X., Li, Z., & Qiao, A. (2025) · Education and Information Technologies · doi:10.1007/s10639-024-13173-1 · Cited by 26 · see citing works
Tsai, C.-W., Lin, M. Y.-C., Cheng, Y.-P., Lee, L.-Y., Chyr, W.-L., Lin, C.-H., Lin, J.-W., & Tsai, M.-C. (2023) · Computers & Education · doi:10.1016/j.compedu.2023.104849 · Cited by 25 · cited 1× · see citing works
“Through pair programming, students bene fi t from social support and feedback, which enhance their problem-solving engagement (Tsai et al., 2023).”
Yang, T., & Lin, Z.-S. (2023) · Computers & Education · doi:10.1016/j.compedu.2023.104962 · Cited by 25 · see citing works
Tan, J., Wu, L., & Ma, S. (2023) · British Journal of Educational Technology · doi:10.1111/bjet.13412 · Cited by 25 · see citing works
Adopting distributed pair programming as an effective team learning activity: a systematic review
Xu, F., & Correia, A. (2023) · Journal of Computing in Higher Education · doi:10.1007/s12528-023-09356-3 · Cited by 24 · see citing works
Yolcu, V., & Demirer, V. (2023) · Computer Applications in Engineering Education · doi:10.1002/cae.22664 · Cited by 24 · see citing works
Collaborative Behavior Patterns of Students in Programming Instruction
Hopcan, S., Polat, E., & Albayrak, E. (2022) · Journal of Educational Computing Research · doi:10.1177/07356331211062260 · Cited by 23 · see citing works
Sun, L., Liu, J., & Liu, Y. (2024) · Thinking Skills and Creativity · doi:10.1016/j.tsc.2024.101542 · Cited by 23 · see citing works
Chen, Y., & Hou, H. (2024) · Journal of Educational Computing Research · doi:10.1177/07356331241268505 · Cited by 23 · see citing works
Analysing Quantitative Survey Data for Business and Management Students
Dawson, J. (2017) · SAGE Publications Ltd eBooks · doi:10.4135/9781473983311 · Cited by 22 · see citing works
Sunday, A. O., Agbo, F. J., & Oyelere, S. S. (2023) · Computers & Education X Reality · doi:10.1016/j.cexr.2023.100016 · Cited by 22 · see citing works
Li, Q., Jiang, Q., Liang, J., Xiong, W., & Zhao, W. (2024) · Thinking Skills and Creativity · doi:10.1016/j.tsc.2024.101537 · Cited by 22 · see citing works
Self-citationYürüm, O. R., Temizel, T. T., & Yıldırım, S. (2022) · Education and Information Technologies · doi:10.1007/s10639-022-11403-y · Cited by 21 · see citing works
Application of Metacognitive Planning Scaffolding for the Cultivation of Computational Thinking
Zhou, Y., Chai, C. S., Li, X., Ma, C., Li, B., Yu, D., & Liang, J. (2023) · Journal of Educational Computing Research · doi:10.1177/07356331231160294 · Cited by 18 · see citing works
Bowman, N. A., Jarratt, L., Culver, K. C., & Segre, A. M. (2021) · ACM Transactions on Computing Education · doi:10.1145/3440759 · Cited by 17 · see citing works
Zhou, R., Li, Y., He, X., Jiang, C., Fang, J., & Li, Y. (2024) · Education and Information Technologies · doi:10.1007/s10639-024-12597-z · Cited by 17 · see citing works
Su, Y.-S., Wang, S. Y., & Liu, X. (2023) · Journal of Educational Computing Research · doi:10.1177/07356331231210560 · Cited by 13 · see citing works
Xu, F., & Correia, A. (2024) · Computers in Human Behavior Reports · doi:10.1016/j.chbr.2024.100415 · Cited by 13 · see citing works
Lei, Y., Fu, X., Zhao, J., & Yi, B. (2024) · Education and Information Technologies · doi:10.1007/s10639-024-12838-1 · Cited by 13 · see citing works
Krizsan, T., & Lambić, D. (2024) · Education and Information Technologies · doi:10.1007/s10639-024-12859-w · Cited by 9 · see citing works
Xie, W., & Lin, X. (2024) · Teaching and Teacher Education · doi:10.1016/j.tate.2024.104823 · Cited by 7 · see citing works
Li, C., Sun, D., Xu, J., Zhu, Y., Huang, Y., Zheng, W., Tang, X., & Li, Y. (2024) · Computers & Education · doi:10.1016/j.compedu.2024.105152 · Cited by 6 · see citing works
Towards a Hermeneutics of Computational Thinking in Wing’s Approximations
Peracaula, M., & Martínez, J. G. (2023) · Journal of Educational Computing Research · doi:10.1177/07356331231193142 · Cited by 4 · see citing works
Gharbaoui, H., Mansouri, K., & Poirier, F. (2024) · International Journal of Engineering Pedagogy (iJEP) · doi:10.3991/ijep.v14i6.48705 · Cited by 4 · see citing works
Flagged first, then by citations
Cited by
Sorted by citations
Lin, X., & Tan, H. (2025) · Systems · doi:10.3390/systems13100840 · Cited by 22 · see citing works
Wu, M., & Ouyang, F. (2026) · Educational Psychology Review · doi:10.1007/s10648-026-10211-x
- Authors
- Zhang, L., Jiang, Q., Xiong, W., & Zhao, W.
- Affiliations
- Northeast Normal University (CN)
- Education University of Hong Kong (HK)
- Corresponding author
- Jiang, Qiang
- Venue
- Journal of Educational Computing Research
- Publisher
- SAGE Publications
- Published
- 2025-04-14
- Volume
- 63
- Issue
- 4
- Pages
- 988-1023
- ISSN
- 0735-6331 (ISSN-L)
- 1541-4140
- OpenAlex
- W4409435267
- Cited by
- 15
- References
- 91
- Citations by year
- 2026: 11 · 2025: 4
- FWCI
- 13.57
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- Journal of Educational Computing Research (publishedVersion)
- Funders
- National Natural Science Foundation of China (62077012)
- Topics
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Physical Sciences › Computer Science › Artificial Intelligence › Intelligent Tutoring Systems and Adaptive Learning
- Physical Sciences › Computer Science › Information Systems › Artificial Intelligence in Education
- Keywords
- ChatGPT, student engagement, programming education, pair programming, high school students, off-task behavior, self-efficacy, student anxiety, higher-order thinking skills
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review