ABSTRACT
This research found that some students conflate Python lists and dictionaries. This confusion could result from the visual similarity between the data-structures in Python print output. The goal of this research was to identify student's misconceptions about Python dictionaries. The data was collected in one-on-one, think-aloud interviews with two participants. When coding, one student treated her dictionary as if it were a literal list of two-element lists and could be accessed as such. Additionally, when asked to draw a visualization of dictionaries, she drew a representation that was identical to Python print output. It is likely that the output she is used to dealing with has shaped this visualization. This may be an example of negative transfer, where people transfer knowledge to a new setting and form an incorrect model. Based upon this research, educators should consider how print output can shape incorrect mental models, as well as emphasize the differences between lists and dictionaries.
- Bransford, J. D., Brown, A., & Cocking, R. (2000). How people learn: Mind, brain, experience and school, expanded edition. DC: National Academy Press, Washington.Google Scholar
- Clancy, M. (2004). Misconceptions and Attitudes that Interfere with Learning to Program. In Fincher, S. & Petre, M. (Eds.), Computer Science Education Research (pp. 85--100). New York: Taylor & Francis.Google Scholar
Index Terms
- Students' (Mis)Understanding of Dictionaries (Abstract Only)
Recommendations
Investigating the Roles of Knowledge and Cognitive Abilities in Older Adult Information Seeking on the Web
This study investigated the influences of knowledge, particularly Internet, Web browser, and search engine knowledge, as well as cognitive abilities on older adult information seeking on the Internet. The emphasis on aspects of cognition was informed by ...
"Woe is me": Examining Older Adults' Perceptions of Privacy
CHI EA '19: Extended Abstracts of the 2019 CHI Conference on Human Factors in Computing SystemsWe conducted a study of n = 20 older adults to better understand their mental models for what the term 'privacy' means to them in both digital and non-digital contexts. Participants were asked to diagrammatically represent this information and describe ...
Combinatorics of Unique Maximal Factorization Families (UMFFs)
Special Issue on StringologySuppose a set W of strings contains exactly one rotation (cyclic shift) of every primitive string on some alphabet Σ. Then W is a circ-UMFF if and only if every word in Σ$^+$ has a unique maximal factorization over W. The classic circ-UMFF is the set of ...
Comments