首页> 外文会议>International Conference on Augmented Cognition >Investigating Eye Movements in Natural Language and C++ Source Code - A Replication Experiment
【24h】

Investigating Eye Movements in Natural Language and C++ Source Code - A Replication Experiment

机译:调查自然语言和C ++源代码的眼动 - 复制实验

获取原文

摘要

Natural language text and source code are very different in their structure and semantics. Source code uses words from natural language such as English mainly in comments and identifier names. Is there an inherent difference in the way programmers read natural language text compared to source code? Does expertise play a role in the reading behavior of programmers? In order to start answering these questions, we conduct a controlled experiment with novice and non-novice programmers while they read small short snippets of natural language text and C++ source code. This study is a replication of an earlier study by Busjahn et al. [1] but uses C++ instead of Java source code. The study was conducted with 33 students, who were each given ten tasks: a set of seven programs, and three natural language texts. They were asked one of three random comprehension questions after each task. Using several linearity metrics presented in an earlier study [1], we analyze the eye movements on source code and natural language. The results indicate that novices and non-novices both read source code less linearly than natural language text. We did not find any differences between novices and non-novices between natural language text and source code. We compare our results to the Busjahn study and provide directions for future work.
机译:自然语言文本和源代码在其结构和语义中非常不同。源代码使用自然语言的单词,例如英语,主要是注释和标识符名称。程序员阅读自然语言文本的方式是否存在固有的差异?专业知识是否在程序员的阅读行为中发挥作用?为了开始回答这些问题,我们通过新手和非新手程序员进行受控实验,同时他们阅读了小型的自然语言文本和C ++源代码的小片段。本研究是Busjahn等人的早期研究的复制。 [1]但使用C ++而不是Java源代码。这项研究由33名学生进行,每个人都有十个任务:一套七个程序和三种自然语言文本。在每项任务后被问到三个随机理解问题中的一个。使用早期研究中呈现的多个线性度量[1],我们分析了源代码和自然语言的眼球运动。结果表明,新手和非新手读取源代码比自然语言文本更少。我们没有在自然语言文本和源代码之间找到新手与非新手之间的任何差异。我们将结果与Busjahn学习进行比较,并为未来工作提供指示。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号