Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implications
By: Boxuan Ma , Huiyong Li , Gen Li and more
Potential Business Impact:
Helps AI teach students to code better.
Generative AI tools such as ChatGPT now provide novice programmers with unprecedented access to instant, personalized support. While this holds clear promise, their influence on students' metacognitive processes remains underexplored. Existing work has largely focused on correctness and usability, with limited attention to whether and how students' use of AI assistants supports or bypasses key metacognitive processes. This study addresses that gap by analyzing student-AI interactions through a metacognitive lens in university-level programming courses. We examined more than 10,000 dialogue logs collected over three years, complemented by surveys of students and educators. Our analysis focused on how prompts and responses aligned with metacognitive phases and strategies. Synthesizing these findings across data sources, we distill design considerations for AI-powered coding assistants that aim to support rather than supplant metacognitive engagement. Our findings provide guidance for developing educational AI tools that strengthen students' learning processes in programming education.
Similar Papers
Plan More, Debug Less: Applying Metacognitive Theory to AI-Assisted Programming Education
Computers and Society
AI helps students learn coding better.
Examining the Usage of Generative AI Models in Student Learning Activities for Software Programming
Software Engineering
Helps students learn better with AI, not just copy.
Exploring the Potential of Metacognitive Support Agents for Human-AI Co-Creation
Human-Computer Interaction
Helps designers make better ideas with AI.