🤖 AI Summary
This study investigates how generative AI (e.g., ChatGPT) affects knowledge acquisition among programming learners of varying proficiency levels. Method: A controlled experiment was conducted, comparing generative AI with conventional online resources using task completion rates, conceptual understanding assessments, and fine-grained interaction log analysis. Contribution/Results: Generative AI significantly improves task completion for novices but yields inconsistent gains in conceptual knowledge; novices’ overreliance on AI-generated complete code impedes deep comprehension. In contrast, intermediate learners achieve superior learning outcomes through selective, strategic use. The study reveals a nonlinear relationship between usage patterns and learning efficacy, challenging the assumption that increased AI engagement uniformly enhances learning. Its core contribution is reframing generative AI as a cognitive scaffold—not merely a problem-solving tool—and proposing proficiency-adaptive design principles for AI-augmented programming instruction.
📝 Abstract
The rise of Generative AI (GenAI) tools like ChatGPT has created new opportunities and challenges for computing education. Existing research has primarily focused on GenAI's ability to complete educational tasks and its impact on student performance, often overlooking its effects on knowledge gains. In this study, we investigate how GenAI assistance compares to conventional online resources in supporting knowledge gains across different proficiency levels. We conducted a controlled user experiment with 24 undergraduate students of two different levels of programming experience (beginner, intermediate) to examine how students interact with ChatGPT while solving programming tasks. We analyzed task performance, conceptual understanding, and interaction behaviors. Our findings reveal that generating complete solutions with GenAI significantly improves task performance, especially for beginners, but does not consistently result in knowledge gains. Importantly, usage strategies differ by experience: beginners tend to rely heavily on GenAI toward task completion often without knowledge gain in the process, while intermediates adopt more selective approaches. We find that both over-reliance and minimal use result in weaker knowledge gains overall. Based on our results, we call on students and educators to adopt GenAI as a learning rather than a problem solving tool. Our study highlights the urgent need for guidance when integrating GenAI into programming education to foster deeper understanding.