Leveraging Eye Tracking and Targeted Regions of Interest for Analyzing Code Comprehension

Md Shakil Hossain, Andrew Allen, Noushin Gauhar, Rushmila Shabneen

Research output: Contribution to book or proceedingConference articlepeer-review

Abstract

Code comprehension studies techniques for extracting information that gives insights into how software is understood. For educators, this is an important but often difficult task. This is further complicated by larger classes, limited time, and not enough grading resources for early identification of students in need of help or to provide early feedback. During a code comprehension task, analyzing where a student look can provide valuable insights into what information the student perceives as important. The instructor can then assess if the student is looking in the right areas of the code. We investigate differences in how a student's eyes traverse code during a coding comprehension exercise and propose a systematic method to distinguish between students with a good understanding of the exercise and those who need additional help. The methodology uses coding exercises seeded with errors, a graded results of completed the exercises, measured fixation counts, and average fixation durations of the students' eyes within what we refer to as the targeted region of interest (TROI) of the code. We conducted experiments using basic Java code from the Programming Principles II course, and our eye-tracking data showed that students' ability to understand the context of the code (the grade on the task) and make proper judgments (feedback on their decisions) was positively correlated with a higher ratio in the number of fixations in the TROI.

Original languageEnglish
Title of host publicationProceedings of the 2024 ACM Southeast Conference, ACMSE 2024
PublisherAssociation for Computing Machinery, Inc
Pages129-137
Number of pages9
ISBN (Electronic)9798400702372
DOIs
StatePublished - Apr 18 2024
Event2024 ACM Southeast Conference, ACMSE 2024 - Marietta, United States
Duration: Apr 18 2024Apr 20 2024

Publication series

NameProceedings of the 2024 ACM Southeast Conference, ACMSE 2024

Conference

Conference2024 ACM Southeast Conference, ACMSE 2024
Country/TerritoryUnited States
CityMarietta
Period04/18/2404/20/24

Keywords

  • Amazon Textract
  • Classroom Observational Study
  • Eye Tracking
  • Region of Interest
  • Student Comprehension

Fingerprint

Dive into the research topics of 'Leveraging Eye Tracking and Targeted Regions of Interest for Analyzing Code Comprehension'. Together they form a unique fingerprint.

Cite this