Explaining Code with a Purpose: An Integrated Approach for Developing Code Comprehension and Prompting Skills
Not on the map. Why?
Abstract (arXiv)
Reading, understanding and explaining code have traditionally been important skills for novices learning programming. As large language models (LLMs) become prevalent, these foundational skills are more important than ever given the increasing need to understand and evaluate model-generated code. Brand new skills are also needed, such as the ability to formulate clear prompts that can elicit intended code from an LLM. Thus, there is great interest in integrating pedagogical approaches for the development of both traditional coding competencies and the novel skills required to interact with LLMs. One effective way to develop and assess code comprehension ability is with ``Explain in plain English'' (EiPE) questions, where students succinctly explain the purpose of a fragment of code. However, grading EiPE questions has always been difficult given the subjective nature of evaluating written explanations and this has stifled their uptake. In this paper, we explore a natural synergy between EiPE questions and code-generating LLMs to overcome this limitation. We propose using an LLM to generate code based on students' responses to EiPE questions -- not only enabling EiPE responses to be assessed automatically, but helping students develop essential code comprehension and prompt crafting skills in parallel. We investigate this idea in an introductory programming course and report student success in creating effective prompts for solving EiPE questions. We also examine student perceptions of this activity and how it influences their views on the use of LLMs for aiding and assessing learning.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). First posted on arXiv 10 Mar 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 5; 2025: 2; 2026: 4.
11 papers.
- 2024Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learningcited by 16
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 14
- 2025From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactionscited by 4
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learnerscited by 2
- 2024Integrating Natural Language Prompting Tasks in Introductory Programming Coursescited by 1
- 2025Concept Attractors in LLMs and their Applicationscited by 1
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomescited by 1
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Taskscited by 0
- 2026Exploring the Effectiveness of Using LLMs for Automated Assessment of Student Self Explanations in Programming Educationcited by 0
- 2026Commenting with Copilot: A Taxonomy and Multi-Year Analysis of Student Code-Generation Specificationscited by 0
- 2026Is Solving Better Than Evaluating GenAI Solutions?cited by 0
- 2026Is Solving Better Than Evaluating GenAI Solutions?30 Jul 2026
- 2026Commenting with Copilot: A Taxonomy and Multi-Year Analysis of Student Code-Generation Specifications12 Jul 2026
- 2026Exploring the Effectiveness of Using LLMs for Automated Assessment of Student Self Explanations in Programming Education20 May 2026
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomes23 Mar 2026
- 2025Concept Attractors in LLMs and their Applications30 Dec 2025
- 2025From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactions25 Apr 2025
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools19 Dec 2024
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learners17 Dec 2024
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks17 Oct 2024
- 2024Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learning11 Oct 2024
- 2024Integrating Natural Language Prompting Tasks in Introductory Programming Courses4 Oct 2024