Tracking Students' Cognitive Processes during Program Debugging-An Eye-Movement Approach

Yu-Tzu Lin, Cheng Chih Wu, Ting Yun Hou, Yu Chih Lin, Fang Ying Yang, Chia Hu Chang

Research output: Contribution to journalArticle

19 Citations (Scopus)

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.

Original languageEnglish
Article number7312518
Pages (from-to)175-186
Number of pages12
JournalIEEE Transactions on Education
Volume59
Issue number3
DOIs
Publication statusPublished - 2016 Aug 1

    Fingerprint

Keywords

  • Cognition analysis
  • eye-movement analysis
  • program debugging
  • programming instruction

ASJC Scopus subject areas

  • Education
  • Electrical and Electronic Engineering

Cite this