Back to search

Youngstown State University

Investigating Eye Movements in Natural Language and C++ Source Code

Abstract

dc:description

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. The study was conducted with 33 students recruited from an Introduction to Programming class in the Computer Science and Information Systems department at Youngstown State University. The students were each given ten tasks: a set of seven programs, and three natural language texts. The order of the tasks was randomized within each type. They were asked one of three random comprehension questions after each task. We use several linearity metrics that were presented recently in a similar eye tracking study and report on the findings. 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 discuss the implications of this work along with directions for future work..

Degree

thesis:*
Name thesis:degree_name
Master of Computing and Information Systems
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Department of Computer Science and Information Systems
Grantor dc:publisher
Youngstown State University
Year dc:date
2015

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Peachock, Patrick R.
Advisor dc:contributor.advisor
  • Sharif, Bonita

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Peachock, Patrick R.. Investigating Eye Movements in Natural Language and C++ Source Code. masters thesis, Youngstown State University, 2015. http://rave.ohiolink.edu/etdc/view?acc_num=ysu1432836692