Abstract
Featured Application: The proposed two-stage early warning framework can be applied in introductory programming courses to identify students at risk of failure before the semester begins and after the first major written exam (C1), thereby supporting timely interventions such as leveling programs, tutoring, and targeted academic counseling. This study examines failure in introductory programming courses, commonly known as CS1, in Chilean higher education by combining academic trajectory analysis with early-risk prediction models. We analyzed a cohort of 994 students from a Chilean technical university enrolled during the first academic semester of 2025, with a 46% failure rate, integrating pre-university academic and admission variables (e.g., mathematics and language indicators, as well as baseline diagnostic measures when available), sociodemographic information, and within-semester performance indicators. Group differences were assessed using non-parametric tests, and predictive performance was evaluated under two realistic information-availability scenarios: (i) pre-university variables only and (ii) variables available up to the first major written examination (C1). The results show statistically significant differences between students who passed and those who failed, with indicators of quantitative preparedness and, most notably, C1 performance emerging as the strongest signals of risk. In the pre-university scenario, models achieved acceptable discrimination (AUC ≈ 0.77), whereas incorporating C1 substantially improved discriminative performance (AUC ≈ 0.92) and increased precision in identifying at-risk students while reducing false positives. These findings support a staged institutional strategy: broad, low-cost preventive support before the semester begins, followed by more targeted and intensive interventions after C1, thereby enabling more efficient early-warning systems in high-stakes first-year courses.
Author supplied keywords
Cite
CITATION STYLE
Gutiérrez-Benítez, R., Vásquez-Guerra, A., & Carrasco-Sáez, J. L. (2026). Who Fails and Why: Student Trajectories and Early Prediction of Performance in an Introductory Programming Course. Applied Sciences (Switzerland), 16(11). https://doi.org/10.3390/app16115644
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.