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

Seth Bernstein, Paul Denny, Juho Leinonen, Lauren Kan, Arto Hellas, Matt Littlefield, Sami Sarsa, Stephen Macneil

Research output: Chapter in Book/Report/Conference proceedingConference article in proceedingsScientificpeer-review

7 Citations (Scopus)
32 Downloads (Pure)

Abstract

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.

Original languageEnglish
Title of host publicationITiCSE 2024 - Proceedings of the 2024 Conference Innovation and Technology in Computer Science Education
PublisherACM
Pages122-128
Number of pages7
ISBN (Electronic)979-8-4007-0600-4
DOIs
Publication statusPublished - 3 Jul 2024
MoE publication typeA4 Conference publication
EventAnnual Conference on Innovation & Technology in Computer Science Education - Università degli Studi di Milano, Milan, Italy
Duration: 8 Jul 202410 Jul 2024
Conference number: 29
https://iticse.acm.org/2024/

Conference

ConferenceAnnual Conference on Innovation & Technology in Computer Science Education
Abbreviated titleITiCSE
Country/TerritoryItaly
CityMilan
Period08/07/202410/07/2024
Internet address

Keywords

  • analogies
  • computing education
  • large language models

Fingerprint

Dive into the research topics of '"Like a Nesting Doll" : Analyzing Recursion Analogies Generated by CS Students Using Large Language Models'. Together they form a unique fingerprint.

Cite this