REAL

Template-based question generation from code using static code analysis

Alshboul, Jawad and Baksáné Varga, Erika (2025) Template-based question generation from code using static code analysis. POLLACK PERIODICA: AN INTERNATIONAL JOURNAL FOR ENGINEERING AND INFORMATION SCIENCES, 21 (2). pp. 71-79. ISSN 1788-1994

[img]
Preview
Text
606-article-p71.pdf - Published Version
Available under License Creative Commons Attribution.

Download (1MB) | Preview

Abstract

This study presents a multilingual system for automatic question generation from source code in Python, C++, Java, and C. Using static code analysis, and template-based methods; it extracts code structure and generates questions aligned with Bloom's Taxonomy. A dataset of 456 questions from 19 algorithms and three code complexity levels was used. Current systems are monolingual; this approach handles four programming languages with a unified framework. The system was evaluated using several metrics, including the overall quality score. The automatic evaluation shows that C achieved a slightly higher overall quality score of 0.59, while the other languages scored 0.57. Human evaluation complements the automated evaluation, providing educators' perspective on question quality.

Item Type: Article
Uncontrolled Keywords: programming language assessment; multilingual code parsing; Bloom's taxonomy
Subjects: T Technology / alkalmazott, műszaki tudományok > T2 Technology (General) / műszaki tudományok általában
SWORD Depositor: MTMT SWORD
Depositing User: MTMT SWORD
Date Deposited: 31 Jul 2026 11:10
Last Modified: 31 Jul 2026 11:10
URI: https://real.mtak.hu/id/eprint/243660

Actions (login required)

Edit Item Edit Item