Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programming
arXiv:2302.07427 · doi:10.1145/3544548.3580919
Abstract
AI code generators like OpenAI Codex have the potential to assist novice programmers by generating code from natural language descriptions, however, over-reliance might negatively impact learning and retention. To explore the implications that AI code generators have on introductory programming, we conducted a controlled experiment with 69 novices (ages 10-17). Learners worked on 45 Python code-authoring tasks, for which half of the learners had access to Codex, each followed by a code-modification task. Our results show that using Codex significantly increased code-authoring performance (1.15x increased completion rate and 1.8x higher scores) while not decreasing performance on manual code-modification tasks. Additionally, learners with access to Codex during the training phase performed slightly better on the evaluation post-tests conducted one week later, although this difference did not reach statistical significance. Of interest, learners with higher Scratch pre-test scores performed significantly better on retention post-tests, if they had prior access to Codex.
To be published in Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems (CHI '23), April 23--28, 2023, Hamburg, Germany 17 pages with 11 Figures, 2 Tables, 6 Page Appendix
References in corpus (5)
- Evaluating Large Language Models Trained on Code
- Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning
- Automatic Generation of Programming Exercises and Code Explanations using Large Language Models
- CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation
- Scaffolding Progress: How Structured Editors Shape Novice Errors When Transitioning from Blocks to Text
Cited by in corpus (7)
- CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needs
- ChatGPT in the classroom. Exploring its potential and limitations in a Functional Programming course
- Exploring How Multiple Levels of GPT-Generated Programming Hints Support or Disappoint Novices
- Enhancing Programming Error Messages in Real Time with Generative AI
- Whodunit: Classifying Code as Human Authored or GPT-4 Generated -- A case study on CodeChef problems
- Let's Ask AI About Their Programs: Exploring ChatGPT's Answers To Program Comprehension Questions
- Automating Personalized Parsons Problems with Customized Contexts and Concepts