Paper

Tracking Students’ Cognitive Processes During Program Debugging—An Eye-Movement Approach

Volume Number:
59
Issue Number:
3
Pages:
Starting page
175
Ending page
186
Publication Date:
Publication Date
August 2016

paper Menu

Abstract

This study explores students' cognitive processes while debugging programs by using an eye tracker. Students' eye movements during debugging were recorded by an eye tracker to investigate whether and how high- and low-performance students act differently during debugging. Thirty-eight computer science undergraduates were asked to debug two C programs. The path of students' gaze while following program codes was subjected to sequential analysis to reveal significant sequences of areas examined. These significant gaze path sequences were then compared to those of students with different debugging performances.

The results show that, when debugging, high-performance students traced programs in a more logical manner, whereas low-performance students tended to stick to a line-by-line sequence and were unable to quickly derive the program's higher-level logic. Low-performance students also often jumped directly to certain suspected statements to find bugs, without following the program's logic. They also often needed to trace back to prior statements to recall information, and spent more time on manual computation. Based on the research results, adaptive instructional strategies and materials can be developed for students of different performance levels, to improve associated cognitive activities during debugging, which can foster learning during debugging and programming.

Country
TWN
Affiliation
National Taiwan Normal University
Country
TWN
Affiliation
National Taiwan Normal University
Country
TWN
Affiliation
National Taiwan Normal University
Country
TWN
Affiliation
Yuanpei University
Country
TWN
Affiliation
National Taiwan Normal University
Country
TWN
Affiliation
National Taiwan University