Automated Generation of Challenge Questions for Student Code Evaluation Using Abstract Syntax Tree Embeddings and RAG: An Exploratory Study

Research output: Contribution to Book/Report typesContribution to conference proceedingspeer-review

1 Citation (Scopus)

Abstract

This paper presents an exploratory study on detecting learning gaps in student-submitted code by generating automated challenge questions. The proposed method compares the abstract syntax trees (ASTs) of student code with those of class-taught examples using embeddings and retrieval-augmented generation (RAG). The approach identifies the most structurally deviant sections of student code and generates challenge questions targeting advanced, untaught coding techniques, such as function pointers and variadic functions. The evaluation, conducted on real-world C programming assignments, demonstrates the effectiveness of the selection process and the quality of generated questions. This work highlights the potential for using structural analysis and automated challenge questions generation to improve student assessment in coding education.

Original languageEnglish
Title of host publicationICETM 2024 - Proceedings of the 2024 7th International Conference on Educational Technology Management
PublisherAssociation for Computing Machinery, Inc
Pages277-282
Number of pages6
ISBN (Electronic)9798400717468
DOIs
Publication statusPublished - 8 Mar 2025
Event7th International Conference on Educational Technology Management, ICETM 2024 - Changsha, China
Duration: 8 Nov 202410 Nov 2024

Publication series

NameICETM 2024 - Proceedings of the 2024 7th International Conference on Educational Technology Management

Conference

Conference7th International Conference on Educational Technology Management, ICETM 2024
Country/TerritoryChina
CityChangsha
Period8/11/2410/11/24

!!!Keywords

  • Code review
  • abstract syntax trees
  • educational challenge questions
  • retrieval augmented generation

Fingerprint

Dive into the research topics of 'Automated Generation of Challenge Questions for Student Code Evaluation Using Abstract Syntax Tree Embeddings and RAG: An Exploratory Study'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this