Feedback-Generation for Programming Exercises With GPT-4
Not on the map. Why?
Abstract (arXiv)
Ever since Large Language Models (LLMs) and related applications have become broadly available, several studies investigated their potential for assisting educators and supporting students in higher education. LLMs such as Codex, GPT-3.5, and GPT 4 have shown promising results in the context of large programming courses, where students can benefit from feedback and hints if provided timely and at scale. This paper explores the quality of GPT-4 Turbo's generated output for prompts containing both the programming task specification and a student's submission as input. Two assignments from an introductory programming course were selected, and GPT-4 was asked to generate feedback for 55 randomly chosen, authentic student programming submissions. The output was qualitatively analyzed regarding correctness, personalization, fault localization, and other features identified in the material. Compared to prior work and analyses of GPT-3.5, GPT-4 Turbo shows notable improvements. For example, the output is more structured and consistent. GPT-4 Turbo can also accurately identify invalid casing in student programs' output. In some cases, the feedback also includes the output of the student program. At the same time, inconsistent feedback was noted such as stating that the submission is correct but an error needs to be fixed. The present work increases our understanding of LLMs' potential, limitations, and how to integrate them into e-assessment systems, pedagogical scenarios, and instructing students who are using applications based on GPT-4.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 12 of its 44 references that are in the map. First posted on arXiv 7 Mar 2024.
Builds on
12 of 44 references.
References · 12
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2022Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Bookcited by 84
- 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
- 2023Computing Education in the Era of Generative AIcited by 50
- 2023Large Language Models (GPT) Struggle to Answer Multiple-Choice Questions about Codecited by 31
- 2023Large Language Models in Fault Localisationcited by 28
- 2023Exploring the Potential of Large Language Models to Generate Formative Programming Feedbackcited by 28
- 2023Next-Step Hint Generation for Introductory Programming Using Large Language Modelscited by 20
- 2023Large Language Models in Introductory Programming Education: ChatGPT's Performance and Implications for Assessmentscited by 10
- 2023AI-enhanced Auto-correction of Programming Exercises: How Effective is GPT-3.5?cited by 8
Built on by
Citing papers per year: 2024: 6; 2025: 6; 2026: 2.
14 papers.
Sort:
By area:
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 13
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 12
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Coursecited by 11
- 2024Are Large Language Models Good Essay Graders?cited by 11
- 2024Evaluating the Application of Large Language Models to Generate Feedback in Programming Educationcited by 10
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
- 2025Simulating Students with Large Language Models: A Review of Architecture, Mechanisms, and Role Modelling in Education with Generative AIcited by 5
- 2025The Role of Generative AI in Software Student CollaborAItioncited by 2
- 2025Assessing Large Language Models for Automated Feedback Generation in Learning Programming Problem Solvingcited by 2
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?cited by 1
- 2026Evaluating adaptive and generative AI-based feedback and recommendations in a knowledge-graph-integrated programming learning systemcited by 1
- 2026Evaluating adaptive and generative AI-based feedback and recommendations in a knowledge-graph-integrated programming learning system26 Mar 2026
- 2026Reviewing the Reviewer: LLM-Assisted Reviewer Feedback Generation for Guideline Compliance17 Jan 2026
- 2025Simulating Students with Large Language Models: A Review of Architecture, Mechanisms, and Role Modelling in Education with Generative AI8 Nov 2025
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics31 Mar 2025
- 2025Assessing Large Language Models for Automated Feedback Generation in Learning Programming Problem Solving18 Mar 2025
- 2025Prompt-Based Cost-Effective Evaluation and Operation of ChatGPT as a Computer Programming Teaching Assistant24 Jan 2025
- 2025The Role of Generative AI in Software Student CollaborAItion23 Jan 2025
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools19 Dec 2024
- 2024Large Language Models in Computer Science Education: A Systematic Literature Review21 Oct 2024
- 2024Are Large Language Models Good Essay Graders?19 Sep 2024
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course30 Jul 2024
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 13
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 12
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Coursecited by 11
- 2024Are Large Language Models Good Essay Graders?cited by 11
- 2024Evaluating the Application of Large Language Models to Generate Feedback in Programming Educationcited by 10
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
- 2025Simulating Students with Large Language Models: A Review of Architecture, Mechanisms, and Role Modelling in Education with Generative AIcited by 5
- 2025The Role of Generative AI in Software Student CollaborAItioncited by 2
- 2025Assessing Large Language Models for Automated Feedback Generation in Learning Programming Problem Solvingcited by 2
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?cited by 1
- 2025Prompt-Based Cost-Effective Evaluation and Operation of ChatGPT as a Computer Programming Teaching Assistantcited by 0
12 most cited of 13 All 13 (JSON)
- 2026Reviewing the Reviewer: LLM-Assisted Reviewer Feedback Generation for Guideline Compliance17 Jan 2026
- 2025Simulating Students with Large Language Models: A Review of Architecture, Mechanisms, and Role Modelling in Education with Generative AI8 Nov 2025
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics31 Mar 2025
- 2025Assessing Large Language Models for Automated Feedback Generation in Learning Programming Problem Solving18 Mar 2025
- 2025Prompt-Based Cost-Effective Evaluation and Operation of ChatGPT as a Computer Programming Teaching Assistant24 Jan 2025
- 2025The Role of Generative AI in Software Student CollaborAItion23 Jan 2025
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools19 Dec 2024
- 2024Large Language Models in Computer Science Education: A Systematic Literature Review21 Oct 2024
- 2024Are Large Language Models Good Essay Graders?19 Sep 2024
- 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Course30 Jul 2024
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPT29 May 2024
12 newest of 13 All 13 (JSON)