Exploring the Potential of Large Language Models in Generating Code-Tracing Questions for Introductory Programming Courses

Aysa Xuemo Fan, Ranran Haoran Zhang, Luc Paquette, Rui Zhang
10/23/2023
cs.CLcs.CY

No confident code implementation found for this paper.

Abstract

In this paper, we explore the application of large language models (LLMs) for generating code-tracing questions in introductory programming courses. We designed targeted prompts for GPT4, guiding it to generate code-tracing questions based on code snippets and descriptions. We established a set of human evaluation metrics to assess the quality of questions produced by the model compared to those created by human experts. Our analysis provides insights into the capabilities and potential of LLMs in generating diverse code-tracing questions. Additionally, we present a unique dataset of human and LLM-generated tracing questions, serving as a valuable resource for both the education and NLP research communities. This work contributes to the ongoing dialogue on the potential uses of LLMs in educational settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fan2023exploring,
  title  = {Exploring the Potential of Large Language Models in Generating Code-Tracing Questions for Introductory Programming Courses},
  author = {Aysa Xuemo Fan and Ranran Haoran Zhang and Luc Paquette and Rui Zhang},
  year   = {2023},
  eprint = {2310.15317},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.15317v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.15317.svg)](https://codeofpaper.com/paper/2310.15317)

Discussion