CoChat

Balancing error-correction hints and solution guidance: a quasi-experimental study of ChatGPT-integrated feedback strategies in Jupyter-based programming education

Xiao, Wei, Zhang, Hanyue · 2026 · Humanities and Social Sciences Communications
Cited by 0

The DOI matches its Crossref record; 8 of the 8 references it cites were found in a registry or an index.

Abstract

This study investigated the instructional effects of four ChatGPT-augmented feedback strategies in a Jupyter-based programming learning environment. Based on whether students received “error-correction hints” and/or full “solution guidance”, we designed four distinct feedback conditions and implemented a quasi-experimental study with undergraduates from a university in Sichuan, China. Learning achievement, engagement, and cognitive load were compared across the four groups. Results indicated that combined hints-plus-solutions feedback best sustained improvements on immediate tests, whereas hints-only feedback yielded superior transfer-test performance, likely because learners engaged more deeply in problem solving when not given full solutions. No significant differences in learning engagement emerged among the four conditions, suggesting that all feedback types similarly motivated students. Importantly, the hints-only group experienced a moderate cognitive load that supported strong transfer outcomes, underscoring the need to balance informational support and mental effort in feedback design. Survey data further revealed generally positive student attitudes toward ChatGPT feedback, tempered by concerns about accuracy and overreliance. These findings suggest that adaptive use of AI-powered hints can foster both skill consolidation and autonomous problem-solving, and they highlight the importance of monitoring cognitive load. Implications for practice include guiding students to critically interpret AI feedback, integrating teacher-led case analyses to deepen conceptual understanding, and calibrating feedback depth to optimize cognitive challenge. This study contributes empirical evidence on ChatGPT’s role in programming education and offers actionable strategies for blending AI hints and solutions in instructional design.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1057/s41599-026-08030-0

Cites

8 of 8 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 60

  1. Akgun S, Greenhow C (2022) Artificial intelligence in education: addressing ethical challenges in K-12 settings. AI Ethics 2(3):431–440 · DOI · Paper page
  2. Barzanji C, Müller TT, Loitsch C (2025) Designing Effective Feedback in Educational Programming Assistants: Recommendations, Analysis, and Practical Guidelines. In Mensch und Computer 2025 Workshop Proceedings (MCI: Work in Progress). Gesellschaft für Informatik e.V., Chemnitz. https://doi.org/10.18420/muc2025-mci-wip-338 · DOI
  3. Carless D (2019) Feedback loops and the longer-term: towards feedback spirals. Assess Eval High Educ 44(5):705–714 · DOI · Paper page
  4. Carless D, Boud D (2018) The development of student feedback literacy: enabling uptake of feedback. Assess Eval High Educ 43(8):1315–1325 · DOI · Paper page
  5. Castleberry C, Hanner A, Burks G, Amos J (2023) Instructor perspectives on the use of tag-organised assessment to facilitate formative assessment strategies in STEM courses. Eur J Eng Educ 48(4):629–652 · DOI
  6. Chen X, Breslow L, DeBoer J (2018) Analyzing productive learning behaviors for students using immediate corrective feedback in a blended learning environment. Comput Educ 117:59–74. https://doi.org/10.1016/j.compedu.2017.09.013 · DOI
  7. Chen E, Huang R, Chen HS, Tseng YH, Li LY (2023) GPTutor: A ChatGPT-Powered Programming Tool for Code Explanation. In: Wang N, Rebolledo-Mendez G, Dimitrova V, Matsuda N, Santos OC (eds) Artificial Intelligence in Education. Posters and Late Breaking Results, Workshops and Tutorials, Industry and Innovation Tracks, Practitioners, Doctoral Consortium and Blue Sky. AIED 2023. Communications in Computer and Information Science, vol 1831. Springer, Cham. https://doi.org/10.1007/978-3-031-36336-8_50 · DOI
  8. Corral D, Carpenter S, Clingan-Siverly S (2020) The effects of immediate versus delayed feedback on complex concept learning. Q J Exp Psychol. https://doi.org/10.1177/1747021820977739 · DOI
  9. Cusella LP (1980) The effects of feedback on intrinsic motivation: a propositional extension of cognitive evaluation theory from an organizational communication perspective. Ann Int Commun Assoc 4(1):367–387
  10. Fredricks JA, Filsecker M, Lawson MA (2016b) Student engagement, context, and adjustment: addressing definitional, measurement, and methodological issues. Learn Instr 43:1–4. https://doi.org/10.1016/j.learninstruc.2016.02.002 · DOI · Paper page
  11. Fredricks JA, Filsecker M, Lawson MA (2016a) Student engagement, context, and adjustment: addressing definitional, measurement, and methodological issues, vol. 43. Elsevier, pp 1–4 · DOI · Paper page
  12. Fu Q, Zheng Y, Zhang M, Zheng L, Zhou J, Xie B (2023) Effects of different feedback strategies on academic achievements, learning motivations, and self-efficacy for novice programmers. Educ Technol Res Dev 71. https://doi.org/10.1007/s11423-023-10223-2 · DOI
  13. Van Gerven PWM, Paas F, Tabbers HK (2006) Cognitive aging and computer-based instructional design: where do we go from here? Educ Psychol Rev 18(2):141–157 · DOI
  14. Hattie J, Timperley H (2007) The power of feedback. Rev Educ Res 77(1):81–112. https://doi.org/10.3102/003465430298487 · DOI · Paper page
  15. He H, Gao C (2025) Research on the Application of Artificial Intelligence in Basic Education: A Global Trend Analysis Based on Bibliometrics. In Proceedings of the 2024 2nd International Conference on Information Education and Artificial Intelligence (ICIEAI '24). Association for Computing Machinery, New York, NY, USA, 799–806. https://doi.org/10.1145/3724504.3724635 · DOI
  16. Henderson M, Ryan T, Boud D, Dawson P, Phillips M, Molloy E, Mahoney P (2021) The usefulness of feedback. Act Learn High Educ 22(3):229–243. https://doi.org/10.1177/1469787419872393 · DOI · Paper page
  17. Hermans F, Aivaloglou E (2017) To Scratch or not to Scratch? A controlled experiment comparing plugged first and unplugged first programming lessons. In Proceedings of the 12th Workshop on Primary and Secondary Computing Education (WiPSCE '17). Association for Computing Machinery, New York, NY, USA, 49–56. https://doi.org/10.1145/3137065.3137072 · DOI
  18. Hsia L-H, Huang I, Hwang G-J (2016) Effects of different online peer-feedback approaches on students’ performance skills, motivation and self-efficacy in a dance course. Comput Educ 96:55–71. https://doi.org/10.1016/j.compedu.2016.02.004 · DOI · Paper page
  19. Ihantola P, Ahoniemi T, Karavirta V, Seppälä O (2010) Review of recent systems for automatic assessment of programming assignments. In Proceedings of the 10th Koli Calling International Conference on Computing Education Research (Koli Calling '10). Association for Computing Machinery, New York, NY, USA, 86–93. https://doi.org/10.1145/1930464.1930480 · DOI · Paper page
  20. Ilies R, Judge T (2005) Goal regulation across time: the effects of feedback and affect. J Appl Psychol 90:453–467. https://doi.org/10.1037/0021-9010.90.3.453 · DOI · Paper page
  21. Jensen LX, Bearman M, Boud D (2021) Understanding feedback in online learning—a critical review and metaphor analysis. Comput Educ 173:104271. https://doi.org/10.1016/j.compedu.2021.104271 · DOI · Paper page
  22. Jeuring J, Keuning H, Marwan S, Bouvier D, Izu C, Kiesler N, Sarsa S (2022) Towards giving timely formative feedback and hints to novice programmers. https://doi.org/10.1145/3571785.3574124 · DOI · Paper page
  23. Khan SMFA, Suhluli S (2025) Generative AI and cognitive challenges in research: balancing cognitive load, fatigue, and human resilience. Technologies 13(11):486 · DOI
  24. Kinder A, Briese FJ, Jacobs M, Dern N, Glodny N, Jacobs S, Leßmann S (2025) Effects of adaptive feedback generated by a large language model: a case study in teacher education. Comput Edu Artif Intell 8:100349. https://doi.org/10.1016/j.caeai.2024.100349 · DOI
  25. Kuklick L, Greiff S, Lindner MA (2023) Computer-based performance feedback: effects of error message complexity on cognitive, metacognitive, and motivational outcomes. Comput Educ 200:104785. https://doi.org/10.1016/j.compedu.2023.104785 · DOI · Paper page
  26. Kulhavy RW, Stock WA (1989) Feedback in written instruction: the place of response certitude. Educ Psychol Rev 1(4):279–308 · DOI · Paper page
  27. Kuramitsu K, Obara Y, Sato M, Obara M (2023) KOGI: A seamless integration of ChatGPT into Jupyter environments for programming education. Proceedings of the 2023 ACM SIGPLAN International Symposium on SPLASH-E, Cascais, Portugal. https://doi.org/10.1145/3622780.3623648 · DOI
  28. Lahtinen E, Ala-Mutka K, Jarvinen HM (2016) Wybrane aspekty nauczania podstaw programowania na studiach informatycznych. Pedagogika 25(1):75–86
  29. Lahtinen O, Aaltonen J, Kaakinen J, Franklin L, Hyönä J (2023) The effects of app-based mindfulness practice on the well-being of university students and staff. Curr Psychol 42(6):4412–4421 · DOI · Paper page
  30. Liu M, Ren Y, Nyagoga LM, Stonier F, Wu Z, Yu L (2023) Future of education in the era of generative artificial intelligence: consensus among Chinese scholars on applications of ChatGPT in schools. Future Educ Res 1(1):72–101 · DOI · Paper page
  31. Lo CK, Yu PLH, Xu S, Ng DTK, Jong MS-Y (2024) Exploring the application of ChatGPT in ESL/EFL education and related research issues: a systematic review of empirical studies. Smart Learn Environ 11(1):50 · DOI · Paper page
  32. Mandouit L, Hattie J (2023) Revisiting “The Power of Feedback” from the perspective of the learner. Learn Instr 84:101718. https://doi.org/10.1016/j.learninstruc.2022.101718 · DOI
  33. McCall D, Kölling M (2019) A new look at novice programmer errors. ACM Trans Comput Educ 19:1–30. https://doi.org/10.1145/3335814 · DOI
  34. Van Merrienboer JJG, Sweller J (2005) Cognitive load theory and complex learning: recent developments and future directions. Educ Psychol Rev 17:147–177. https://doi.org/10.1007/s10648-005-3951-0 · DOI · Paper page
  35. Molenaar I, Mooij SD, Azevedo R, Bannert M, Järvelä S, Gašević D (2023) Measuring self-regulated learning and the role of AI: five years of research using multimodal multichannel data. Comput Hum Behav 139:107540. https://doi.org/10.1016/j.chb.2022.107540 · DOI · Paper page
  36. Molin F, Haelermans C, Cabus S, Groot W (2021) Do feedback strategies improve students’ learning gain?—results of a randomized experiment using polling technology in physics classrooms. Comput Educ 175:104339. https://doi.org/10.1016/j.compedu.2021.104339 · DOI
  37. Narciss S (2013) Designing and evaluating tutoring feedback strategies for digital learning environments on the basis of the interactive tutoring feedback model. Digit Educ Rev 23:7–26
  38. Narciss S, Sosnovsky S, Schnaubert L, Andrès E, Eichelmann A, Goguadze G, Melis E (2014) Exploring feedback and student characteristics relevant for personalizing feedback strategies. Comput Educ 71:56–76. https://doi.org/10.1016/j.compedu.2013.09.011 · DOI · Paper page
  39. Nicol D (2021) The power of internal feedback: exploiting natural comparison processes. Assess Eval High Educ 46(5):756–778. https://doi.org/10.1080/02602938.2020.1823314 · DOI · Paper page
  40. Paas F, Tuovinen JE, Tabbers H, Van Gerven PWM (2003) Cognitive load measurement as a means to advance cognitive load theory. Educ Psychol 38(1):63–71. https://doi.org/10.1207/S15326985EP3801_8 · DOI · Paper page
  41. Panadero E, Lipnevich AA (2022) A review of feedback models and typologies: towards an integrative model of feedback elements. Educ Res Rev 35:100416. https://doi.org/10.1016/j.edurev.2021.100416 · DOI · Paper page
  42. Pankiewicz M, Baker R (2023) Large Language Models (GPT) for automating feedback on programming assignments. https://doi.org/10.48550/arXiv.2307.00150 · DOI · Paper page
  43. Prather J, Reeves BN, Leinonen J, MacNeil S, Randrianasolo AS, Becker BA, 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 (ICER '24, Vol. 1). Association for Computing Machinery, New York, NY, USA, 469–486. https://doi.org/10.1145/3632620.3671116 · DOI · Paper page
  44. Qun Y (2025) Investigating the impact of immediate vs. delayed feedback timing on motivation and language learning outcomes in online education: Perspectives from Feedback Intervention Theory. Learn Motiv 90:102132 · DOI · Paper page
  45. Sadler DR (1989) Formative assessment and the design of instructional systems. Instr Sci 18(2):119–144 · DOI · Paper page
  46. Shute V (2008) Focus on formative feedback. Rev Educ Res 78:153–189. https://doi.org/10.3102/0034654307313795 · DOI · Paper page
  47. Simon, Luxton-Reilly A, Ajanovski VV, Fouh E, Gonsalvez C, Leinonen J, Parkinson J, Poole M, Thota N (2019) Pass Rates in Introductory Programming and in other STEM Disciplines. In Proceedings of the Working Group Reports on Innovation and Technology in Computer Science Education (ITiCSE-WGR '19). Association for Computing Machinery, New York, NY, USA, 53–71. https://doi.org/10.1145/3344429.3372502 · DOI
  48. Sweller J (2011) Cognitive load theory. In: Psychology of learning and motivation, vol. 55. Elsevier, pp 37–76 · DOI · Paper page
  49. Traver VJ (2010) On compiler error messages: what they say and what they mean. Adv Hum-Comput Interact 2010(1):602570. https://doi.org/10.1155/2010/602570 · DOI · Paper page
  50. Vygotsky LS (1978) Mind in society: the development of higher psychological processes, vol. 86. Harvard University Press
  51. Wagner S, Sibley L, Weiler D, Burde J-P, Scheiter K, Lachner A (2024) The more, the better? Learning with feedback and instruction. Learn Instr 89:101844. https://doi.org/10.1016/j.learninstruc.2023.101844 · DOI
  52. Wang S-L, Wu P-Y (2008) The role of feedback and self-efficacy on web-based learning: the social cognitive perspective. Comput Educ 51(4):1589–1598. https://doi.org/10.1016/j.compedu.2008.03.004 · DOI · Paper page
  53. Wang Z, Gong S-Y, Xu S, Hu X-E (2019) Elaborated feedback and learning: examining cognitive and motivational influences. Comput Educ 136:130–140 · DOI · Paper page
  54. Wang H, Wang C, Chen Z, Liu F, Bao C, Xu X (2025) Impact of AI-agent-supported collaborative learning on the learning outcomes of University programming courses. Educ Inf Technol 30:17717–17749 · DOI
  55. Wang X, Wang Z, Liu J, Chen Y, Yuan L, Peng H, Ji H (2024) "Mint: Evaluating llms in multi-turn interaction with tools and language feedback." In International Conference on Learning Representations, vol. 2024, pp. 32593–32627
  56. Wentling TL, Waight C, Gallaher J, La Fleur J, Wang C, Kanfer A (2000) E-learning: A review of literature. Knowledge and Learning Systems Group NCSA, 9(1):73
  57. Williamson B, Eynon R, Knox J, Davies H (2023) Critical perspectives on AI in education: political economy, discrimination, commercialization, governance and ethics. In: Handbook of artificial intelligence in education. Edward Elgar Publishing, pp 553–570 · DOI
  58. Yang L, Zhang LJ (2023) Self-regulation and student engagement with feedback: the case of Chinese EFL student writers. J Engl Acad Purp 63:101226. https://doi.org/10.1016/j.jeap.2023.101226 · DOI
  59. Zhang Q (2025) The role of EFL teacher immediacy and teacher-student rapport in boosting motivation to learn and academic mindsets in online education. Learn Motiv 89:102092 · DOI
  60. Zhu M, Wang, C (2024) A systematic review of artificial intelligence in language education from 2013 to 2023: current status and future implications. Available at SSRN: https://doi.org/10.2139/ssrn.4684304 · DOI

Metadata

Authors
Xiao, W., & Zhang, H.
Venue
Humanities and Social Sciences Communications
Published
2026-06-25
Volume
13
Issue
1
ISSN
2662-9992
Cited by
0
References
8
Language
en
Licence
Funders
  • Chengdu Academy of Social Sciences (No.2024CS116)
  • Key Laboratory of Digital Protection and Intelligent Sharing of Traditional Local Opera Resources (Chengdu University of Technology), Sichuan Provincial Department of Culture and Tourism (No.24XQZD02)
  • Sichuan Mineral Resources Research Center (Grant No.SCKCZY2025-YB004)

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

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.