arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.12376cs.SE
收藏

新程序员的阅读、可视化和编码相关性:一项神经影像学研究

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

Madeline Endres, Zachary Karas, Xiaosu Hu, Ioulia Kovelman, Westley Weimer

摘要:

了解新手如何在神经学水平上对编码进行推理,对培养下一代软件工程师具有重要意义。近年来,医学成像已越来越多地用于研究与编码活动相关的神经活动模式。然而,这些研究主要集中在高级本科生和专业人员。在一项对31名参与者的人类研究中,我们使用功能性近红外光谱来测量与入门编程相关的神经活动。在一个受控的、基于对比的实验中,我们将编码时的大脑活动与阅读自然语言或精神旋转物体(一种空间可视化任务)的大脑活动联系起来。我们的主要结果是,所有三项任务-编码,散文阅读和心理旋转-对于新手来说是不同的。然而,虽然这些任务在神经上是不同的,但我们发现散文和编码之间的差异比心理旋转和编码之间的差异更显著。有趣的是,我们通常发现,与更多专家开发人员的研究相比,新手编码与空间能力和任务难度相关的大脑区域的激活更多。最后,在探索性分析中,我们还发现了一种神经激活模式,可预测11周后的编程性能。虽然是初步的,但这些发现都扩展了以前的结果(例如,将专业知识与编码和散文阅读之间的相似性联系起来),还提供了对新手编程基础上的认知过程的新理解。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑