Exploring AI-Driven Programming Exercise Generation

dc.contributor.authorRytilahti, Juuso
dc.contributor.authorWeerakoon, Oshani
dc.contributor.authorKaila, Erkki
dc.contributor.organizationfi=ohjelmistotekniikka|en=Software Engineering|
dc.contributor.organization-code1.2.246.10.2458963.20.71310837563
dc.converis.publication-id477329972
dc.converis.urlhttps://research.utu.fi/converis/portal/Publication/477329972
dc.date.accessioned2025-08-28T03:36:29Z
dc.date.available2025-08-28T03:36:29Z
dc.description.abstract<p>Large language models(LLMs) are transforming how teachers work. In this paper, we observe several experimental approaches to generating software programming exercises by utilizing ChatGPT, a popular and open LLM. The generation of these exercises was tightly connected to a large Python programming course that was targeted at students studying in Information Technology, Software Engineering, and Computing. We experimented with three separate approaches. In the first one, we generated new programming exercises with a specific topic using theme injection. In the second one, we generated variations of existing programming exercises by changing the theme or content. In the third one, we generated hybrid exercises by injecting original programming exercises with additional topics or other related exercises. Based on our results, all three approaches showed potential but also revealed limitations. The exercise generation with theme injection can produce fully functional exercises. However, these exercises could appear to students as too generic or erroneous. The exercise variations seem to retain the semantic meaning of the original exercise quite well while still using different context. We also tested the variations in a large introductory programming course and found out that the students could not distinguish them from human-generated exercises in style or quality. The hybrid exercises were built upon the idea of exploring how close we are to fully adaptive learning environments in the field of programming education. The current results of this approach show that we need to do further experimentation to maybe reach the goal. All in all, it was evident that LLMs can be a useful tool in assisting teachers in generating exercises. Even with certain coherent limitations, they are useful in particular cases. We conclude our article by discussing the future possibilities of LLMs, including but not limited to dynamic, automatically generated exercises and fully adaptive learning environments.</p>
dc.format.pagerange708
dc.format.pagerange716
dc.identifier.eisbn978-91-88041-55-5
dc.identifier.jour-issn2002-1593
dc.identifier.olddbid210888
dc.identifier.oldhandle10024/193915
dc.identifier.urihttps://www.utupub.fi/handle/11111/56651
dc.identifier.urlhttps://cdio.org/knowledge-library/documents/exploring-ai-driven-programming-exercise-generation
dc.identifier.urnURN:NBN:fi-fe2025082790700
dc.language.isoen
dc.okm.affiliatedauthorRytilahti, Juuso
dc.okm.affiliatedauthorWeerakoon, Oshani
dc.okm.affiliatedauthorKaila, Erkki
dc.okm.discipline113 Computer and information sciencesen_GB
dc.okm.discipline113 Tietojenkäsittely ja informaatiotieteetfi_FI
dc.okm.internationalcopublicationnot an international co-publication
dc.okm.internationalityInternational publication
dc.okm.typeA4 Conference Article
dc.publisher.countrySwedenen_GB
dc.publisher.countryRuotsifi_FI
dc.publisher.country-codeSE
dc.relation.conferenceInternational CDIO Conference
dc.relation.ispartofjournalProceedings of the International CDIO Conference
dc.relation.volume20
dc.source.identifierhttps://www.utupub.fi/handle/10024/193915
dc.titleExploring AI-Driven Programming Exercise Generation
dc.title.bookProceedings of the 20th International CDIO Conference
dc.year.issued2024

Tiedostot

Näytetään 1 - 1 / 1
Ladataan...
Name:
721_CDIO 2024 Proceedings_0.pdf
Size:
334.17 KB
Format:
Adobe Portable Document Format