Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programming

By Majeed Kazemitabaar, Justin Chow, Carlsen Ma, B. Ericson, David Weintrop, Tovi Grossman. International Conference on Human Factors in Computing Systems, 2023

390 citations recorded by the source corpus.

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.

Subfields: Computer Science Applications, Information Systems

View Paper: https://www.semanticscholar.org/paper/f03f39f735186c4359b719724be6e1c2eb912fef

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Science Applications

  1. Paul Denny
  2. Juho Leinonen
  3. Sami Sarsa
  4. Arto Hellas
  5. Andrew Luxton-Reilly
  6. James Prather
  7. Brett A. Becker
  8. Majeed Kazemitabaar

In Information Systems

  1. Paul Denny
  2. Juho Leinonen
  3. Sami Sarsa
  4. Arto Hellas
  5. Andrew Luxton-Reilly
  6. James Prather
  7. Brett A. Becker
  8. Hieke Keuning

Citations in the corpus