Comprehension of computer code relies primarily on domain-general executive brain regions
Author(s)Ivanova, Anna A; Srikant, Shashank; Sueoka, Yotaro; Kean, Hope; Dhamala, Riva; O'Reilly, Una-May; Bers, Marina U; Fedorenko, Evelina G; ... Show more Show less
MetadataShow full item record
Computer programming is a novel cognitive tool that has transformed modern society. What cognitive and neural mechanisms support this skill? Here, we used functional magnetic resonance imaging to investigate two candidate brain systems: The multiple demand (MD) system, typically recruited during math, logic, problem solving, and executive tasks, and the language system, typically recruited during linguistic processing. We examined MD and language system responses to code written in Python, a text-based programming language (Experiment 1) and in ScratchJr, a graphical programming language (Experiment 2); for both, we contrasted responses to code problems with responses to content-matched sentence problems. We found that the MD system exhibited strong bilateral responses to code in both experiments, whereas the language system responded strongly to sentence problems, but weakly or not at all to code problems. Thus, the MD system supports the use of novel cognitive tools even when the input is structurally similar to natural language.
DepartmentMassachusetts Institute of Technology. Department of Brain and Cognitive Sciences; McGovern Institute for Brain Research at MIT; Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
eLife Sciences Publications, Ltd
Ivanova, Anna A et al. "Comprehension of computer code relies primarily on domain-general executive brain regions." eLife 9 (December 2020): e58906 © 2020 Ivanova et al.
Final published version