Interactions with Prompt Problems: A New Way to Teach Programming with Large Language Models

James Prather, Paul Denny, Juho Leinonen, David H. Smith, Brent N. Reeves +5 more
1/19/2024
cs.HCcs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Large Language Models (LLMs) have upended decades of pedagogy in computing education. Students previously learned to code through \textit{writing} many small problems with less emphasis on code reading and comprehension. Recent research has shown that free code generation tools powered by LLMs can solve introductory programming problems presented in natural language with ease. In this paper, we propose a new way to teach programming with Prompt Problems. Students receive a problem visually, indicating how input should be transformed to output, and must translate that to a prompt for an LLM to decipher. The problem is considered correct when the code that is generated by the student prompt can pass all test cases. In this paper we present the design of this tool, discuss student interactions with it as they learn, and provide insights into this new class of programming problems as well as the design tools that integrate LLMs.

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. 2 weaker matches are hidden by default — 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{prather2024interactions,
  title  = {Interactions with Prompt Problems: A New Way to Teach Programming with Large Language Models},
  author = {James Prather and Paul Denny and Juho Leinonen and David H. Smith and Brent N. Reeves and Stephen MacNeil and Brett A. Becker and Andrew Luxton-Reilly and Thezyrie Amarouche and Bailey Kimmel},
  year   = {2024},
  eprint = {2401.10759},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.10759v1}
}

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/2401.10759.svg)](https://codeofpaper.com/paper/2401.10759)

Discussion