ChatGPT-enhanced self-regulated learning in programming education: impacts on motivation, self-efficacy, and learning outcomes
Zilin Wang, Di Zou, Ruofei Zhang, Lap–Kei Lee, Haoran Xie, Fu Lee Wang
City University of Hong Kong · Hong Kong Polytechnic University
Key points
From the paper's conclusion- Overall, this study highlights the value of ChatGPT and SRL in promoting motivation, engagement, and self-efficacy while underscoring the challenges of advancing programming knowledge.
Abstract
ChatGPT shows potential for enhancing self-regulated learning (SRL) in education. This study examined its role in programming instruction through a seven-week intervention with 83 sophomores. Students were assigned to a control group receiving traditional instruction (N = 27), an experimental group using ChatGPT (N = 30), or a group combining ChatGPT with SRL strategies (N = 26). Two-way ANCOVA results indicate that ChatGPT-supported groups reported higher motivation (p < .05, η2 = .052) and engagement (p < .01, η2 = .117) than the control group. Integrating SRL further improved self-efficacy (p < .001, η2 = .152) and motivation (p < .01, η2 = .094). However, no significant differences emerged in programming knowledge acquisition (p = .79), suggesting limitations of AI-based support for conceptual mastery. Possible explanations include the need for more interactive and scaffolded activities to promote in-depth learning. A gender imbalance (66 males, 17 females) also limits the generalizability of findings. Future research may investigate structured learning activities and qualitative approaches to better capture learners experiences. Overall, this study highlights the value of ChatGPT and SRL in promoting motivation, engagement, and self-efficacy while underscoring the challenges of advancing programming knowledge.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ChatGPT-Assisted Learning Effectiveness and Students' Academic Outcomes: A Mediation Analysis of Cognitive Engagement and Self-Efficacy.European journal of investigation in health, psychology and education · 2026
- ChatGPT in Programming Education: An Empirical Study on Its Impact on Student Performance, Creativity, and TeamworkEducation Sciences · 2025
- Integrating ‘ GPT ‐4o’ as an AI Tool Into K‐12 Contexts: Assessing Its Long‐Term Effects on Students' Self‐Regulated Learning ( SRL ) and Task Engagement Through Latent Growth Curve ModellingEuropean Journal of Education · 2025
- Mind the gap: Perceived academic self-efficacy, creativity, and critical thinking with and without ChatGPTThinking Skills and Creativity · 2026
- From functionality to performance: How AI-enabled engagement and collaboration shape mathematics learning outcomesSocial Sciences & Humanities Open · 2026
- Psychological engagement with automated design improvement feedback: a multiple case study of ChatGPT in design educationFrontiers in Psychology · 2026