Automatic Generation of Multiple-Choice Questions for CS0 and CS1 Curricula Using Large Language Models

Tian Song*, Qinqin Tian, Yijia Xiao, Shuting Liu

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In the context of increasing attention to formative assessment in universities, Multiple Choice Question (MCQ) has become a vital assessment form for CS0 and CS1 courses due to its advantages of rapid assessment, which has brought about a significant demand for MCQ exercises. However, creating many MCQs takes time and effort for teachers. A practical method is to use large language models (LLMs) to generate MCQs automatically, but when dealing with specific domain problems, the model results may need to be more reliable. This article designs a set of prompt chains to improve the performance of LLM in education. Based on this design, we developed EduCS, which is based on GPT-3.5 and can automatically generate complete MCQs according to the CS0/CS1 course outline. To evaluate the quality of MCQs generated by EduCS, we established a set of evaluation metrics from four aspects about the three components of MCQ and the complete MCQ, and based on this, we utilized expert scoring. The experimental results indicate that while the generated questions require teacher verification before being delivered to students, they show great potential in terms of quality. The EduCS system demonstrates the ability to generate complete MCQs that can complement formative and summative assessments for students at different levels. The EduCS has great promise value in the formative assessment of CS education.

Original languageEnglish
Title of host publicationComputer Science and Education. Computer Science and Technology - 18th International Conference, ICCSE 2023, Proceedings
EditorsWenxing Hong, Geetha Kanaparan
PublisherSpringer Science and Business Media Deutschland GmbH
Pages314-324
Number of pages11
ISBN (Print)9789819707294
DOIs
Publication statusPublished - 2024
Event18th International Conference on Computer Science and Education, ICCSE 2023 - Sepang, Malaysia
Duration: 1 Dec 20237 Dec 2023

Publication series

NameCommunications in Computer and Information Science
Volume2023 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference18th International Conference on Computer Science and Education, ICCSE 2023
Country/TerritoryMalaysia
CitySepang
Period1/12/237/12/23

Keywords

  • CS education
  • GPT-3.5
  • Large Language Models
  • MCQs
  • automatic generation

Fingerprint

Dive into the research topics of 'Automatic Generation of Multiple-Choice Questions for CS0 and CS1 Curricula Using Large Language Models'. Together they form a unique fingerprint.

Cite this