This article examines the effectiveness and interest generated among primary and secondary education students through activities aimed at developing Computational Thinking skills, in the context of the coronavirus disease 2019 pandemic. The shift to online or hybrid learning models posed a significant challenge for educators, particularly those lacking digital skills. The study sought to answer several research questions, including the impact of online versus in‐person teaching on preuniversity students and gender differences in Computer Science perception, and Computational Thinking skills performance. The study employed a four‐phase methodology, consisting of pre‐ and posttraining measurements of Computer Science perception and Computational Thinking skills development through specific activities delivered in‐person or online. The results indicate that in‐person training is more effective for developing Computational Thinking skills, particularly at the secondary education level. Furthermore, there is a need to focus on maintaining girls' interest in Computer Science during primary school, as interest levels tend to decline significantly in secondary school. These findings have significant implications for Engineering Education in the context of digital transformation and the increasing importance of Computational Thinking skills in various fields of engineering. This study highlights the importance of developing Computational Thinking skills among preuniversity students and the need for effective training methods to achieve this goal and underscore the significance of investing in Engineering Education to prepare the next generation of engineers for the rapidly changing digital landscape.