TL;DR
This neuroimaging study investigates how novice programmers' brains activate during coding, reading, and spatial tasks, revealing distinct neural patterns and potential predictors of programming performance.
Contribution
It is the first to compare neural activity of novices during coding, reading, and spatial tasks using fNIRS, providing new insights into early programming cognition.
Findings
Coding activates brain areas linked to spatial ability more than in experts.
Coding, reading, and mental rotation are neurally distinct in novices.
Neural patterns can predict programming performance weeks later.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
