Examining the Usage of Generative AI Models in Student Learning Activities for Software Programming
Summary
A controlled study involving 24 undergraduate students, split into beginner and intermediate programming proficiency groups, investigated the impact of Generative AI (GenAI) tools like ChatGPT on programming task performance and knowledge gains. Participants used either GPT-3.5-turbo or conventional online resources to solve a 30-minute Dynamic Sliding Window programming problem. The research found that generating complete solutions with GenAI significantly boosted task performance, particularly for beginners, but did not consistently translate into improved conceptual understanding. Beginners often exhibited heavy reliance on GenAI for task completion, frequently without knowledge acquisition, whereas intermediate students adopted more selective usage patterns. Critically, both excessive and insufficient GenAI use led to diminished knowledge gains, underscoring the necessity for structured guidance in integrating GenAI into programming curricula.
Key takeaway
For AI Students or Research Scientists integrating Generative AI into programming learning, recognize that uncritical reliance on complete solution generation impedes genuine knowledge acquisition. While GenAI accelerates task completion, prioritize developing a clear conceptual understanding and a personal coding plan. Use GenAI as a learning partner for explanations, bug detection, and test generation. Avoid using it solely as a problem-solver to foster deeper comprehension.
Key insights
GenAI significantly improves programming task performance but often impedes knowledge gains, particularly for beginners who over-rely on it.
Principles
- GenAI exposure timing shapes usage intent.
- Over-reliance on complete GenAI solutions hinders deep learning.
- Balanced GenAI integration is vital for knowledge acquisition.
Method
A $2\times 2$ between-subjects experiment with 24 undergraduate students (beginner/intermediate, with/without ChatGPT) solving a programming task after a concept video, analyzing performance, surveys, and chat histories.
In practice
- Form a clear plan before generating code.
- Use GenAI for conceptual explanations and validation.
- Explore GenAI for bug detection and test generation.
Topics
- Generative AI
- Programming Education
- Student Learning
- ChatGPT
- Knowledge Acquisition
- Learning Strategies
Best for: AI Scientist, AI Student, Research Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.