1. Introduction
Advances in computer science (CS), robotics, and artificial intelligence have become a primary factor in the development of early science and technology literacy learning [
1,
2]. In recent years, an increase in academic interest has been reported in the field of Computational Thinking (CT), which is perceived to align with the skills required in both the present and future societies. In response to this demand, the educational field must adapt to society based on technological, scientific, and mathematical development. It is, therefore, essential that individuals possess the requisite knowledge and skills to develop and participate in this field.
Concurrently, global attention is focused on the impact of gender in the scientific, mathematical, and technological domains, given the relatively low representation of women in these fields, which are experiencing a high degree of demand [
3]. Prior research [
4,
5] indicates a need to consider the potential influence of gender on the learning process. This fact can be increasingly emphasised in a society based on science, technology, engineering, and mathematics (STEM), as findings indicate that attitudes and predispositions differ according to field or area of study [
6].
In light of these considerations, there is a growing tendency to incorporate computer science (and thus, Computational Thinking) into disciplinary education, particularly in the domains of science and mathematics [
7,
8,
9]. This approach is motivated by the recognition that these fields can offer valuable opportunities for CT learning [
10,
11]. However, the integration of CT into these disciplines remains a complex issue, as numerous practical challenges remain to be explored. These include the identification of effective activities and approaches, as well as the development of assessment strategies that are appropriate within the new context [
9,
12].
In accordance with this requirement, robotics education becomes progressively more integrated with STEM and CT practices [
13]. To operationalise CT, researchers must consider a greater range of factors, including specific learning environments and learner characteristics. Prior research [
14,
15,
16] indicates a necessity to expand training programs for pre-service teachers, with an emphasis beyond the primary and secondary education levels [
17].
1.1. Computational Thinking
The definition of Computational Thinking (CT) has been subject to evolution since its initial appearance, particularly as a result of the contributions of Seymour Papert in the 1960s and most notably following the comprehensive formulation proposed by Wing [
18]. In 2011, the International Society for Technology in Education (ISTE) and the Computer Science Teachers Association (CSTA) developed an initial comprehensive framework [
19] with the objective of assisting educators in integrating Computational Thinking (CT) into their instructional practices. Computational thinking (CT) is defined as a problem-solving process that encompasses various components, including problem formulation, data organisation and analysis, data representation, abstraction, algorithmic development or generalisation, and the transfer of the problem-solving process.
Another pertinent framework, developed by Brennan and Resnick [
20], is centred on the assessment of CT, based on their research in the domain of coding education. This framework identifies three essential dimensions and their respective elements. The dimensions include concepts (such as sequences, loops, parallelism, events, conditionals, operators, and data), practices (including incremental and iterative approaches, testing and debugging, reusing and re-mixing, and abstracting and modularising), and perspectives (expressing, connecting, and questioning).
Some international organisations, including the Computing at School Group, the Computer Science Teachers Association, and the Association for Computing Machinery, have developed guidelines to promote computational literacy among students. These guidelines emphasise the importance of teaching students the essential concepts and skills related to programming, such as algorithms, sequences, variables, conditionals, loops, synchronism, parallelism, procedures, and debugging. The objective is to enable students to develop solutions to concrete problems [
1,
3,
13]. These findings are consistent with the conclusions of the 2016 European report on Computational Thinking, which defines Computational Thinking as a set of core competencies [
3].
1.2. Computational Thinking Skills in Pre-Service Teachers
Teachers demonstrate a lack of knowledge, competence, self-efficacy, and self-confidence related to the effective integration of technology in the classroom and the utilisation of technology as a pedagogical tool [
13,
21]. The existing scientific literature has predominantly focused on the development of CT skills in K-12 students. Nevertheless, there is a paucity of evidence presented by teachers, particularly those in the pre-service classroom [
22,
23]. In order to enhance this area, the integration of development for pre-service teachers into curricula is recommended [
16,
23,
24].
Yadav et al. [
25] demonstrated that training methods and tools have a significant impact on the CT ability of pre-service teachers. Following a training program, there was a notable enhancement in the participants’ capacity for Computational Thinking (CT), as evidenced by their enhanced comprehension of CT principles, critical thinking abilities, innovation capabilities, and abstraction abilities. Indeed, research [
26,
27] has demonstrated that Educational Robotics (ER) is an effective instrument for cultivating Computational Thinking (CT) abilities at various stages of education, including higher education.
Despite the increase in the number of studies, further investigation is required to fill gaps in knowledge concerning pre-service teachers. Prior research [
16,
28] underscores the necessity for a comprehensive examination of the factors influencing the development of CT competencies, including strategies for integrating science and mathematics, as well as the impact of gender.
1.3. Influence of Gender on Computational Thinking Skills
Gender concerns have emerged as a significant area of study within the educational field, particularly given the growing evidence showing how stereotypes can have a profound impact on students’ attitudes and behaviours, and consequently on their learning experiences. Males are more predisposed to CS than females, while females require more time to complete tasks and develop CT skills [
4,
28]. Males tend to report higher levels of attitude and confidence, although females tend to demonstrate a superior performance in Computational Thinking skills. This situation was maintained across interventions in which female participants showed positive improvements in their self-efficacy, confidence, and programming skills [
29]. The conventional gender role may play a significant role in shaping attitudes towards technology. However, this can be effectively modified under the appropriate conditions [
4,
9].
A study conducted by Esteve-Mon et al. [
28] denoted that males revealed superior outcomes following the implementation of training in CT skills among a total of 114 pre-service teachers. Nevertheless, Angeli and Valanides [
6] observed that girls can achieve greater progress in CT than boys through the implementation of collaborative programming practices. Meanwhile, Günbatar and Bakırcı [
30] revealed how pre-service teachers did not vary based on gender, grade, or other limiting factors. It might be concluded that research on the comparative development of CT skills across genders still remains notably scarce. Tailored studies that examine these factors in the development of CT skills in pre-service teachers could lead to high a impact.
Additionally, it is highly remarkable that there is a reasonable lack of innovation and research on the integration of science and mathematics learning with Computational Thinking (CT) skills [
9]. Based on the abovementioned situation, the authors consider that further investigation is required to fill this gap in the literature by analysing the influence of gender on the development of CT skills in pre-service teachers through science and mathematics content teaching approaches in pre-service teachers. In this manner, an appropriate methodology and the utilisation of adapted programming and ER resources can serve as invaluable tools for reducing gender disparities in the population [
31,
32].
1.4. Educational Robotics in Science, Mathematics and CT Skills
Educational Robotics (ER) is regarded as one of the most prominent topics by the international academic community. Several studies [
14,
17,
33] have determined a high range of benefits provided by the development of students’ skills, with CT being a notable example. In light of the integration of technology, the learning by robotics approach might be considered as a highly effective methodology for Educational Robotics [
15,
16].
A rising number of studies are demonstrating the necessity for encouraging the development of CT skills across different disciplines, including science and mathematics [
34,
35]. The implementation of these skills might be initiated at the earliest educational stages, facilitating not only enhancements in CT capabilities, but also knowledge based skills in other subjects, such as science, mathematics, and engineering [
36,
37].
The inherent characteristics of these disciplines could be driven as a motivational practices in the professional world. In recent years, nearly every discipline associated with science and mathematics has shown a significant expansion based on the development of computer sciences, including bioinformatics, data analytics, computational statistics, chemometrics, and neuroinformatics [
11]. Studies have indicated that the incorporation of CT into the domains of mathematics and science education [
10] may offer certain benefits. In particular, CT enhances skills in topics such as the learning of complex scientific and mathematical concepts [
38], particularly those that are aligned with the Next Generation Science Standards (NGSS) [
9]. In 2018, the ISTE published the Standards for Educators. The Computational Thinking Competencies posit that CT skills can be developed and applied across all schoolages and subject areas. This assertion is also supported by prior research demonstrating how STEM activities boost CT skills, particularly those involving programming and ER [
39].
Positive results in CT skills are achieved when ER is introduced with mathematics content [
40,
41,
42]. This has also been demonstrated in studies conducted on students studying science content. Jaipal-Jamani and Angeli [
43] and Sengupta et al. [
10] presented significant increases in the self-efficacy and interest levels of their study samples. Alternatively, research conducted by Waterman et al. [
44] and Gabriel-Le et al. [
45] demonstrated that teachers enhanced their CT abilities and programming skills in the context of teaching science and mathematics based on a combined design, exhibiting a medium to high level of competence and developing a high sense of self-confidence in their teaching practices.
With respect to gender, there is evidence that females tend to hold more negative attitudes and predispositions than males regarding the use of programming and the learning of scientific and mathematical disciplines. Nevertheless, despite these negative perceptions, girls frequently demonstrate a greater academic proficiency compared to their male counterparts [
4,
5,
6,
46]. Nevertheless, ER has been demonstrated to possess significant potential for the mitigation of the gender disparities that have been observed in these disciplines [
42,
47].
Although research generally focuses on building teachers’ fundamental understanding of CT, only few studies have explored ways of enhancing their CT competency. Ye et al. [
48] emphasised the necessity for studies that develop or support student learning and illustrated the lack of consensus among the research community on how to integrate the two fields. This suggests that the professional development of teachers in emerging competencies like scientific and mathematical thinking based on CT is critically important [
1].
Considering these findings, the present study aims to analyse the Computational Thinking skills of pre-service teachers and the impact of the gender factor, examining changes before and after an intervention in the frameword of Educational Robotics and a science and mathematics approach. The following research questions will be addressed:
RQ1: How does an ER-based intervention under a science and mathematics teaching approach influence pre-service teachers’ CT skills?
RQ2: Does gender influence the CT skills of pre-service teachers before and after an ER-based intervention under a science and mathematics teaching approach?
3. Results
Table 2 and
Figure 4 show the outcomes of the Computational Thinking Test (CTt) prior to the intervention. The results are presented on a global scale, as well as disaggregated by the participants’ genders. As evidenced by the data, the mean score for males was higher than that for females, and the standard deviation was lower for males.
Specifically, males demonstrated an elevated average for 11 of the 14 items on the questionnaire, while only items 2, 6, and 12 exhibited a higher mean for females. Regarding gender-related differences, it is notable that both male and female respondents exhibited a higher average number of correct answers for items 1 and 5 compared to the other items on the questionnaire. For these two items, the average number of correct answers was higher for males compared to females.
A review of the results of the post-test, as detailed in
Table 3 and
Figure 5, reveals the descriptive results of the questionnaires administered after the intervention. These results are presented both globally and separately by gender. In this instance, the overall mean remained marginally higher for males, with minimal variation between genders.
A comparison of the items on the post-test reveals a greater disparity between genders. The male participant demonstrated a higher average on seven items, while the female participant demonstrated a higher average on five items. The remaining two participants exhibited similar averages. As can be observed in the post-test, the results for each item were notably closer between genders than they were in the pre-test, with the exception of item 11.
Table 4 illustrates the findings of the Mann–Whitney U test, which was conducted to identify any statistically significant differences between male and female participants in their pre-test and post-test results on the Computational Thinking Test (CTt).
The test revealed statistically significant differences (p < 0.05) in the pre-test, evident in the total score as well as in items 1, 6, and 14 specifically. Conversely, no statistically significant differences (p > 0.05) were evident in the total scores of the post-test results. However, a statistically significant difference was present for item 11.
Table 5 presents the findings of the Wilcoxon test, which examined the discrepancies between the pre-test and post-test results. The table displays the overall results, as well as the variations by participant gender.
The results demonstrate a statistically significant difference between the pre-test and post-test overall (p < 0.05). Additionally, items 4 and 9 exhibited indications of statistical significance, with values approaching p < 0.05. Upon examination of the data by gender, it was observed that there were statistically significant differences (p < 0.05) for female respondents, while there were no statistically significant differences for male respondents.
Upon closer examination of the data, it became evident that there were statistically significant differences (p < 0.05) for several items across different groups. Specifically, items 10, 11, 12, 13, and 14 showed statistically significant differences in the total results, while items 4, 11, 13, and 14 demonstrated such differences in the female group. Additionally, items 6 and 12 exhibited statistically significant differences in the male group. It should be noted that there were non-statistically significant values (p > 0.05) in both the Repeat until and Simple conditional sub-concepts in the total values.
Figure 6 presents a comparison of the pre-test and post-test outcomes, differentiated by gender and across the entire sample. As show in the box plots, the female respondents demonstrated a more significant increase in the mean score of the questionnaire following the intervention than the male respondents.
To ascertain the degree of Computational Thinking and to identify alterations in scores based on both the preliminary assessment scores and genders, as opposed to solely considering genders,
Table 6 presents the frequencies and percentages of participants corresponding to each Computational Thinking level at both the preliminary assessment and post-assessment.
As illustrated, the low level showed a minimal percentage in both the pre-test and post-test. With regard to gender, it is evident that there was no representation of males in the pre-test. Conversely, the post-test included a single male participant. However, the proportion of female participants declined from 6.41% to 1.28%.
Notably, the medium level demonstrated a significant increase in representation prior to the intervention (71.55%) compared to the post-intervention period (43.97%). Specifically, the pre-test indicated a higher percentage of women than men, with 75.64% of women and 63.16% of men participating. In contrast, the post-test demonstrated very little difference in the percentages of women and men, with 44.87% of women and 42.11% of men involved.
Finally, with respect to the high level, an increase was observed between the initial assessment (24.14%) and the subsequent assessment (54.31%). Conversely, there was a notable divergence in the pre-test percentages between female (17.95%) and male (36.84%) subjects. In contrast, the post-test percentages exhibited a greater degree of similarity between the two genders (53.85% for females and 55.26% for males).
Table 7 presents the results of the Wilcoxon test, which examined the statistical differences between the pre-test and post-test averages for each level of participants. This analysis aimed to assess whether individuals initially grouped into a specific level in the pre-test remained in the same level or transitioned to a different one in the post-test.
At the high level, a decrease was observed in the results of the pre-test (11.63) and the post-test (10.00), with the overall mean remaining at a high level. In terms of gender, statistically significant differences were observed for the female participant (0.02), while the male participant showed indications of significance (0.07).
Finally, the low level displayed indications of significance (0.06), exhibiting an increase from 3.00 in the pre-test to 10.40 in the post-test, situated within the range of the high level. This result is consistent with the findings for females, given that no males participated in the pre-test and were, therefore, not included in the low-level category.
4. Discussion
The increasing demand for and importance of CS skills encourage educational institutions consider how to provide training programs to enhance professional knowledge and skills, including CT [
31,
57]. Research has shown that ER and the learning of science and mathematics can be beneficial for the development of CT [
10,
11]. However, there is a gap in the research regarding the influence of Educational Robotics interventions on the development of CT skills and the gender of pre-service teachers when they are focused on the teaching of science and mathematics content [
25,
41,
42]. Our study attempts to provide scientific support for methodological strategies that allow for incorporating ER in the context of teaching scientific and mathematical content to develop CT skills in pre-service teachers.
In answering the first research question,
how does an ER-based intervention under a science and mathematics teaching approach influence the CT skills of pre-service teachers?, the results of the intervention showed an increase in CT skills among the total scores between the pre-test (8.11 ± 2.52) and post-test (9.63 ± 2.75).
Table 5 shows that these differences were statistically significant, which is consistent with previous studies [
27,
43,
52]. Specifically, statistically significant differences were observed in subconcepts such as
Simple functions and
While, in which both items presented these statistically significant differences. In addition, there were also statistically significant differences in item 10, which belongs to the sub-concept
Compound conditional. It was also possible to appreciate signs of statistical significance (
p~0.05) in items 2, 4, and 9.
Analysing the descriptive results (
Table 2 and
Table 3), in most items where no statistically significant differences were found, there were already high pre-test means, which explains that the main differences in CT skill development were related to more complex concepts and subconcepts. Thus, the intervention and approach of this study allowed for preservice teachers working with ER related to the teaching of science and math content to develop certain complex CT skills. Nevertheless, we need to consider as a limitation in this research the existence of a lack of learning in some CT skills, such as
Repeat until and
Simple Condition, due to the fact that both items of each computational subconcept presented a statistical value far from being significant. Items 6 and 8 presented a not very high average in the pre-test that did not increase much after the intervention. For this reason, despite the great results obtained, it is necessary to improve the strategies for training these skills in future training programs, as well as to continue with further studies with the intention to understand the influence of this resource on training all the sub-concepts of CT.
In general, these results were consistent in regard to the different levels categorised for Computational Thinking (
Table 6), in which it was observed that the percentage of the sample who belonged to the high level increased significantly, going from 24.14% to 54.31%. In contrast, the low and medium levels decreased significantly after the intervention, from 4.31% in the low level and 71.55% in the medium level in the pre-test to 1.72% and 43.97% in the post-test. This indicates that the participants improved their CT skills, with the ER intervention being effective despite the level at which they started.
Participants belonging to a particular CT level in the pre-test (
Table 7) remained in the same level after the intervention. In the medium level there were statistically significant differences between the pre-test (7.24 ± 1.35) and the post-test (9.47 ± 1.35). This means that the sample with a medium level in the pre-test continued to belong to this level in the post-test, although the average was very close to the high level, so with a larger sample it could be expected to reach the high level. In the low level, although there were no statistically significant differences, it presented a value very close to being significant (
p = 0.06), finding an increase from 3.00 (±0.71) to 10.40 (±2.07). In this case, it should be noted that the sample size was small (n = 5) at this level, so it would be expected that a larger sample size would have a greater impact on these results. Nevertheless, this increase can be appreciated, reaching an average belonging to the high level. Statistically significant differences were also found in the high level, which decreased from 11.63 (±1.25) to 10.00 (±2.63). In this case, although the average was lower, it still belonged to the high level. Considering these results, the intervention helped the participants of all levels to reach a mean near the high level, confirming the previous results of
Table 6.
Regarding the second research question,
does gender influence the CT skills of pre-service teachers before and after an ER-based intervention under a science and mathematics teaching approach? the results indicated a higher mean CT level in males (8.95 ± 2.38) than in females (7.71 ± 2.49) before the intervention (
Table 2). These differences (
Table 4) were statistically significant, which is consistent with previous studies [
28,
39].
Regarding the results after the intervention, it was observed (
Table 4) that there were no statistically significant differences participants (
p = 0.86) between the male (9.71 ± 2.87) and female participants (9.60 ± 2.72). The results of the Wilcoxon test (
Table 5) showed that there were no significant differences for the male participants, but there were for the female participants. This evidence shows that the global increase in the level of CT was essentially caused by the increase in the level of CT in the female participants. It is important to clarify that, despite the lack of statistically significant differences, the male participants also showed increases in the different CT skills examined.
This finding is in accordance with the scientific literature [
6], which shows that females, despite having a lower predisposition and CT skills prior, after appropriate interventions, develop a level of CT that is equivalent to or higher than that of males. Our results are also in agreement with the study of Günbatar and Bakırcı [
30], in which no significant differences in CT were found between males and females after interventions, so ER may be a tool that allows for reducing gender differences in the development of these skills.
The CT scores observed (
Table 6 and
Table 7) are consistent with these findings, with more women (75.64%) than men (63.16%) demonstrating both intermediate and lower CT scores before the intervention. Conversely, males had a higher presence at thehigh level (36.84%) than females (17.95%). However, both women (44.87%) and men (42.11%) were equally represented at the middle and high levels (53.85% and 55.26%) after the intervention. In both genders, there was a statistically significant difference between their pre- and post-intervention mean scores, with a mean close to the high level, regardless of gender and initial score. Moreover, this is complemented by the results obtained in terms of concepts and sub-concepts, since the results showed that there was a higher mean for men in 11 of the 14 items of the questionnaire. On the post-test, however, the difference was more pronounced, with males scoring higher on seven items and females on five items.
Our findings help to fill the gap regarding the development of CT literacy among pre-service teachers by providing robotics-based training and learning activities that focus on science and math learning. The results indicated that the female gender significantly increased their CT skills, matching the skills of the male gender. This fact shows that CT skills, understood as one of the necessary skills for people today, can be promoted and developed through interventions based on ER and this approach. Therefore, there is a call for more interventions of this nature to reduce the gender gaps that may exist in certain areas such as computer science and scientific and mathematical fields, especially when it involves pre-service teachers.
5. Conclusions
The results of this study indicate that the integration of Educational Robotics into science and mathematics education can be an effective approach to the development of Computational Thinking (CT) skills in pre-service teachers. The main results showed a significant increase in CT skills between the pre-test (8.11) and the post-test (9.63), highlighting sub-concepts such as Simple Functions, While and Compound Conditional, which are highly complex skills. In addition, an increase in the percentage of the sample belonging to the high level of Computational Thinking stood out, increasing from 24.14% in the pre-test to 54.31% in the post-test.
However, although encouraging, these results should be viewed with caution. Despite the overall improvement in CT skills, some subconcepts, such as Repeat until and Simple conditionals, did not show a comparable degree of improvement. This observation suggests that, while Educational Robotics in this approach had a positive impact on CT skill development, not all sub-concepts showed the same level of progress. This underscores the importance of supporting this strategy with complementary or specific approaches to strengthen those sub-concepts that did not show a significant degree of improvement.
With respect to gender, the results found significant differences before the intervention, with higher mean CT skills observed in males compared to in females. However, these differences between males and females were equalised after the intervention. Also, the percentage of the sample belonging to the high level (53.85% in females and 55.26% in males) was similar in both genders, and the level was equalised regardless of the starting level of each gender. Nevertheless, it is important mention that some specific sub-concepts still showed some differences, suggesting that strategies need to be refined in order to ensure a uniform improvement in all areas of Computational Thinking, regardless of gender.
Therefore, the focus on teaching science and mathematics through the Educational Robotics interventions allows for increasing the development of the Computational Thinking skills of pre-service teachers, while mitigating gender differences, allowing for equalising the level of skills developed.