mlsanityData to 7 Oct 2026

Integrating Natural Language Prompting Tasks in Introductory Programming Courses

arXiv 2410.03063 ↗First posted 4 Oct 2024cs.CY cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Introductory programming courses often emphasize mastering syntax and basic constructs before progressing to more complex and interesting programs. This bottom-up approach can be frustrating for novices, shifting the focus away from problem solving and potentially making computing less appealing to a broad range of students. The rise of generative AI for code production could partially address these issues by fostering new skills via interaction with AI models, including constructing high-level prompts and evaluating code that is automatically generated. In this experience report, we explore the inclusion of two prompt-focused activities in an introductory course, implemented across four labs in a six-week module. The first requires students to solve computational problems by writing natural language prompts, emphasizing problem-solving over syntax. The second involves students crafting prompts to generate code equivalent to provided fragments, to foster an understanding of the relationship between prompts and code. Most of the students in the course had reported finding programming difficult to learn, often citing frustrations with syntax and debugging. We found that self-reported difficulty with learning programming had a strong inverse relationship with performance on traditional programming assessments such as tests and projects, as expected. However, performance on the natural language tasks was less strongly related to self-reported difficulty, suggesting they may target different skills. Learning how to communicate with AI coding models is becoming an important skill, and natural language prompting tasks may appeal to a broad range of students.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 11 of its 32 references that are in the map. First posted on arXiv 4 Oct 2024.

Builds on

11 of 32 references.

References · 11

  1. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
  2. 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
  3. 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
  4. 2022Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Languagecited by 81
  5. 2023Computing Education in the Era of Generative AIcited by 50
  6. 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 46
  7. 2023Prompt Problems: A New Programming Exercise for the Generative AI Eracited by 31
  8. 2024How Beginning Programmers and Code LLMs (Mis)read Each Othercited by 31
  9. 2024Explaining Code with a Purpose: An Integrated Approach for Developing Code Comprehension and Prompting Skillscited by 11
  10. 2021Students Struggle to Explain Their Own Program Codecited by 3
  11. 2023Code Generation Based Grading: Evaluating an Auto-grading Mechanism for "Explain-in-Plain-English" Questionscited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.