mlsanityData to 7 Oct 2026

Promptly: Using Prompt Problems to Teach Learners How to Effectively Utilize AI Code Generators

arXiv 2307.16364 ↗First posted 31 Jul 2023cs.HC cs.AIcited by 16

Not on the map. Why?

Abstract (arXiv)

With their remarkable ability to generate code, large language models (LLMs) are a transformative technology for computing education practice. They have created an urgent need for educators to rethink pedagogical approaches and teaching strategies for newly emerging skill sets. Traditional approaches to learning programming have focused on frequent and repeated practice at writing code. The ease with which code can now be generated has resulted in a shift in focus towards reading, understanding and evaluating LLM-generated code. In parallel with this shift, a new essential skill is emerging -- the ability to construct good prompts for code-generating models. This paper introduces a novel pedagogical concept known as a `Prompt Problem', designed to help students learn how to craft effective prompts for LLMs. A Prompt Problem challenges a student to create a natural language prompt that leads an LLM to produce the correct code for a specific problem. To support the delivery of Prompt Problems at scale, in this paper we also present a novel tool called Promptly which hosts a repository of Prompt Problems and automates the evaluation of prompt-generated code. We report empirical findings from a field study in which Promptly was deployed in a first-year Python programming course (n=54). We explore student interactions with the tool and their perceptions of the Prompt Problem concept. We found that Promptly was largely well-received by students for its ability to engage their computational thinking skills and expose them to new programming constructs. We also discuss avenues for future work, including variations on the design of Prompt Problems and the need to study their integration into the curriculum and teaching practice.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 12 of its 37 references that are in the map. First posted on arXiv 31 Jul 2023.

Builds on

12 of 37 references.

References · 12

  1. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  2. 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
  3. 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 97
  4. 2023Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programmingcited by 87
  5. 2022Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Bookcited by 84
  6. 2022Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Languagecited by 81
  7. 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
  8. 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
  9. 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 62
  10. 2023Computing Education in the Era of Generative AIcited by 50
  11. 2023On the Educational Impact of ChatGPT: Is Artificial Intelligence Ready to Obtain a University Degree?cited by 47
  12. 2023StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Codecited by 32

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 9; 2025: 4.

16 papers.

Sort:

By area:

  1. 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
  2. 2023Impact of Guidance and Interaction Strategies for LLM Use on Learner Performance and Perceptioncited by 19
  3. 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 13
  4. 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Coursecited by 11
  5. 2023More Robots are Coming: Large Multimodal Models (ChatGPT) can Solve Visually Diverse Images of Parsons Problemscited by 10
  6. 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
  7. 2024"ChatGPT Is Here to Help, Not to Replace Anybody" -- An Evaluation of Students' Opinions On Integrating ChatGPT In CS Coursescited by 6
  8. 2024Substance Beats Style: Why Beginning Students Fail to Code with LLMscited by 5
  9. 2024Bioinformatics and Biomedical Informatics with ChatGPT: Year One Reviewcited by 4
  10. 2024Pinning "Reflection" on the Agenda: Investigating Reflection in Human-LLM Co-Creation for Creative Codingcited by 3
  11. 2024"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPTcited by 2
  12. 2025The Role of Generative AI in Software Student CollaborAItioncited by 2
4 more
  1. 2025Use Me Wisely: AI-Driven Assessment for LLM Prompting Skills Developmentcited by 2
  2. 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implicationscited by 2
  3. 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Modelscited by 1
  4. 2025Learning to Use AI for Learning: Teaching Responsible Use of AI Chatbot to K-12 Students Through an AI Literacy Modulecited by 1