Beyond Giving Answers: Scaffolding Critical Thinking with Stage-Structured Generative AI Feedback in Introductory Programming
Kai Liang, Chuanfeng Li, Lei Qian, Liangping Zhao
Key points
From the paper's conclusion- These findings suggest that stage-structured generative AI feedback can engage students in reasoning during supported programming dialogue.
Abstract
Generative artificial intelligence can support programming learning, but complete solutions may reduce opportunities to practice critical thinking. This study examined a pedagogical agent guided by the Trigger-Process-Respond framework, which organized questioning, comparison, evidence requests, and reflection across debugging, code review, and post-task reflection. In a six-week quasi-experiment, 60 first-year computer science students in two intact classes at a Chinese university completed three sequential programming tasks. One class used the agent, and the other received conventional instructor feedback. Critical thinking was assessed with the Chinese version of the California Critical Thinking Skills Test, and dialogue records documented students’ reasoning responses. In these two classes, the agent-supported class had higher posttest scores after adjustment for pretest scores. Within the fixed feedback sequences, questioning was followed by more analytical responses, comparison by more evaluative responses, and evidence requests by more argumentative responses. Exploratory analyses linked reflection feedback with reasoning in the next task, particularly between the first two tasks. These findings suggest that stage-structured generative AI feedback can engage students in reasoning during supported programming dialogue.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- When Generative AI Meets Socratic Method: Investigating Programming Learning Dynamics Through Behaviours, Interaction Qualities and PerceptionsJournal of Computer Assisted Learning · 2026
- Effects of structured generative AI feedback on data science students' critical thinking: a propensity score matching approach.Frontiers in psychology · 2026
- Less stress, better scores, same learning: The dissociation of performance and learning in AI-supported programming educationComputers and Education Artificial Intelligence · 2025
- Tool, tutor, or crutch?: A grounded theory of cognitive scaffolding and offloading in AI-assisted programming educationInternational Journal of STEM Education · 2026
- Custom Generative Artificial Intelligence Tutors in Action: An Experimental Evaluation of Prompt Strategies in STEM EducationSustainability · 2025
- Beyond Prompting: Student–GenAI Interaction and Critical Thinking in STEM Education—A Systematic Literature ReviewEducation Sciences · 2026