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

Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programming
Jared O'Leary

In this episode I unpack Kazemitabaar et al.’s (2023) publication titled “Studying the effect of AI code generators on supporting novice learners in introductory programming,” which found that students who had access to AI code generators while learning how to code out performed students who did not have access, even when engaging in manual coding exercises.

Article

Kazemitabaar, M., Chow, J., Ka To Ma, C., Ericson, B. J., Weintrop, D., & Grossman, T. (2023). Studying the effect of AI code generators on supporting novice learners in introductory programming. Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems - CHI '23, 1-23.


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 codeauthoring performance (1.15x increased completion rate and 1.8x higher scores) while not decreasing performance on manual codemodification 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.”


Author Keywords

Large Language Models, Generative Models, AI Coding Assistants, AI-Assisted Pair-Programming, OpenAI Codex, Introductory Programming, K-12 Computer Science Education, GPT-3


My One Sentence Summary

This study found that students who had access to AI code generators while learning how to code out performed students who did not have access, even when engaging in manual coding exercises.


Some Of My Lingering Questions/Thoughts

  • How do the findings for this study compare with studies on students using Stack Overflow?


Resources/Links Relevant to This Episode

  • Other podcast episodes that were mentioned or are relevant to this episode

    • AI4ALL, Curriculum Development, and Gender Discourse with Sarah Judd

      • In this interview with Sarah Judd, we discuss what Sarah learned both in the classroom and as a CS curriculum writer, the curriculum Sarah continues to develop for AI4ALL, advice and philosophies that can guide facilitating a class and designing curriculum, some of our concerns with discourse on gender in CS, my recommended approach to sustainable professional development, and much more.

    • Empathetic Listening in Computer Science with Josh Sheldon

      • In this interview with Josh Sheldon, we discuss computational action, designing exploratory professional development experiences, learning how to listen to and empathize with students, applying SEL with teachers, the future of teaching and learning, the problems with external influences on CS education, and so much more.

    • Teaching AI in Elementary School with Charlotte Dungan

      • In this interview with Charlotte Dungan, we discuss Charlotte’s holistic approach to education, remotely teaching CS to rural communities, why Charlotte believes teaching is harder than working in industry, teaching AI in elementary school, the influence of money on research and practice, the future of work, and much more.

    • The End of Programming

      • In this episode I unpack Welsh’s (2023) publication titled “The end of programming,” which asks when generative AI will replace the need for knowing how to program.

    • Will ChatGPT Get You Caught? Rethinking of Plagiarism Detection

      • In this episode I unpack Khalil & Er’s (2023) publication titled “Will ChatGPT get you caught? Rethinking of plagiarism detection,” which explores how likely it is for plagiarism software to detect whether an essay was written by generative AI.

    • More episodes related to AI

    • All other episodes

  • More episodes related to AI



More Content