mlsanityData to 7 Oct 2026

Evaluating Contextually Personalized Programming Exercises Created with Generative AI

arXiv 2407.11994 ↗First posted 11 Jun 2024cs.HC cs.AI cs.CYcited by 13

Not on the map. Why?

Abstract (arXiv)

Programming skills are typically developed through completing various hands-on exercises. Such programming problems can be contextualized to students' interests and cultural backgrounds. Prior research in educational psychology has demonstrated that context personalization of exercises stimulates learners' situational interests and positively affects their engagement. However, creating a varied and comprehensive set of programming exercises for students to practice on is a time-consuming and laborious task for computer science educators. Previous studies have shown that large language models can generate conceptually and contextually relevant programming exercises. Thus, they offer a possibility to automatically produce personalized programming problems to fit students' interests and needs. This article reports on a user study conducted in an elective introductory programming course that included contextually personalized programming exercises created with GPT-4. The quality of the exercises was evaluated by both the students and the authors. Additionally, this work investigated student attitudes towards the created exercises and their engagement with the system. The results demonstrate that the quality of exercises generated with GPT-4 was generally high. What is more, the course participants found them engaging and useful. This suggests that AI-generated programming problems can be a worthwhile addition to introductory programming courses, as they provide students with a practically unlimited pool of practice material tailored to their personal interests and educational needs.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 17 of its 95 references that are in the map. First posted on arXiv 11 Jun 2024.

Builds on

17 of 95 references.

References · 17

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  3. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  4. 2023Should ChatGPT be Biased? Challenges and Risks of Bias in Large Language Modelscited by 144
  5. 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
  6. 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 97
  7. 2024LLaMA Beyond English: An Empirical Study on Language Capability Transfercited by 94
  8. 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
  9. 2022Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Bookcited by 84
  10. 2023CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classescited by 71
  11. 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
  12. 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
5 more
  1. 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 44
  2. 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
  3. 2023Exploring the Potential of Large Language Models to Generate Formative Programming Feedbackcited by 28
  4. 2022Automatic Generation of Programming Exercisescited by 1
  5. 2024Human-AI Co-Creation of Worked Examples for Programming Classescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 7; 2026: 3.

13 papers.

Sort: