English

Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Models

Computers and Society 2025-09-15 v2 Artificial Intelligence

Abstract

Computing students increasingly rely on generative AI tools for programming assistance, often without formal instruction or guidance. This highlights a need to teach students how to effectively interact with AI models, particularly through natural language prompts, to generate and critically evaluate code for solving computational tasks. To address this, we developed a novel platform for prompt programming that enables authentic dialogue-based interactions, supports problems involving multiple interdependent functions, and offers on-request execution of generated code. Data analysis from over 900 students in an introductory programming course revealed high engagement, with the majority of prompts occurring within multi-turn dialogues. Problems with multiple interdependent functions encouraged iterative refinement, with progression graphs highlighting several common strategies. Students were highly selective about the code they chose to test, suggesting that on-request execution of generated code promoted critical thinking. Given the growing importance of learning dialogue-based programming with AI, we provide this tool as a publicly accessible resource, accompanied by a corpus of programming problems for educational use.

Keywords

Cite

@article{arxiv.2503.04267,
  title  = {Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Models},
  author = {Victor-Alexandru Pădurean and Paul Denny and Alkis Gotovos and Adish Singla},
  journal= {arXiv preprint arXiv:2503.04267},
  year   = {2025}
}

Comments

ITiCSE'25 paper

R2 v1 2026-06-28T22:08:57.500Z