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

02/15/2023
by   Majeed Kazemitabaar, et al.
0

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.

READ FULL TEXT

page 1

page 4

page 7

page 9

page 10

page 11

research
09/19/2023

Learning from Teaching Assistants to Program with Subgoals: Exploring the Potential for AI Teaching Assistants

With recent advances in generative AI, conversational models like ChatGP...
research
06/08/2023

Enhancing Robustness of AI Offensive Code Generators via Data Augmentation

In this work, we present a method to add perturbations to the code descr...
research
08/13/2021

Code Perfumes: Reporting Good Code to Encourage Learners

Block-based programming languages like Scratch enable children to be cre...
research
12/12/2022

Who Evaluates the Evaluators? On Automatic Metrics for Assessing AI-based Offensive Code Generators

AI-based code generators are an emerging solution for automatically writ...
research
12/07/2021

Understanding Distributed Tutorship in Online Language Tutoring

With the rise of the gig economy, online language tutoring platforms are...
research
04/18/2023

The ABC of Pair Programming: Gender-dependent Attitude, Behavior and Code of Young Learners

Young learners are increasingly introduced to programming, and one of th...
research
03/06/2023

xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrieval

The ability to solve problems is a hallmark of intelligence and has been...

Please sign up or login with your details

Forgot password? Click here to reset