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

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.

Authors

Institutions

Publication Details

Journal
Journal of Intelligence
Published
2026-11-24
DOI
https://doi.org/10.3390/jintelligence14120313
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Kai Liang, Lei Qian, Chuanfeng Li, Liangping Zhao
4 links
Journal of Intelligence
Teaching and Learning Programming
article

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

Kai Liang, Lei Qian, Chuanfeng Li, Liangping Zhao
article en

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.

Journal of IntelligenceVol. 14(12)
Luoyang Institute of Science and Technology (CN)
Quality education
Teaching and Learning Programming
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.

Laika access coming soon
Beyond Giving Answers: Scaffolding Critical Thinking with Stage-Structured Generative AI Feedback in Introductory Programming — Kai Liang, Lei Qian, et al. · Journal of Intelligence (2026) | TGRS Research Map | TGRS