Relating Reading, Visualization, and Coding for New Programmers: A Neuroimaging Study

02/24/2021
by   Madeline Endres, et al.
0

Understanding how novices reason about coding at a neurological level has implications for training the next generation of software engineers. In recent years, medical imaging has been increasingly employed to investigate patterns of neural activity associated with coding activity. However, such studies have focused on advanced undergraduates and professionals. In a human study of 31 participants, we use functional near-infrared spectroscopy to measure the neural activity associated with introductory programming. In a controlled, contrast-based experiment, we relate brain activity when coding to that of reading natural language or mentally rotating objects (a spatial visualization task). Our primary result is that all three tasks – coding, prose reading, and mental rotation – are mentally distinct for novices. However, while those tasks are neurally distinct, we find more significant differences between prose and coding than between mental rotation and coding. Intriguingly, we generally find more activation in areas of the brain associated with spatial ability and task difficulty for novice coding compared to that reported in studies with more expert developers. Finally, in an exploratory analysis, we also find a neural activation pattern predictive of programming performance 11 weeks later. While preliminary, these findings both expand on previous results (e.g., relating expertise to a similarity between coding and prose reading) and also provide a new understanding of the cognitive processes underlying novice programming.

READ FULL TEXT

page 1

page 5

research
05/03/2022

Neural Language Taskonomy: Which NLP Tasks are the most Predictive of fMRI Brain Activity?

Several popular Transformer based language models have been found to be ...
research
05/17/2022

Multidisciplinary Reading Patterns of Digital Documents

Reading plays a vital role in updating the researchers on recent develop...
research
03/29/2021

Retrieving Event-related Human Brain Dynamics from Natural Sentence Reading

Electroencephalography (EEG) signals recordings when people reading natu...
research
05/18/2023

A framework for leveraging ChatGPT on programming tasks in energy systems

The rapid digitalization of energy sectors has led to a significant incr...
research
04/18/2023

Decoding Neural Activity to Assess Individual Latent State in Ecologically Valid Contexts

There exist very few ways to isolate cognitive processes, historically d...
research
10/02/2021

Evaluating Code Readability and Legibility: An Examination of Human-centric Studies

Reading code is an essential activity in software maintenance and evolut...
research
07/13/2023

Overcoming the Mental Set Effect in Programming Problem Solving

This paper adopts a cognitive psychology perspective to investigate the ...

Please sign up or login with your details

Forgot password? Click here to reset