Data structures are used to format, store, and access data and are a critical foundation of computing education and programming pedagogy. However, students unfamiliar with them may struggle to conceptualize these computational building blocks more abstractly. In recognition that the same descriptions may not resonate with all populations of students, we sought to explore how large language models (LLMs) can aid in contextual content creation of data structure explanations. Given that learners may come from a range of backgrounds, in this work, we focused on tailoring content to connect with a particular community, Hispanic or Latine students in the United States (U.S.). As a first step, we developed six prompts, each asking about six data structures, using them as input across six different LLMs. We applied discourse analysis to compare the (n = 216) outputs, utilizing established measures of culture to quantify patterns. The responses generated often centered on cuisine, followed by familial relationships, and then events. The majority of the outputs were in English, with some Spanish phrases applied, although the proportion of Spanish could increase in prompts specifying role play scenarios. Yet, given the broad framing, many of the examples followed suit. As such, the second phase applied the prompt identified as having the highest cultural relevance in the first phase to further scope to the population of a specific region, nationalities predominant in the southeastern region of the U.S. In particular, we explored possible explanations of data structures based on specifying 10 nationalities as part of the input across the six platforms. Additional analyses of the (n = 360) responses yielded further insight into more tailored examples to resonate with different populations with a high population density in this region. Again, culinary examples were the most prevalent; however, there was more specificity of dishes referenced. The outputs often provided step-by-step instructions, and these were frequently either entirely or mostly in English. In this paper, we share our approach, detailing the implications and potential ethical concerns. We also provide guidelines around how LLMs may aid in creating educational materials that could resonate with different groups.
http://orcid.org/0000-0003-3840-1822
Florida International University
[biography]
Are you a researcher? Would you like to cite this paper? Visit the ASEE document repository at peer.asee.org for more tools and easy citations.