SOTAVerified

AutoMCQ -- Automatically Generate Code Comprehension Questions using GenAI

2025-05-22Unverified0· sign in to hype

Martin Goodfellow, Robbie Booth, Andrew Fagan, Alasdair Lambert

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

Students often do not fully understand the code they have written. This sometimes does not become evident until later in their education, which can mean it is harder to fix their incorrect knowledge or misunderstandings. In addition, being able to fully understand code is increasingly important in a world where students have access to generative artificial intelligence (GenAI) tools, such as GitHub Copilot. One effective solution is to utilise code comprehension questions, where a marker asks questions about a submission to gauge understanding, this can also have the side effect of helping to detect plagiarism. However, this approach is time consuming and can be difficult and/or expensive to scale. This paper introduces AutoMCQ, which uses GenAI for the automatic generation of multiple-choice code comprehension questions. This is integrated with the CodeRunner automated assessment platform.

Tasks

Reproductions