Answers are grounded in this paper and cite their sources.
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.
No takes yet. Share an insight, caveat, or question.
Liang et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: