Prompt Problems: A New Programming Exercise for the Generative AI Era

生成语法 计算机科学 人工智能 程序设计语言
作者
Paul Denny,Juho Leinonen,James Prather,Andrew Luxton-Reilly,Thezyrie Amarouche,Brett A. Becker,Brent N. Reeves
标识
DOI:10.1145/3626252.3630909
摘要

Large language models (LLMs) are revolutionizing the field of computing education with their powerful code-generating capabilities. Traditional pedagogical practices have focused on code writing tasks, but there is now a shift in importance towards reading, comprehending and evaluating LLM-generated code. Alongside this shift, an important new skill is emerging -- the ability to solve programming tasks by constructing good prompts for code-generating models. In this work we introduce a new type of programming exercise to hone this nascent skill: 'Prompt Problems'. Prompt Problems are designed to help students learn how to write effective prompts for AI code generators. A student solves a Prompt Problem by crafting a natural language prompt which, when provided as input to an LLM, outputs code that successfully solves a specified programming task. We also present a new web-based tool called Promptly which hosts a repository of Prompt Problems and supports the automated evaluation of prompt-generated code. We deploy Promptly in one CS1 and one CS2 course and describe our experiences, which include student perceptions of this new type of activity and their interactions with the tool. We find that students are enthusiastic about Prompt Problems, and appreciate how the problems engage their computational thinking skills and expose them to new programming constructs. We discuss ideas for the future development of new variations of Prompt Problems, and the need to carefully study their integration into classroom practice.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
王文茹完成签到,获得积分10
刚刚
1秒前
哈哈哈哈发布了新的文献求助10
1秒前
1秒前
03完成签到,获得积分10
1秒前
1秒前
1秒前
2秒前
2秒前
Liu发布了新的文献求助10
2秒前
2秒前
高山和鸟完成签到,获得积分10
3秒前
3秒前
嘻哈发布了新的文献求助10
3秒前
美年达发布了新的文献求助10
3秒前
youwu发布了新的文献求助10
3秒前
3秒前
贪玩的新筠完成签到,获得积分10
3秒前
何香稳发布了新的文献求助10
4秒前
涟漪发布了新的文献求助10
4秒前
小林完成签到,获得积分10
4秒前
赫兹完成签到,获得积分20
4秒前
田様应助背后的白安采纳,获得10
5秒前
Akim应助sciscisci采纳,获得10
5秒前
Orange应助高大奇迹采纳,获得10
5秒前
铃兰发布了新的文献求助10
6秒前
量子星尘发布了新的文献求助10
6秒前
6秒前
俏皮谷蓝完成签到,获得积分10
6秒前
ZeKaWa应助9527King采纳,获得10
7秒前
7秒前
潇洒书竹完成签到,获得积分10
7秒前
好名字发布了新的文献求助10
7秒前
LDDD发布了新的文献求助10
7秒前
8秒前
明亮的茉莉完成签到 ,获得积分10
8秒前
03发布了新的文献求助10
9秒前
youwu完成签到,获得积分10
9秒前
iTaciturne完成签到,获得积分10
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1581
Encyclopedia of Agriculture and Food Systems Third Edition 1500
以液相層析串聯質譜法分析糖漿產品中活性雙羰基化合物 / 吳瑋元[撰] = Analysis of reactive dicarbonyl species in syrup products by LC-MS/MS / Wei-Yuan Wu 1000
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 800
Biology of the Reptilia. Volume 21. Morphology I. The Skull and Appendicular Locomotor Apparatus of Lepidosauria 600
Pediatric Nutrition 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5546309
求助须知:如何正确求助?哪些是违规求助? 4632193
关于积分的说明 14625447
捐赠科研通 4573861
什么是DOI,文献DOI怎么找? 2507851
邀请新用户注册赠送积分活动 1484503
关于科研通互助平台的介绍 1455714