Learning personalization in block-based programming languages using clustering and static code analysis

Personalized learning in programming education aims at adapting instructional strategies to the diverse needs of students, particularly novice programmers. However, traditional approaches often fail to accommodate individual learning styles or emphasize clean coding practices. This study proposes a data-driven method to personalize programming education by analyzing large-scale datasets from block-based Visual Programming Language (VPL) projects created by novice programmers. Using static code analysis and machine learning, the approach examines the coverage of programming concepts and code quality metrics to identify patterns in student performance, enabling adaptive learning pathways. This approach is implemented in BlocklyMining, a tool that integrates static code analysis, quality assessment through SQALE, and machine-learning-based clustering. The study applies K-Means and Hierarchical Agglomerative Clustering to 215,244 MIT App Inventor projects, evaluating cluster quality using the Silhouette Coefficient (SC) and Davies–Bouldin Index (DBI). Results show that the clustering algorithms effectively group projects, thereby facilitating the generation of personalized learning recommendations tailored to novice programmers’ skill levels. • A data-driven method to personalize programming education is presented. • Analysis of large datasets from novice Visual Programming Language (VPL) projects. • Visual and personalized recommendations are integrated within MIT App Inventor. • Static code analysis and Machine Learning identify patterns and skill levels. • Personalized learning paths are generated based on clustering results.

Authors

Institutions

Publication Details

Journal
Computers and Education Open
Published
2026-01-14
DOI
https://doi.org/10.1016/j.caeo.2026.100333
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

Learning personalization in block-based programming languages using clustering and static code analysis

Iván Ruiz‐Rube, Tatiana Person, Juan Antonio Caballero-Hernández, Cristóbal Romero
Computers and Education Open
Teaching and Learning Programming
article

Learning personalization in block-based programming languages using clustering and static code analysis

Iván Ruiz‐Rube, Tatiana Person, Juan Antonio Caballero-Hernández, Cristóbal Romero
article en

Abstract

Personalized learning in programming education aims at adapting instructional strategies to the diverse needs of students, particularly novice programmers. However, traditional approaches often fail to accommodate individual learning styles or emphasize clean coding practices. This study proposes a data-driven method to personalize programming education by analyzing large-scale datasets from block-based Visual Programming Language (VPL) projects created by novice programmers. Using static code analysis and machine learning, the approach examines the coverage of programming concepts and code quality metrics to identify patterns in student performance, enabling adaptive learning pathways. This approach is implemented in BlocklyMining, a tool that integrates static code analysis, quality assessment through SQALE, and machine-learning-based clustering. The study applies K-Means and Hierarchical Agglomerative Clustering to 215,244 MIT App Inventor projects, evaluating cluster quality using the Silhouette Coefficient (SC) and Davies–Bouldin Index (DBI). Results show that the clustering algorithms effectively group projects, thereby facilitating the generation of personalized learning recommendations tailored to novice programmers’ skill levels. • A data-driven method to personalize programming education is presented. • Analysis of large datasets from novice Visual Programming Language (VPL) projects. • Visual and personalized recommendations are integrated within MIT App Inventor. • Static code analysis and Machine Learning identify patterns and skill levels. • Personalized learning paths are generated based on clustering results.

Computers and Education OpenVol. 10
Universidad de Cádiz (ES), University of Córdoba (ES)
Quality Education
Openalex Percentile: Top 92%
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.