Search and Filter

Repository Feedback

Your feedback helps us improve the repository's content relevance and usability. Please share your thoughts to help us better serve researchers and practitioners.

Submit feedback

Submit a research study

Contribute to the repository:

Add a paper

"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Models

Authors
Seth Bernstein,
Paul Denny,
Juho Leinonen,
Lauren Kan,
Arto Hellas,
Matt Littlefield,
Sami Sarsa,
Stephen MacNeil
Date
Publisher
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.
Study at a glance
  • Question: Can ChatGPT help students generate personally relevant analogies to better understand difficult computing concepts like recursion?
  • Setting and data: Analogies generated by more than 350 first-year computing students using ChatGPT.
  • Method: Analysis of analogies generated by students using ChatGPT during a learning activity.
Why it matters

Students often struggle to grasp complex computing concepts without anchoring them to familiar experiences. While good analogies can bridge this gap and aid understanding, creating effective educational analogies is difficult even for experienced instructors.

Key findings
  • More than 350 first-year computing students reported an improved understanding of recursion and enjoyed generating analogies using ChatGPT.
  • Prompts incorporating student-selected topics generated highly diverse analogies, in contrast to otherwise generic analogies produced by the tool.
  • Students described more easily remembering computing analogies that were personally and culturally relevant.

Summary drafted with AI from the paper’s abstract and may contain errors. See the full paper for details.

What is the application?
Who is the user?
Who age?