首页> 外文会议>International conference on human-computer interaction;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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号