Fine-Tuning GPT-4o-Mini for Programming Questions Generation

Creating programming questions that are both meaningful and educationally relevant is a critical task in computer science education. This paper introduces a fine-tuned GPT4o-mini model (C2Q). It is designed to generate meaningful questions by leveraging semantic feature extraction and well- crafted prompts. The approach addresses the limitations of traditional generative models, offering a deeper understanding of programming code and producing questions that are precise, diverse, and relevant to a given code snippets. The proposed framework incorporates essential code elements, such as control structures and method attributes, to generate questions that align with programming concepts. Evaluation metrics used were BLEU, ROUGE-1, and ROUGE-L to evaluate the model's performance. The findings reveal that the model achieves better structural coherence and conceptual relevance while focusing on contextual understanding over exact term matching. This work highlights the potential of the proposed approach to advance teaching and assessment methods in computer science.

Authors

Institutions

Publication Details

Published
2024-12-17
DOI
https://doi.org/10.1109/icca62237.2024.10928044
Citations
1
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fine-Tuning GPT-4o-Mini for Programming Questions Generation

Alaa Hesham, Abeer Hamdy
1 citations
Natural Language Processing Techniques
0.35
article

Fine-Tuning GPT-4o-Mini for Programming Questions Generation

Alaa Hesham, Abeer Hamdy
article en
1 citations

Abstract

Creating programming questions that are both meaningful and educationally relevant is a critical task in computer science education. This paper introduces a fine-tuned GPT4o-mini model (C2Q). It is designed to generate meaningful questions by leveraging semantic feature extraction and well- crafted prompts. The approach addresses the limitations of traditional generative models, offering a deeper understanding of programming code and producing questions that are precise, diverse, and relevant to a given code snippets. The proposed framework incorporates essential code elements, such as control structures and method attributes, to generate questions that align with programming concepts. Evaluation metrics used were BLEU, ROUGE-1, and ROUGE-L to evaluate the model's performance. The findings reveal that the model achieves better structural coherence and conceptual relevance while focusing on contextual understanding over exact term matching. This work highlights the potential of the proposed approach to advance teaching and assessment methods in computer science.

British University in Egypt (EG)
Openalex Percentile: Top 29%
Natural Language Processing Techniques
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.