Evaluating Contextually Personalized Programming Exercises Created with Generative AI

Evanfiya Logacheva, Arto Hellas, James Prather, Sami Sarsa, Juho Leinonen

Research output: Chapter in Book/Report/Conference proceedingConference article in proceedingsScientificpeer-review

46 Downloads (Pure)

Abstract

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.
Original languageEnglish
Title of host publicationICER '24: Proceedings of the 2024 ACM Conference on International Computing Education Research
EditorsPaul Denny, Leo Porter, Margaret Hamilton, Briana Morrison
Place of PublicationNew York, NY, United States
PublisherACM
Pages95-113
Number of pages19
Volume1
ISBN (Electronic)979-8-4007-0475-8
DOIs
Publication statusPublished - 12 Aug 2024
MoE publication typeA4 Conference publication
EventACM Conference on International Computing Education Research - Melbourne, Australia
Duration: 12 Aug 202415 Aug 2024
Conference number: 20
https://icer2024.acm.org/

Conference

ConferenceACM Conference on International Computing Education Research
Abbreviated titleICER
Country/TerritoryAustralia
CityMelbourne
Period12/08/202415/08/2024
Internet address

Keywords

  • automatic exercise generation
  • generative AI
  • large language models
  • context personalization

Fingerprint

Dive into the research topics of 'Evaluating Contextually Personalized Programming Exercises Created with Generative AI'. Together they form a unique fingerprint.

Cite this