BRIEF RESEARCH REPORT article
Front. Psychol.
Sec. Educational Psychology
Computational Thinking as a Mediator Between Modeling Self-Efficacy and Flexible Thinking in Pre-Service Science Teachers
Provisionally accepted- Bursa Uludağ University, Bursa, Türkiye
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Introduction: In psychology, constructs such as self-efficacy, cognitive flexibility, and computational thinking (CT) are recognized as mechanisms that explain how individuals adapt to uncertainty and complexity. Self-efficacy regulates both motivation and cognition, while flexible thinking reflects the adaptive capacity to generate alternatives and cope with ambiguity. CT extends beyond technical domains as a cognitive framework that structures processes such as abstraction and reasoning. This study explores the mediating role of CT in the relationship between mathematical modeling self-efficacy and flexible thinking among pre-service science teachers. Method: Participants were 244 pre-service science teachers from two state universities in Türkiye. Data were gathered using the Mathematical Modeling Self-Efficacy Scale, the Computational Thinking Skills Scale, and the Flexible Thinking in Learning Scale. Confirmatory factor analyses supported validity and reliability. PROCESS Macro (Model 4) tested mediation with controls for gender and grade. Results: Modeling self-efficacy significantly predicted CT (β = .375, p < .001), and CT significantly predicted flexible thinking (β = .368, p < .001). The direct effect of modeling self-efficacy on flexible thinking decreased from β = .512 to β = .378 when CT was included, indicating partial mediation. Bootstrap analysis confirmed the indirect effect (0.224, 95% CI [0.150, 0.298]). Discussion and Conclusion: Findings indicate that self-efficacy beliefs influence adaptive cognitive capacities both directly and indirectly through CT. CT functions as a psychological bridge, linking self-efficacy with flexible thinking, and highlights the importance of integrating these constructs in educational psychology to foster resilience, adaptability, and coping with complexity.
Keywords: Computational thinking, Flexible thinking, mathematical modeling self-efficacy, Mediation analysis, self-efficacy
Received: 05 Sep 2025; Accepted: 22 Jan 2026.
Copyright: © 2026 BEYAZHANCER and Çepni. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: RUMEYSA BEYAZHANCER
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
