henhaobio
Sign in

eLifeNeurosciencePeer-reviewed journal article

Comprehension of computer code relies primarily on domain-general executive brain regions

Anna Aleksandrovna IvanovaiD, Shashank SrikantiD, Yotaro SueokaiD, Hope KeaniD, Riva Dhamala, Una-May O’ReillyiD, Marina Umaschi BersiD, Evelina G. FedorenkoiD

PDFDOIPreprint

Abstract

Computer programming is a novel cognitive tool that has transformed modern society. What cognitive and neural mechanisms support this skill? Here, we used fMRI 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.

Citations
114
FWCI
13.08
Field percentile
top 1%

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.