Exploring the Value of Diverse LLM Explanations in Introductory Programming
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have shown the potential to generate code explanations that surpass those of peers in quality, offering promising opportunities for computer science education. While these explanations may not yet match the depth and clarity of instructor-provided explanations, research in computational creativity highlights that the quantity and diversity of ideas can often outweigh a singular focus on quality. Inspired by this, we explore whether combining multiple diverse explanations, each emphasizing distinct aspects (e.g., function, concept, goal), can enhance students' understanding of programming exercises compared to generic explanations that do not emphasize distinct conceptual aspects. In our study 971 first-year computing students were randomly assigned either diverse or generic LLM-generated explanations for two programming exercises. Students completed multiple-choice and open-ended questions for each exercise, followed by Likert-scale questions and open-ended reflections. Our findings outline patterns in student performance and perceived cognitive load across the two explanation conditions. These findings highlight how variation in explanation emphasis may relate to learner engagement and understanding. Across participants, open-ended response accuracy was consistently about 7.7% higher when students received diverse explanations, with no difference in perceived cognitive load.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 35 references that are in the map. First posted on arXiv 27 Jun 2026.
Builds on
4 of 35 references.
References · 4
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 86
- 2024The Effects of Generative AI on Computing Students' Help-Seeking Preferencescited by 23
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AIcited by 13
- 2025Beyond the Benefits: A Systematic Review of the Harms and Consequences of Generative AI in Computing Educationcited by 4
Built on by
Not cited yet.