The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmers
James Prather, Brent Reeves, Juho Leinonen, Stephen MacNeil, Arisoa S., Randrianasolo, Brett Becker, Bailey Kimmel, Jared Wright, Ben Briggs

TL;DR
This study investigates how generative AI tools impact novice programmers' problem-solving, revealing benefits for some students and potential harms for others, especially those with existing metacognitive difficulties.
Contribution
It extends prior research by analyzing the effects of GenAI on novice programming behavior through observational and eye-tracking methods, highlighting disparities among students.
Findings
Students who used GenAI effectively completed problems and ignored unhelpful suggestions.
Struggling students faced compounded metacognitive difficulties and experienced an illusion of competence.
GenAI can both aid and hinder novice programmers depending on their metacognitive skills.
Abstract
Novice programmers often struggle through programming problem solving due to a lack of metacognitive awareness and strategies. Previous research has shown that novices can encounter multiple metacognitive difficulties while programming. Novices are typically unaware of how these difficulties are hindering their progress. Meanwhile, many novices are now programming with generative AI (GenAI), which can provide complete solutions to most introductory programming problems, code suggestions, hints for next steps when stuck, and explain cryptic error messages. Its impact on novice metacognition has only started to be explored. Here we replicate a previous study that examined novice programming problem solving behavior and extend it by incorporating GenAI tools. Through 21 lab sessions consisting of participant observation, interview, and eye tracking, we explore how novices are coding with…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsArtificial Intelligence in Healthcare and Education
