Using multimodal learning analytics to understand the combined effects of dynamic self-regulated scaffoldings and learning from examples on computer programming: an empirical study

As computational thinking and programming skills become increasingly essential across STEM disciplines, secondary schools worldwide are integrating programming education into their curricula. However, many students encounter significant challenges when learning programming, due to the high cognitive demands of writing code and the need for effective self-regulation. Prior research has demonstrated the potential of worked and erroneous examples, as well as self-regulated learning (SRL) scaffolding, in supporting conceptual understanding and strategic learning. However, few studies have adopted adaptable SRL scaffoldings and further investigated the combined effects of multiple instructional strategies. To address this gap, this study conducted a quasi-experimental investigation to examine how different combinations of learning from examples and SRL scaffolding influence students’ programming performance, learning behaviors, and motivational experiences in a secondary education context. First, our results showed a significant interaction effect between SRL scaffolding and example type on knowledge acquisition. Specifically, without SRL scaffoldings, students learning from erroneous examples outperformed those using worked examples, whereas worked examples combined with SRL scaffoldings led to the higher knowledge acquisition than those without SRL scaffoldings. SRL scaffolding also produced a significant main effect in enhancing students’ SRL strategies. Second, behavioral analysis showed that students in C1 (worked examples with SRL scaffolding) and C4 (erroneous examples without SRL scaffolding) engaged in more iterative learning processes. Third, although no significant main or interaction effects were observed on students’ learning attitudes, thematic analysis indicated that students in C1 and C4 reported more active engagement than those in the other conditions. This study offers implications for instructors designing programming learning environments that incorporate SRL scaffoldings and learning from worked and erroneous examples, and for researchers seeking to enhance adaptable support through AI-driven techniques and multimodal data in programming and broader STEM education.

Authors

Institutions

Publication Details

Journal
International Journal of STEM Education
Published
2026-01-13
DOI
https://doi.org/10.1186/s40594-025-00591-x
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

Using multimodal learning analytics to understand the combined effects of dynamic self-regulated scaffoldings and learning from examples on computer programming: an empirical study

Liyin Zhang, Fan Ouyang, Zhengwei Liu, Wenzhi Chen et al.
International Journal of STEM Education
Teaching and Learning Programming
article

Using multimodal learning analytics to understand the combined effects of dynamic self-regulated scaffoldings and learning from examples on computer programming: an empirical study

Liyin Zhang, Fan Ouyang, Zhengwei Liu, Wenzhi Chen, Xuan Wang, Shouling Ji
article en

Abstract

As computational thinking and programming skills become increasingly essential across STEM disciplines, secondary schools worldwide are integrating programming education into their curricula. However, many students encounter significant challenges when learning programming, due to the high cognitive demands of writing code and the need for effective self-regulation. Prior research has demonstrated the potential of worked and erroneous examples, as well as self-regulated learning (SRL) scaffolding, in supporting conceptual understanding and strategic learning. However, few studies have adopted adaptable SRL scaffoldings and further investigated the combined effects of multiple instructional strategies. To address this gap, this study conducted a quasi-experimental investigation to examine how different combinations of learning from examples and SRL scaffolding influence students’ programming performance, learning behaviors, and motivational experiences in a secondary education context. First, our results showed a significant interaction effect between SRL scaffolding and example type on knowledge acquisition. Specifically, without SRL scaffoldings, students learning from erroneous examples outperformed those using worked examples, whereas worked examples combined with SRL scaffoldings led to the higher knowledge acquisition than those without SRL scaffoldings. SRL scaffolding also produced a significant main effect in enhancing students’ SRL strategies. Second, behavioral analysis showed that students in C1 (worked examples with SRL scaffolding) and C4 (erroneous examples without SRL scaffolding) engaged in more iterative learning processes. Third, although no significant main or interaction effects were observed on students’ learning attitudes, thematic analysis indicated that students in C1 and C4 reported more active engagement than those in the other conditions. This study offers implications for instructors designing programming learning environments that incorporate SRL scaffoldings and learning from worked and erroneous examples, and for researchers seeking to enhance adaptable support through AI-driven techniques and multimodal data in programming and broader STEM education.

International Journal of STEM EducationVol. 13(1)
Zhejiang University of Science and Technology (CN), Zhanjiang Experimental Station (CN), Zhejiang University (CN)
Quality Education
Openalex Percentile: Top 93%
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.