EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Mathematical metacognition and computational thinking in adolescents: the roles of cognitive flexibility and grade level

Mehmet Bars

Frontiers in Psychology · 16.06.2026 · 17

DOI: 10.3389/fpsyg.2026.1806297 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Frontiers in Psychology, online erschienen am 16.06.2026. Verfasst von Mehmet Bars. Beteiligte Einrichtung: Department of Basic Education, Ziya Gökalp Faculty of Education, Dicle University, Diyarbakır, Türkiye. Die Arbeit nennt 53 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Background

Computational thinking is a key higher-order cognitive skill in adolescence, extending beyond computer science to mathematical problem solving and complex reasoning. Although mathematical metacognition has been associated with computational thinking, the mechanisms underlying this relationship remain unclear. Grounded in Flavell’s metacognitive theory and Wing’s framework, this study examines the mediating role of cognitive flexibility and the moderating role of grade level in this association among high school students.

Method

A cross-sectional study was conducted with 467 high school students (M age = 16.05, SD = 1.20, 57.2% female) from grades 9–12 in Diyarbakır, Türkiye. Participants completed validated self-report measures of mathematical metacognition, cognitive flexibility, and computational thinking. The proposed moderated mediation model was tested using Hayes’ PROCESS macro (Model 14).

Results

Mathematical metacognition was positively associated with computational thinking. Mediation analyses showed that cognitive flexibility partially mediated this relationship, indicating both direct and indirect associations between metacognitive regulation and computational thinking. In addition, the interaction between cognitive flexibility and grade level was significant, indicating that this association varied across grade levels. Simple slope analyses showed that the positive association between cognitive flexibility and computational thinking strengthened at higher grade levels. The index of moderated mediation was significant (IMM = 0.065, 95% CI [0.012, 0.141]), indicating that the indirect association varied systematically across grade levels.

Conclusion

The findings suggest that cognitive flexibility may represent an important mechanism underlying the association between mathematical metacognition and computational thinking within a developmental framework. By demonstrating that this association becomes stronger across grade levels, the findings support the value of integrating metacognitive and flexibility-oriented practices in secondary education to promote computational thinking.

Schlagwörter

Stichwörter der Autor:innen

adolescencecognitive flexibilitycomputational thinkingmathematical metacognitionmoderated mediation analysis

Autor:innen und Institutionen

  • Department of Basic Education, Ziya Gökalp Faculty of Education, Dicle University, Diyarbakır, Türkiye.

Zitieren

APA

Bars, M. (2026). Mathematical metacognition and computational thinking in adolescents: the roles of cognitive flexibility and grade level. Frontiers in Psychology, 17. https://doi.org/10.3389/fpsyg.2026.1806297

Vancouver

Bars M. Mathematical metacognition and computational thinking in adolescents: the roles of cognitive flexibility and grade level. Frontiers in Psychology. 2026;17. doi:10.3389/fpsyg.2026.1806297

BibTeX
@article{Bars2026,
  author = {Bars, Mehmet},
  title = {Mathematical metacognition and computational thinking in adolescents: the roles of cognitive flexibility and grade level},
  journal = {Frontiers in Psychology},
  year = {2026},
  volume = {17},
  doi = {10.3389/fpsyg.2026.1806297}
}
Kostenlos starten →