Treffer: How block-based programming supports novice learners' coding comprehension: Evidence from eye-tracking lag-sequential analysis.
Weitere Informationen
Understanding how novice programmers interact with block-based and text-based programming languages can help optimize instructional approaches and facilitate the transition between the two. This study investigated the coding comprehension and visual behavior patterns of 70 novice college students as they engaged in Scratch (block-based) and Python (text-based) programming tasks. Tobii 4C eye-trackers, the Real Gaze software, and the WEDA platform were utilized to record eye movements, compute eye-tracking metrics, generate heat maps, and conduct lag sequential analyses (LSA). The results revealed that students in the Scratch group demonstrated better comprehension performance, with shorter response times, shorter average fixation duration, and longer average saccade lengths. The findings suggest that block-based environments reduce cognitive load and enhance code readability. In contrast, students in the Python group paid more attention to irrelevant information and reprocessed procedural code more frequently, indicating a higher mental load and greater cognitive demands associated with text-based programming. Furthermore, the LSA results indicated that students in the Scratch group exhibited meaningful shifts in visual attention, moving from irrelevant information to relevant variable recalls during the coding comprehension tasks. The findings confirm the effectiveness of block-based programming in terms of enhancing novice learners' coding comprehension, and underline the importance of providing visual scaffolding in text-based programming to facilitate the transition from block-based environments. Through the application of advanced eye-tracking methodology, this study makes a substantial contribution to programming education by uncovering critical insights into learners' cognitive processes and offering evidence to guide future research and pedagogical innovation. • Novice learners outperform reading in block-based than in text-based programming. • Eye-tracking reveals cognitive load in and visual strategy for coding comprehension. • Scratch shows lower mental load, more attention to recall, and better comprehension. • Python requires more effort with higher AFD, shorter ASL, and more regressions. • LSA reveals visual guidance provided by Scratch and attention distracted by Python. [ABSTRACT FROM AUTHOR]
Copyright of Computers & Education is the property of Pergamon Press - An Imprint of Elsevier Science and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)