An eye-tracking study assessing the comprehension of c++ and Python source code

Rachel Turner, Michael Falcone, Bonita Sharif and Alina Lazar

Abstract

A study to assess the effect of programming language on student comprehension of source code is presented, comparing the languages of C++ and Python in two task categories: overview and find bug tasks. Eye gazes are tracked while thirty-eight students complete tasks and answer questions. Results indicate no significant difference in accuracy or time, however there is a significant difference reported on the rate at which students look at buggy lines of code. These results start to provide some direction as to the effect programming language might have in introductory programming classes.

Venue
ETRA 2014
Volume
Proceedings of the Symposium on Eye Tracking Research and Applications
DOI
10.1145/2578153.2578218
PDF
https://dl.acm.org/doi/pdf/10.1145/2578153.2578218
Anthology ID
2014.etra.63

Cite

@inproceedings{turner-etal-2014-eyetracking,
    title = {{An eye-tracking study assessing the comprehension of c++ and Python source code}},
    author = {Rachel Turner and Michael Falcone and Bonita Sharif and Alina Lazar},
    booktitle = {Proceedings of the Symposium on Eye Tracking Research and Applications},
    isbn = {9781450327510},
    year = {2014},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/2578153.2578218},
    url = {https://doi.org/10.1145/2578153.2578218},
    abstract = {A study to assess the effect of programming language on student comprehension of source code is presented, comparing the languages of C++ and Python in two task categories: overview and find bug tasks. Eye gazes are tracked while thirty-eight students complete tasks and answer questions. Results indicate no significant difference in accuracy or time, however there is a significant difference reported on the rate at which students look at buggy lines of code. These results start to provide some direction as to the effect programming language might have in introductory programming classes.}
}