Diagnosing Programming Knowledge and Learner Profiles Across C, Java, and Python
Total scores summarize programming performance but provide little information about which knowledge components students have mastered or where their difficulties are concentrated. This study presents a diagnostic learner-profiling framework that connects programming assessment responses with interpretable patterns of knowledge mastery. Response data from 1976 university students taking C, Java, or Python assessments were analyzed using language-specific Q-matrices, DINA-based cognitive diagnosis, and Gaussian mixture modeling. The framework estimated attribute mastery and used individual binary mastery classifications to construct five-profile solutions within each assessment dataset. The resulting profiles revealed uneven mastery across programming knowledge components: relatively strong performance in selected components coexisted with weaknesses in others, distinguishing patterns that aggregate scores cannot directly represent. Radar charts made these attribute configurations explicit, while an interpretive mapping enabled exploratory comparison of profile-label distributions across assessment contexts. The mapped distributions were associated with assessment group, χ2(8) = 294.603, Cramér’s V = 0.273. By linking attribute-level diagnosis with interpretable learner profiles, the framework provides a structured basis for identifying learning needs and designing targeted programming feedback.
Authors
- Yang Yi
- Lin Yu
- Rong Guo
- Bo Zhu
- Yuzhe He
- Yunlong Cao
Institutions
- Yunnan Agricultural University (CN)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-11-23
- DOI
- https://doi.org/10.3390/app162311589
- Primary Topic
- Teaching and Learning Programming
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Major Science and Technology Projects in Yunnan Province