Using Code Comments as a Pedagogical Scaffold in Digitally Supported Introductory Programming: An Exploratory Mixed-Methods Study in Vocational Secondary Education

The development of computational thinking in introductory programming remains a major challenge, particularly in vocational secondary education, where students frequently encounter difficulties in understanding code structure, identifying errors, and translating problem statements into algorithmic solutions. This study examines the use of code comments as a pedagogical scaffold within a digitally supported learning environment enriched with multimodal instructional resources for novice programming students. An exploratory mixed-methods classroom intervention was conducted in a vocational secondary education context, combining comment-centered coding activities with digital educational resources such as online forms, classroom management tools, guided worksheets, interactive exercises, and feedback-oriented learning tasks. The intervention was examined through a pre- and post-test on computational thinking, a pre- and post-intervention questionnaire on students’ knowledge, practices, and perceptions regarding code comments, and supporting qualitative evidence from classroom artifacts. The findings showed a marked improvement in computational thinking performance over the course of the intervention, with the mean test score increasing from 43% to 91%. Students also reported more positive and more elaborated views regarding the role of code comments in code comprehension, debugging, organization, and learning support. Given the single-group design and small sample, these results should be interpreted as exploratory and context-specific rather than as evidence of intervention-only causality. Nevertheless, the study provides practice-based evidence that code comments, when embedded in a structured multimedia-supported learning design, may function as a useful pedagogical scaffold in introductory programming education. This study contributes empirical evidence from an underrepresented vocational secondary education setting and offers actionable implications for multimedia-based digital learning in computer science education.

Authors

Institutions

Publication Details

Journal
Digital
Published
2026-05-08
DOI
https://doi.org/10.3390/digital6020037
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 Code Comments as a Pedagogical Scaffold in Digitally Supported Introductory Programming: An Exploratory Mixed-Methods Study in Vocational Secondary Education

Mariana Reis, Gonçalo Sarmento
Digital
Teaching and Learning Programming
article

Using Code Comments as a Pedagogical Scaffold in Digitally Supported Introductory Programming: An Exploratory Mixed-Methods Study in Vocational Secondary Education

Mariana Reis, Gonçalo Sarmento
article en

Abstract

The development of computational thinking in introductory programming remains a major challenge, particularly in vocational secondary education, where students frequently encounter difficulties in understanding code structure, identifying errors, and translating problem statements into algorithmic solutions. This study examines the use of code comments as a pedagogical scaffold within a digitally supported learning environment enriched with multimodal instructional resources for novice programming students. An exploratory mixed-methods classroom intervention was conducted in a vocational secondary education context, combining comment-centered coding activities with digital educational resources such as online forms, classroom management tools, guided worksheets, interactive exercises, and feedback-oriented learning tasks. The intervention was examined through a pre- and post-test on computational thinking, a pre- and post-intervention questionnaire on students’ knowledge, practices, and perceptions regarding code comments, and supporting qualitative evidence from classroom artifacts. The findings showed a marked improvement in computational thinking performance over the course of the intervention, with the mean test score increasing from 43% to 91%. Students also reported more positive and more elaborated views regarding the role of code comments in code comprehension, debugging, organization, and learning support. Given the single-group design and small sample, these results should be interpreted as exploratory and context-specific rather than as evidence of intervention-only causality. Nevertheless, the study provides practice-based evidence that code comments, when embedded in a structured multimedia-supported learning design, may function as a useful pedagogical scaffold in introductory programming education. This study contributes empirical evidence from an underrepresented vocational secondary education setting and offers actionable implications for multimedia-based digital learning in computer science education.

DigitalVol. 6(2)
University of Trás-os-Montes and Alto Douro (PT)
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.

Using Code Comments as a Pedagogical Scaffold in Digitally Supported Introductory Programming: An Exploratory Mixed-Methods Study in Vocational Secondary Education — Mariana Reis, Gonçalo Sarmento · Digital (2026) | TGRS Research Map | TGRS