Evaluating large language models for generating programming questions from code

Abstract E-learning platforms demand effective question-generation methods, and large language models have made this easier. While recent studies focused on generating questions from text, no prior research has evaluated their ability to generate questions from code. This work presents a framework to evaluate the models in question generation from code using average scores, win rates, and Elo ratings. Python, C++, and Java code were used to prompt models. The evaluation includes automatic metrics and human evaluators. Findings show GPT-4-0314, GPT-4-0613, and GPT-3.5-turbo-0613 outperform others, with GPT-4-0314 leading in score (8.86), win rate (1.000), and Elo rating, 2616.

Link
https://doi.org/10.1556/606.2025.01471
Found by
Crossref
Authors
Jawad Alshboul, Erika Baksáné Varga
Organizations
Institute of Information Science, Faculty of Mechanical Engineering and Informatics, University of Miskolc, Miskolc-Egyetemvaros, Hungary
Categories
evaluation
Published
2026-11-09
Last seen by the radar
2026-11-11
Citations
2
Radar score
30.73 / 100 (how it is scored)
Why it scored so
Matched: evaluat; Primary record: Crossref
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Crossref