The mediating role of self-regulation in the relationship between psychological resilience and computational thinking


Beyazhancer R.

Frontiers in Psychology, vol.17, 2026 (SSCI, Scopus)

  • Publication Type: Article / Article
  • Volume: 17
  • Publication Date: 2026
  • Doi Number: 10.3389/fpsyg.2026.1714038
  • Journal Name: Frontiers in Psychology
  • Journal Indexes: Social Sciences Citation Index (SSCI), Scopus, IBZ Online, Linguistic Bibliography, MLA - Modern Language Association Database, Psycinfo, Directory of Open Access Journals, MLA International Bibliography
  • Keywords: computational thinking, mediation analysis, psychological resilience, self-regulation, teacher education
  • Bursa Uludag University Affiliated: Yes

Abstract

Introduction – Psychological resilience and self-regulation are key psychological constructs that support learners' adaptation to challenges. Resilience provides the motivational foundation for persistence, while self-regulation enables planning, monitoring, and adjustment of strategies. Computational thinking (CT) represents a higher-order cognitive framework that includes creativity, algorithmic thinking, collaboration, critical thinking, and problem solving. This study examines the mediating role of self-regulation in the relationship between psychological resilience and CT among pre-service mathematics teachers. Method – Participants were 336 pre-service mathematics teachers from two state universities in Türkiye. Data were collected using the Psychological Resilience Scale, the Self-Regulation Scale, and the Computational Thinking Skills Scale. Confirmatory factor analyses supported the validity and reliability of the measures. Correlation analyses examined the associations among constructs, and mediation was tested using PROCESS Macro (Model 4) with controls for gender and grade level. Results – Psychological resilience was positively associated with CT skills (r = 0.34, p < 0.001) and self-regulation (r = 0.41, p < 0.001). Self-regulation was also positively associated with CT skills (r = 0.36, p < 0.001). Mediation analyses showed that including self-regulation reduced the associations between resilience and CT sub-dimensions, though they remained significant, indicating partial mediation. Bootstrap analyses confirmed significant indirect effects across all CT sub-dimensions. Discussion and conclusion – Findings suggest that psychological resilience is related to CT skills both directly and indirectly through self-regulation. Self-regulation acts as a mechanism that channels resilient tendencies into goal-directed strategies, thereby enhancing CT. These results underscore the value of integrating resilience, self-regulation, and CT into teacher education programs to promote adaptability and 21st-century skills.