Tool, tutor, or crutch?: A grounded theory of cognitive scaffolding and offloading in AI-assisted programming education

The integration of generative AI into programming education has produced a widely reported tension between performance and learning. We distinguish immediate task performance from genuine learning: durable, transferable conceptual understanding and evaluative skill, and examine how AI support shapes learning processes, not merely outcomes. While many studies document improved speed, accuracy, and affect with AI support, questions remain about the quality of underlying learning. We use a constructivist grounded-theory design with constant comparison across two naturally occurring course sections (an AI-enabled section and a human pair-programming section used as a theoretical contrast). Over one semester, we collected triangulation across data sources from undergraduate Java programming students–interaction logs, pre-/post-course concept maps, and semi-structured dyadic interviews (AI-enabled: $$N=24$$; theoretical contrast: $$N=17$$). Analysis revealed a core tension between students’ pursuit of “Domain Mastery” (conceptualization, explanation, and evaluation) and “Tool Mastery” (procedural efficiency with AI). We identified dynamic strategy switching (the Strategic Dance), Partnership Framing with an Illusion of Dialogue subtheme, and two recurrent evaluation challenges (Trust-but-Can’t-Verify for novices; a Boilerplate Blindspot for more experienced students). We also describe attenuated meta-cognitive calibration–a mismatch between perceived readiness and independent capability–co-occurring with sustained offloading patterns. These categories synthesize into a process-level tension model with two recurrent loops (Scaffolding and Offloading), interpreted through Cognitive Load Theory and Self-Determination Theory. We offer a theory-building account that helps explain how widely observed performance and affect gains can co-occur with thinner opportunities for germane processing and authorship. The model generates testable implications (e.g., critique-the-AI phases, planned fading, verification journals), and we invite multi-site tests to evaluate boundary conditions.

Authors

Institutions

Publication Details

Journal
International Journal of STEM Education
Published
2026-03-13
DOI
https://doi.org/10.1186/s40594-025-00592-w
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Tool, tutor, or crutch?: A grounded theory of cognitive scaffolding and offloading in AI-assisted programming education

Lihu Pan, G. F. Fan, Dandan Liu
International Journal of STEM Education
Artificial Intelligence in Healthcare and Education
article

Tool, tutor, or crutch?: A grounded theory of cognitive scaffolding and offloading in AI-assisted programming education

Lihu Pan, G. F. Fan, Dandan Liu
article en

Abstract

The integration of generative AI into programming education has produced a widely reported tension between performance and learning. We distinguish immediate task performance from genuine learning: durable, transferable conceptual understanding and evaluative skill, and examine how AI support shapes learning processes, not merely outcomes. While many studies document improved speed, accuracy, and affect with AI support, questions remain about the quality of underlying learning. We use a constructivist grounded-theory design with constant comparison across two naturally occurring course sections (an AI-enabled section and a human pair-programming section used as a theoretical contrast). Over one semester, we collected triangulation across data sources from undergraduate Java programming students–interaction logs, pre-/post-course concept maps, and semi-structured dyadic interviews (AI-enabled: $$N=24$$; theoretical contrast: $$N=17$$). Analysis revealed a core tension between students’ pursuit of “Domain Mastery” (conceptualization, explanation, and evaluation) and “Tool Mastery” (procedural efficiency with AI). We identified dynamic strategy switching (the Strategic Dance), Partnership Framing with an Illusion of Dialogue subtheme, and two recurrent evaluation challenges (Trust-but-Can’t-Verify for novices; a Boilerplate Blindspot for more experienced students). We also describe attenuated meta-cognitive calibration–a mismatch between perceived readiness and independent capability–co-occurring with sustained offloading patterns. These categories synthesize into a process-level tension model with two recurrent loops (Scaffolding and Offloading), interpreted through Cognitive Load Theory and Self-Determination Theory. We offer a theory-building account that helps explain how widely observed performance and affect gains can co-occur with thinner opportunities for germane processing and authorship. The model generates testable implications (e.g., critique-the-AI phases, planned fading, verification journals), and we invite multi-site tests to evaluate boundary conditions.

International Journal of STEM EducationVol. 13(1)
University of Malaya (MY), Taiyuan University of Science and Technology (CN)
Openalex Percentile: Top 25%
Artificial Intelligence in Healthcare and Education
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.