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

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.

Authors

Institutions

Publication Details

Journal
Humanities and Social Sciences Communications
Published
2026-06-25
DOI
https://doi.org/10.1057/s41599-026-08030-0
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

H Michael Zhang, Wei Xiao
Humanities and Social Sciences Communications
Artificial Intelligence in Healthcare and Education
article

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

H Michael Zhang, Wei Xiao
article en

Abstract

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.

Humanities and Social Sciences Communications
Chengdu University of Technology (CN)
Sichuan Mineral Resources Research Center
Quality Education
Openalex Percentile: Top 10%
Artificial Intelligence in Healthcare and Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.