Student or educator? Sign up with your school email and get 6 months of Pro free.
CoChat

The DOI matches its Crossref record; 82 of the 82 references it cites were found in a registry or an index; 11 of the 25 sources its claims cite were checked for support.

A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Education

Open access
Doughty, Jacob, Wan, Zipiao, Bompelli, Anishka, Qayum, Jubahed, Wang, Taozhi, Zhang, Juran, Zheng, Yujia, Doyle, Aidan, Sridhar, Pragnya, Agarwal, Arav, Bogart, Christopher, Keylor, Eric, Kultur, Can, Savelka, Jaromir, Sakr, Majd · 2024 · Proceedings of the 26th Australasian Computing Education Conference

Abstract

There is a constant need for educators to develop and maintain effective up-to-date assessments. While there is a growing body of research in computing education on utilizing large language models (LLMs) in generation and engagement with coding exercises, the use of LLMs for generating programming MCQs has not been extensively explored. We analyzed the capability of GPT-4 to produce multiple-choice questions (MCQs) aligned with specific learning objectives (LOs) from Python programming classes in higher education. Specifically, we developed an LLM-powered (GPT-4) system for generation of MCQs from high-level course context and module-level LOs. We evaluated 651 LLM-generated and 449 human-crafted MCQs aligned to 246 LOs from 6 Python courses. We found that GPT-4 was capable of producing MCQs with clear language, a single correct choice, and high-quality distractors. We also observed that the generated MCQs appeared to be well-aligned with the LOs. Our findings can be leveraged by educators wishing to take advantage of the state-of-the-art generative models to support MCQ authoring efforts.

Overview

CoChat Summary

## TL;DR

The paper evaluates a GPT-4 pipeline for generating programming MCQs from course context and module-level learning objectives (LOs), comparing 651 AI-generated questions with 449 human-crafted ones across 246 LOs from 6 courses. It finds the generated MCQs are broadly comparable in quality to human-written ones, and better aligned with the intended LOs.

## Key findings

  • The study evaluated 1,100 MCQs total: 651 generated by GPT-4 and 449 human-crafted, aligned to 246 module-level LOs from 6 courses.
  • For MCQ quality (RQ1), the authors report the generated MCQs were comparable in quality to human-crafted ones, but had more problems with:
  • multiple correct answers: 4.9% of generated vs 1.1% of human-crafted MCQs;
  • distractors that gave away the answer: 4.0% of generated vs 0.9% of human-crafted MCQs.
  • For LO alignment (RQ2), generated MCQs were noticeably better aligned with the LOs than human-crafted ones; Fisher’s exact test reported p < 10^-9.
  • The paper reports 81.7% of all generated MCQs passed all evaluation criteria.

## Methods

  • Built an LLM-powered MCQ generation pipeline using GPT-4 (gpt-4-0613), high-level course context, module information, and module-level LOs; the prompt also incorporated MCQ principles, Bloom’s taxonomy, question-type examples, and a JSON output format.
  • Dataset: 246 LOs from four Python programming and two introductory data science courses; human MCQs were collected from 3 courses, manually matched to LOs, and reduced from 529 collected to 449 usable single-answer MCQs after exclusions.
  • Evaluation: 7 students and 6 CS instructor annotators applied a 6-criterion rubric to the 651 generated and 449 human-crafted MCQs; the authors used Fisher’s exact test and reported inter-rater agreement with Gwet’s AC1 and Fleiss’ κ.

## Limitations

  • The paper states that the human rater pool was limited, which may introduce bias.
  • Because the human MCQs were created before the study, the instructors did not have the rubric, and the authors say the instructors might have written questions differently if they had.
  • The authors note that their manual pairing of human MCQs to LOs may have caused some of the observed MCQ-LO misalignment.
  • The study did not evaluate live classroom utility or pedagogical impact, did not compare difficulty of generated vs human MCQs, and did not assess alignment with the learning content rather than just the LO.
  • Evident from the text: the work is limited to Python programming courses at the higher-education level, so generalizability to other languages, domains, or education levels is uncertain.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1145/3636243.3636256

Cites

82 of 82 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Figure 1 MCQ Generation Pipeline. The diagram describes the automatic MCQ generation process flowing from left to right. The input provided by the user is processed-the Bloom's taxonomy level of the provided LO is predicted which leads to determination about the appropriate type of the questions and corresponding MCQ examples. These are combined with the user input and resources from the design resources to form the system and user prompts that are submitted to the GPT-4 model outputting the generated MCQ (stem, key, distractors).
Figure 1 MCQ Generation Pipeline. The diagram describes the automatic MCQ generation process flowing from left to right. The input provided by the user is processed-the Bloom's taxonomy level of the provided LO is predicted which leads to determination about the appropriate type of the questions and corresponding MCQ examples. These are combined with the user input and resources from the design resources to form the system and user prompts that are submitted to the GPT-4 model outputting the generated MCQ (stem, key, distractors).From the PDF
Image 2
From the PDF
Figure 4 MCQ Evaluation Results. The MCQ evaluation rubric is shown on the left. On the right, the automatically generated MCQs (GPT) are compared with the human-crafted ones. The top part of the figure shows the results for the five rubric items focused on the quality of the MCQs (RQ1). The bottom part shows the rubric item addressing the LO-MCQ alignment (RQ2). The reported ratios are based on the counts of the labels after the disagreement resolution described in Section 5.
Figure 4 MCQ Evaluation Results. The MCQ evaluation rubric is shown on the left. On the right, the automatically generated MCQs (GPT) are compared with the human-crafted ones. The top part of the figure shows the results for the five rubric items focused on the quality of the MCQs (RQ1). The bottom part shows the rubric item addressing the LO-MCQ alignment (RQ2). The reported ratios are based on the counts of the labels after the disagreement resolution described in Section 5.From the PDF

Verification

Claims the paper makes

6 Valid · 0 Not valid · 7 Not checked · 72 Own results and interpretations

32 more claims

Create a free account to see all 85 claims and every source verdict.

See all claims — free account
  • Probably not a substantial claim. 34
  • It may state two separate claims as one. 20

Create a free account to see these claims.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Citations

Cites

Show all 59 references

Research works printed but not linked: 1

  1. Ali Mohamed Nabil Allam and Mohamed Hassan Haggag. 2012. The question answering systems: A survey. International Journal of Research and Reviews in Information Sciences (IJRRIS) 2, 3 (2012).

Cited by

See all 132

Metadata

Authors
Doughty, J., Wan, Z., Bompelli, A., Qayum, J., Wang, T., Zhang, J., Zheng, Y., Doyle, A., Sridhar, P., Agarwal, A., Bogart, C., Keylor, E., Kultur, C., Savelka, J., & Sakr, M.
Affiliations
  • Carnegie Mellon University (US)
  • Carnegie Mellon University, United States
Venue
Proceedings of the 26th Australasian Computing Education Conference
Publisher
ACM
Published
2024-01-29
Pages
114-123
OpenAlex
W4389471004
Cited by
132
References
59
Citations by year
2026: 50 · 2025: 59 · 2024: 23
FWCI
57.70
Type
conference paper
Language
en
Open access
Locations
  • Australasian Computing Education Conference (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • arXiv (Cornell University) (cc-by)
Topics
  • Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
  • Social Sciences › Education › Artificial Intelligence in Education
  • Physical Sciences › Computer Science › Information Systems › Educational Technology and Assessment
Keywords
GPT-4, large language models, multiple-choice question generation, Python programming education, learning objectives, distractor quality, programming assessment

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

The claim verdicts this report counts are experimental: their accuracy is not yet measured.

A language model drew the claims from the paper on 2026-10-01, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-10-01 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (gpt-6-sol).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Education. https://app.cochat.ai/papers/10.1145/3636243.3636256
The paper
Doughty, J., Wan, Z., Bompelli, A., Qayum, J., Wang, T., Zhang, J., Zheng, Y., Doyle, A., Sridhar, P., Agarwal, A., Bogart, C., Keylor, E., Kultur, C., Savelka, J., & Sakr, M. (2024). A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Education. Proceedings of the 26th Australasian Computing Education Conference. https://doi.org/10.1145/3636243.3636256

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.