Drawing Your Programs: Exploring the Applications of Visual-Prompting with GenAI for Teaching and Assessment
David H. Smith IV, S. Moonwara A. Monisha, Annapurna Vadaparty, Leo Porter, Daniel Zingaro

TL;DR
This paper explores the use of visual prompts, like diagrams, in human-AI collaborative programming, showing that multimodal prompts can enhance teaching and assessment in computing education.
Contribution
It introduces the concept of visual and spatial prompts for GenAI in programming, demonstrating their effectiveness in code generation and potential for educational assessment.
Findings
GPT-4.1 successfully generates code from student-created diagrams.
Visual prompts outperform text prompts in certain programming tasks.
Multimodal prompting offers new avenues for teaching and evaluating programming skills.
Abstract
When designing a program, both novice programmers and seasoned developers alike often sketch out -- or, perhaps more famously, whiteboard -- their ideas. Yet despite the introduction of natively multimodal Generative AI models, work on Human-GenAI collaborative coding has remained overwhelmingly focused on textual prompts -- largely ignoring the visual and spatial representations that programmers naturally use to reason about and communicate their designs. In this proposal and position paper, we argue and provide tentative evidence that this text-centric focus overlooks other forms of prompting GenAI models, such as problem decomposition diagrams functioning as prompts for code generation in their own right enabling new types of programming activities and assessments. To support this position, we present findings from a large introductory Python programming course, where students…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTeaching and Learning Programming · Data Visualization and Analytics · Intelligent Tutoring Systems and Adaptive Learning
