Journal of Intelligence

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

Beyond Giving Answers: Scaffolding Critical Thinking with Stage-Structured Generative AI Feedback in Introductory Programming — Science Skim