Search and Filter

Repository Feedback

Your feedback helps us improve the repository's content relevance and usability. Please share your thoughts to help us better serve researchers and practitioners.

Submit feedback

Submit a research study

Contribute to the repository:

Add a paper

Evaluating Contextually Personalized Programming Exercises Created with Generative AI

Date
Publisher
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.
Study at a glance
  • Question: How do educators and learners evaluate personalized programming problems generated by GPT-4, and how do students use them?
  • Setting and data: Open online introductory Dart programming course at Aalto University in Finland, March 2024, 68 students fetching exercises and 47 solving them.
  • Method: Expert rubric evaluation of exercises, student surveys, and descriptive log analysis (user study).
Why it matters

Personalizing programming problems to learner interests may enhance engagement and reduce boredom, but manually creating varied exercises is labor-intensive for educators.

Key findings
  • Experts rated 96.5% of the 283 GPT-4-generated exercises as clear and 96.1% as matching their theme, though 64% featured only shallow personalization.
  • Student survey responses were overwhelmingly positive, with over half strongly agreeing that exercises were clear, engaging, useful, and matched their selected themes and concepts.
  • Students actively preferred selecting specific themes over random ones across all course chapters, with food and video games emerging as the most popular.

Summary drafted with AI from the full paper and may contain errors. See the full paper for details.

What is the application?
Who is the user?
Who age?