TY - JOUR
T1 - A Comparison of Novice Coders' Approaches to Reading Code
T2 - 2021 ASEE Virtual Annual Conference, ASEE 2021
AU - Herman, Geoffrey L.
AU - Meyers, Sofia
AU - Deshaies, Sarah-Elizabeth
PY - 2021/7/26
Y1 - 2021/7/26
N2 - We seek to describe how students' code reading strategies change as they gain experience with programming. As an individual gains expertise in a domain, their ability to find information in domain-relevant displays improves. This improvement is often accompanied by an increased focus on problem-relevant portions of a display as measured by eye gaze duration. Prior eye-tracking studies in programming have suggested that expert programmers focus on "beacons" such as keywords or function names, but these studies have relied on small sample sizes and comparing students with professional programmers. In this study, we compared the eye gaze patterns of 56 complete novices (students who had never studied programming after a brief 30-minute instructional intervention) and 34 experienced novices (students who had taken at least three programming courses) as they read code. While experienced novices generally spent less time tracing code than complete novices, they spent more time when tracing complex iterations. The majority of complete novices demonstrated an understanding of the assignment operator and conditional statements but almost none demonstrated an intuitive understanding of iteration. Further analysis needs to investigate differences in the order of eye gazes and the role of code complexity in eye gaze patterns.
AB - We seek to describe how students' code reading strategies change as they gain experience with programming. As an individual gains expertise in a domain, their ability to find information in domain-relevant displays improves. This improvement is often accompanied by an increased focus on problem-relevant portions of a display as measured by eye gaze duration. Prior eye-tracking studies in programming have suggested that expert programmers focus on "beacons" such as keywords or function names, but these studies have relied on small sample sizes and comparing students with professional programmers. In this study, we compared the eye gaze patterns of 56 complete novices (students who had never studied programming after a brief 30-minute instructional intervention) and 34 experienced novices (students who had taken at least three programming courses) as they read code. While experienced novices generally spent less time tracing code than complete novices, they spent more time when tracing complex iterations. The majority of complete novices demonstrated an understanding of the assignment operator and conditional statements but almost none demonstrated an intuitive understanding of iteration. Further analysis needs to investigate differences in the order of eye gazes and the role of code complexity in eye gaze patterns.
UR - http://www.scopus.com/inward/record.url?scp=85124534623&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85124534623&partnerID=8YFLogxK
U2 - 10.18260/1-2--36567
DO - 10.18260/1-2--36567
M3 - Conference article
AN - SCOPUS:85124534623
SN - 2153-5965
JO - ASEE Annual Conference and Exposition, Conference Proceedings
JF - ASEE Annual Conference and Exposition, Conference Proceedings
Y2 - 26 July 2021 through 29 July 2021
ER -