Towards a Code-Based Assessment of Computational Thinking Skills

Computational thinking (CT) skills are central to higher-education programming, yet assessing them at scale is challenging. Automated source-code analysis is a promising path, but its validity at university level is still poorly understood. We examined how far code-based metrics can capture traces of two CT skills: abstraction and algorithmic thinking. In a controlled study, 44 students enrolled in a Data Structures course completed four programming exercises designed to elicit evidence of the two target computational thinking skills. Each submission was assessed using three independent sources: an automated score based on structural code metrics, a rubric-based score by experts, and a CT self-efficacy scale. The three sources were compared using Spearman correlations, quartile analyses, and qualitative inspection of fourteen concordant and divergent cases. At the per-student level, the three sources did not converge for either skill. Per-exercise, one converged with expert evaluation, while another showed that the sources captured distinct, complementary facets of the skill—an exercise-design effect. Qualitative cases reinforced this view, illustrating what each source reads: from structural shape to semantic correctness. Automated code-based assessment of CT can provide informative structural evidence, but works best as one element of a multi-source approach in which structural signals complement, rather than replace, expert evaluation.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-07-23
DOI
https://doi.org/10.3390/app16157400
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

Towards a Code-Based Assessment of Computational Thinking Skills

Lilliana Sancho-Chavarría, Jorge Monge-Fallas, Isaac Alpizar-Chacón, Ignacio Trejos-Zelaya et al.
Applied Sciences
Teaching and Learning Programming
article

Towards a Code-Based Assessment of Computational Thinking Skills

Lilliana Sancho-Chavarría, Jorge Monge-Fallas, Isaac Alpizar-Chacón, Ignacio Trejos-Zelaya, Antonio González-Torres, Herson Esquivel-Vargas
article en

Abstract

Computational thinking (CT) skills are central to higher-education programming, yet assessing them at scale is challenging. Automated source-code analysis is a promising path, but its validity at university level is still poorly understood. We examined how far code-based metrics can capture traces of two CT skills: abstraction and algorithmic thinking. In a controlled study, 44 students enrolled in a Data Structures course completed four programming exercises designed to elicit evidence of the two target computational thinking skills. Each submission was assessed using three independent sources: an automated score based on structural code metrics, a rubric-based score by experts, and a CT self-efficacy scale. The three sources were compared using Spearman correlations, quartile analyses, and qualitative inspection of fourteen concordant and divergent cases. At the per-student level, the three sources did not converge for either skill. Per-exercise, one converged with expert evaluation, while another showed that the sources captured distinct, complementary facets of the skill—an exercise-design effect. Qualitative cases reinforced this view, illustrating what each source reads: from structural shape to semantic correctness. Automated code-based assessment of CT can provide informative structural evidence, but works best as one element of a multi-source approach in which structural signals complement, rather than replace, expert evaluation.

Applied SciencesVol. 16(15)
Instituto Tecnológico de Costa Rica (CR), Business University of Costa Rica (CR)
Quality Education
Openalex Percentile: Top 5%
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.