Scanpath analysis of programming comprehension: A MultiMatch and clustering-based approach

In programming studies, inferring participants’ cognitive processing from eye movement behavior provides valuable insights into Performance Level (PL) and problem-solving strategies. This paper explores scanpath variation in eye-tracking data from 60 undergraduate students completing six multiple-choice programming tasks (MCPTs), each with multiple correct alternatives. Responses were categorized as Correct (C) or Partially Correct (P) and further grouped into High and Low Performance levels (PLs). Visual scanpaths were analyzed using the MultiMatch algorithm across five dimensions: Length, Position, Duration, Shape and Direction. Pairwise similarity scores were computed to reveal patterns of scanpath behavior, and K-means clustering with standard validity indices (Silhouette Score, Inertia, Davies–Bouldin Index) was applied to evaluate group-level differences. Results showed that Length and Position consistently reflected task structure, while Duration, Shape and especially Direction captured meaningful variation in attention allocation, scanpath geometry and sequencing. Ultimately, this study demonstrates that how students look, as reflected in temporal and directional scanpath features, is more informative for assessing cognitive strategies than where they look, offering practical opportunities to enhance adaptive learning technologies and real-time pedagogical support.

Authors

Institutions

Publication Details

Journal
International Journal of Modern Physics C
Published
2025-11-29
DOI
https://doi.org/10.1142/s0129183125420227
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Scanpath analysis of programming comprehension: A MultiMatch and clustering-based approach

Wudao Yang, Wong Seng Yue, M. A. Rasel, Unaizah Obaidellah
International Journal of Modern Physics C
Teaching and Learning Programming
article

Scanpath analysis of programming comprehension: A MultiMatch and clustering-based approach

Wudao Yang, Wong Seng Yue, M. A. Rasel, Unaizah Obaidellah
article en

Abstract

In programming studies, inferring participants’ cognitive processing from eye movement behavior provides valuable insights into Performance Level (PL) and problem-solving strategies. This paper explores scanpath variation in eye-tracking data from 60 undergraduate students completing six multiple-choice programming tasks (MCPTs), each with multiple correct alternatives. Responses were categorized as Correct (C) or Partially Correct (P) and further grouped into High and Low Performance levels (PLs). Visual scanpaths were analyzed using the MultiMatch algorithm across five dimensions: Length, Position, Duration, Shape and Direction. Pairwise similarity scores were computed to reveal patterns of scanpath behavior, and K-means clustering with standard validity indices (Silhouette Score, Inertia, Davies–Bouldin Index) was applied to evaluate group-level differences. Results showed that Length and Position consistently reflected task structure, while Duration, Shape and especially Direction captured meaningful variation in attention allocation, scanpath geometry and sequencing. Ultimately, this study demonstrates that how students look, as reflected in temporal and directional scanpath features, is more informative for assessing cognitive strategies than where they look, offering practical opportunities to enhance adaptive learning technologies and real-time pedagogical support.

International Journal of Modern Physics C
Monash University Malaysia (MY), Minzu University of China (CN), University of Malaya (MY)
Openalex Percentile: Top 61%
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Scanpath analysis of programming comprehension: A MultiMatch and clustering-based approach — Wudao Yang, Wong Seng Yue, et al. · International Journal of Modern Physics C (2025) | TGRS Research Map | TGRS