"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Models
Not on the map. Why?
Abstract (arXiv)
Grasping complex computing concepts often poses a challenge for students who struggle to anchor these new ideas to familiar experiences and understandings. To help with this, a good analogy can bridge the gap between unfamiliar concepts and familiar ones, providing an engaging way to aid understanding. However, creating effective educational analogies is difficult even for experienced instructors. We investigate to what extent large language models (LLMs), specifically ChatGPT, can provide access to personally relevant analogies on demand. Focusing on recursion, a challenging threshold concept, we conducted an investigation analyzing the analogies generated by more than 350 first-year computing students. They were provided with a code snippet and tasked to generate their own recursion-based analogies using ChatGPT, optionally including personally relevant topics in their prompts. We observed a great deal of diversity in the analogies produced with student-prescribed topics, in contrast to the otherwise generic analogies, highlighting the value of student creativity when working with LLMs. Not only did students enjoy the activity and report an improved understanding of recursion, but they described more easily remembering analogies that were personally and culturally relevant.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 8 of its 44 references that are in the map. First posted on arXiv 14 Mar 2024.
Builds on
8 of 44 references.
References · 8
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2022Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Bookcited by 84
- 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
- 2023Exploring the Responses of Large Language Models to Beginner Programmers' Help Requestscited by 44
- 2023Fluid Transformers and Creative Analogies: Exploring Large Language Models' Capacity for Augmenting Cross-Domain Analogical Creativitycited by 23
- 2024The Effects of Generative AI on Computing Students' Help-Seeking Preferencescited by 22
- 2023Generative AI in Computing Education: Perspectives of Students and Instructorscited by 17
Built on by
Citing papers per year: 2024: 3; 2025: 1; 2026: 1.
5 papers.
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 13
- 2024Breaking the Programming Language Barrier: Multilingual Prompting to Empower Non-Native English Learnerscited by 2
- 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Modelscited by 1
- 2025"All Roads Lead to ChatGPT": How Generative AI is Eroding Social Interactions and Student Learning Communitiescited by 1
- 2026AI-Generated Traces for Novice Programmers: Learning Effects and Learner Differences in a Multi-Institutional Studycited by 0
- 2026AI-Generated Traces for Novice Programmers: Learning Effects and Learner Differences in a Multi-Institutional Study2 Jun 2026
- 2025"All Roads Lead to ChatGPT": How Generative AI is Eroding Social Interactions and Student Learning Communities14 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
- 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Models15 Dec 2024