An Exploration of Cognitive Shifting inWriting Code

1Citations
Citations of this article
23Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Programming is considered a demanding task that requires focusing on detail at code level. Students learning to program need to learn to think like a programmer, which involves coming up with plans needed to solve problems, and they need to learn to write the code that corresponds to the plans that they have thought of. The use of multiple files creates additional overhead to the process, as part of the code is not visible to the student. If a student does not remember the contents of a particular file, she needs to consciously move from writing code in one file to reading code in another file. This conscious transition of attention from one location to another is known as cognitive shifting. Using key-level data collected from a programming exam, we analyze students' movements within files and between files, and relate these movements with students' performance in the course. Our results indicate that frequently moving from one file to another may lead to worse performance than more focused actions, but no such effect exists when analyzing movements within an individual file.

Cite

CITATION STYLE

APA

Fronza, I., Hellas, A., Ihantola, P., & Mikkonen, T. (2019). An Exploration of Cognitive Shifting inWriting Code. In CompEd 2019 - Proceedings of the ACM Conference on Global Computing Education (pp. 65–71). Association for Computing Machinery, Inc. https://doi.org/10.1145/3300115.3309522

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free