Exploring the Potential of Large Language Models to Generate Formative Programming Feedback
Preprint
Abstract
Ever since the emergence of large language models (LLMs) and related applications, such as ChatGPT, its performance and error analysis for programming tasks have been subject to research. In this work-in-progress paper, we explore the potential of such LLMs for computing educators and learners, as we analyze the feedback it generates to a given input containing program code. In particular, we aim at (1) exploring how an LLM like ChatGPT responds to students seeking help with their introductory programming tasks, and (2) identifying feedback types in its responses. To achieve these goals, we used students' programming sequences from a dataset gathered within a CS1 course as input for ChatGPT along with questions required to elicit feedback and correct solutions. The results show that ChatGPT performs reasonably well for some of the introductory programming tasks and student errors, which means that students can potentially benefit. However, educators should provide guidance on how to use the provided feedback, as it can contain misleading information for novices.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Exploring the Responses of Large Language Models to Beginner Programmers’ Help Requests2023
- Transformed by Transformers: Navigating the AI Coding Revolution for Computing Education: An ITiCSE Working Group Conducted by Humans2023
- Why We Need Open Data in Computer Science Education Research2023
- Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Language2023
- Using Large Language Models to Enhance Programming Error Messages2023
- Towards Giving Timely Formative Feedback and Hints to Novice Programmers2022
- On Programming Competence and its Classification2020
- Towards a Competence Model for the Novice Programmer Using Bloom's Revised Taxonomy - An Empirical Approach2020
- A Systematic Literature Review of Automated Feedback Generation for Programming ExercisesACM Transactions on Computing Education, 2018
- Intelligent tutoring systems for programming education2018