Drawing Your Programs: Exploring the Applications of Visual-Prompting with GenAI for Teaching and Assessment

๐Ÿ“… 2026-02-11
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
This work addresses the overreliance on textual prompts in current human-AI collaborative programming, which overlooks the visual and spatial representations naturally employed by programmers during design. It systematically proposes and empirically validates, for the first time, that hand-drawn problem decomposition diagrams produced by students can serve as effective visual prompts to directly guide multimodal generative AI modelsโ€”such as GPT-4oโ€”in producing correct code. Drawing on large-scale data from an introductory Python programming course, the study demonstrates that this approach significantly extends the application paradigm of generative AI in programming education and assessment, offering preliminary evidence for the efficacy of multimodal prompting in computing education.

Technology Category

Application Category

๐Ÿ“ 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 constructed decomposition diagrams that were used to prompt GPT-4.1 for code generation. We demonstrate that current models are very successful in their ability to generate code from student-constructed diagrams. We conclude by exploring the implications of embracing multimodal prompting for computing education, particularly in the context of assessment.
Problem

Research questions and friction points this paper is trying to address.

visual prompting
Generative AI
programming education
multimodal interaction
code generation
Innovation

Methods, ideas, or system contributions that make the work stand out.

visual prompting
multimodal GenAI
program decomposition diagrams
code generation
computing education
๐Ÿ”Ž Similar Papers
No similar papers found.