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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bernstein, Seth, Denny, Paul, Leinonen, Juho, Kan, Lauren, Hellas, Arto, Littlefield, Matt, Sarsa, Sami, MacNeil, Stephen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929314111422464
author Bernstein, Seth
Denny, Paul
Leinonen, Juho
Kan, Lauren
Hellas, Arto
Littlefield, Matt
Sarsa, Sami
MacNeil, Stephen
author_facet Bernstein, Seth
Denny, Paul
Leinonen, Juho
Kan, Lauren
Hellas, Arto
Littlefield, Matt
Sarsa, Sami
MacNeil, Stephen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_09409
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle "Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Models
Bernstein, Seth
Denny, Paul
Leinonen, Juho
Kan, Lauren
Hellas, Arto
Littlefield, Matt
Sarsa, Sami
MacNeil, Stephen
Human-Computer Interaction
Artificial Intelligence
Computation and Language
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.
title "Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Models
topic Human-Computer Interaction
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2403.09409