Abstract
The integration of Generative Artificial Intelligence (GenAI) into programming education has introduced new opportunities and challenges for the teaching–learning process in higher education. While GenAI tools can support personalized learning and immediate feedback, their effectiveness depends on how they are pedagogically integrated into instructional environments. This study analyzes the relationship between GenAI-supported instructional strategies, academic context, affective factors, and demographic variables on normalized learning gain in undergraduate introductory programming courses. A multi-group quasi-experimental pre-test–post-test design was conducted involving 648 engineering students distributed across 53 course groups taught by 32 professors from 10 campuses. Four GenAI-supported instructional strategies were implemented and compared with traditional instructional conditions. Learning gains were analyzed through a linear mixed-effects model considering instructional strategy, academic program, student frustration, future intention to use GenAI, student gender, and professor gender as fixed effects, while group/professor was modeled as a random effect. Results showed that instructional strategy was the strongest predictor of learning gain, followed by academic program and student frustration. In contrast, demographic variables and future intention to use GenAI did not show significant associations with learning outcomes. The findings suggest that learning gains in programming education depend primarily on instructional design and pedagogical mediation rather than on students’ demographic characteristics or technological predisposition.
1. Introduction
Teaching introductory programming to undergraduate students remains a significant educational challenge due to the diversity of students’ prior knowledge, learning styles, and problem-solving abilities. These difficulties can negatively affect student performance and retention during the first years of engineering education (Lahtinen et al., 2005; Nikula et al., 2011). In recent years, the rapid adoption of Generative Artificial Intelligence (GenAI) tools has introduced new possibilities for supporting programming education through personalized feedback, adaptive tutoring, code generation, and interactive learning assistance (Holmes et al., 2019; Zawacki-Richter et al., 2019; Chamba Cuadros & Borroto Cruz, 2025; Qian, 2025). As a result, universities are increasingly integrating GenAI technologies into programming courses to support the teaching–learning process. However, determining which instructional strategies are most effective for integrating GenAI into introductory programming education, and understanding how contextual, affective, and demographic variables interact with these strategies, remains an open research problem.
Previous evidence suggests that GenAI has transformative potential in higher education through personalized learning, adaptive feedback, and interactive educational support (Al-Zahrani & Alasmari, 2024; Slimi, 2023). However, recent studies indicate that the effectiveness of GenAI-supported instructional environments depends on multiple contextual and pedagogical factors, including instructional strategy, student engagement, and individual learning conditions (Elshaer et al., 2024). Furthermore, some authors have suggested that these settings may influence student subgroups differently, particularly within Science, Technology, Engineering, and Mathematics (STEM) education contexts where demographic disparities have historically been reported (Carrell et al., 2010; Mansour et al., 2022).
Evidence suggests that variables such as student and professor gender, academic context, affective experiences (e.g., frustration), and future intention to use GenAI should not be analyzed independently when evaluating GenAI-supported instructional strategies. Instead, these factors may interact and jointly influence students’ learning outcomes in programming education. Recent studies have explored multifactorial analyses involving demographic, academic, and affective variables associated with GenAI use in undergraduate STEM courses (S. Chen et al., 2026).
Previous research on programming education has shown that, in this discipline, learning outcomes are also influenced by multiple dimensions, including prior experience, cognitive skills, and personal characteristics (Bergin & Reilly, 2005). These findings suggest that programming performance cannot be explained through isolated demographic variables alone, reinforcing the importance of multifactorial approaches when analyzing learning gains in GenAI-supported instructional environments.
Studies on GenAI integration in education have reported important pedagogical and ethical concerns among both students and professors, including issues related to trust, dependence on technology, and responsible academic use (Chan & Hu, 2023; Sharmin et al., 2026). These findings reinforce the need to evaluate this process not only from a technological perspective but also from its pedagogical implications within real educational contexts.
Reviews of recent research on GenAI in education identify both opportunities and risks associated with these technologies (Prather et al., 2023). On one hand, proficiency in GenAI tools may provide students with advantages in future professional environments. On the other hand, excessive dependence on these systems could weaken the development of expected programming competencies and independent problem-solving skills (Özer, 2024).
Despite the growing number of studies, many investigations still conceptualize GenAI technologies primarily as instructional support tools. However, the integration of GenAI into programming education may reshape the traditional teaching–learning interaction by introducing these systems as active elements within the educational process. Recent studies in computer science education suggest that Large Language Models (LLMs) and GenAI coding assistants can influence how students approach problem-solving and conceptual understanding during programming tasks (Denny et al., 2024b). Consequently, programming education increasingly operates within a triadic interaction involving students, professors, and GenAI systems, where learning outcomes may depend on the dynamic relationship among these components.
At the same time, recent studies suggest that the integration of GenAI into educational environments may also generate negative affective experiences when these systems are not aligned with students’ learning needs. In particular, frustration, emotional disengagement, and reluctance to use GenAI tools have been associated with lower academic performance and reduced trust in GenAI-supported instructional contexts (Daud, 2026; Alquran & Banitaan, 2026). These findings highlight the importance of considering affective and perceptual variables when evaluating learning outcomes in programming education supported by GenAI tools.
When GenAI is integrated into education, the role of professors evolves from being the primary source of information to becoming pedagogical mediators who regulate student–tool interactions while preserving conceptual understanding (Seo et al., 2021). This perspective motivates the integrated approach adopted in the current study, which examines the interaction between instructional strategies, affective variables, academic context, and demographic factors to explain learning gains in introductory programming courses.
To operationalize GenAI-supported instructional practice, this study implemented four pedagogical strategies: Quizzes for Self-Regulation, Prompt Problems with Iterative Refinement, GitHub–Copilot-Assisted Learning, and Flipped Learning Enhanced with GenAI. Rather than evaluating GenAI as a standalone technological tool, these strategies were designed to represent different forms of pedagogical mediation within programming education.
Accordingly, the main contribution of this work is the proposal of a linear mixed-effects model to analyze the relationship between learning gain and multiple instructional, contextual, affective, and demographic variables in undergraduate introductory programming courses. Learning gain was evaluated using Hake’s normalized gain approach (Hake, 1998), comparing students’ conceptual understanding before and after instruction on iteration structures and lists. Through this approach, the study seeks to provide empirical evidence regarding the pedagogical conditions under which GenAI may support learning in higher education programming environments.
2. Hypothesis
According to this vision, this work proposes the following research question.
RQ: To what extent are learning gains in undergraduate introductory programming courses associated with instructional strategy, academic program, student frustration, future intention to use GenAI, student gender, and professor gender, after accounting for variation among classroom groups?
To address the research question, the following research hypothesis is proposed:
H0:
Learning gains in undergraduate introductory programming courses do not differ as a function of instructional strategy, academic program, student frustration, future intention of GenAI use, student gender, or professor gender after controlling for group-level variation.
H1:
Learning gains in undergraduate introductory programming courses are significantly associated with one or more of the following factors: instructional strategy, academic program, student frustration, future intention of GenAI use, student gender, or professor gender after controlling for group-level variation.
3. Materials and Methods
This study employed a multi-group pre-test–post-test quasi-experimental between-subjects design involving control and experimental conditions. Initially, 1457 undergraduate engineering students distributed across 53 class groups taught by 32 professors from 10 campuses across different states in Mexico were considered for participation. Existing classroom groups were assigned to professors by the academic department responsible for the course. This was performed before the start of the semester according to institutional logistical and scheduling constraints, preventing complete individual randomization. Professors identified the instructional strategy they were most comfortable implementing, and each experimental group was exposed to only that strategy. Control groups received traditional instruction. Each group was taught by a single professor.
To ensure uniform implementation across groups, a professor was assigned to coordinate each strategy. This professor created a guide for the strategy and introduced it during a kick-off meeting, along with the research objectives. Follow-up meetings and communications were led before and during the implementation to address questions.
The intervention was conducted during a four-week period within a ten-week introductory programming course consisting of two two-hour sessions per week. The instructional intervention focused on two programming topics: iteration control structures and lists, while the remaining course topics were taught using traditional instructional approaches. The programming language used throughout the course was Python 3.13.
As part of the data preparation process, only students who completed both the pre-test and post-test were included in the analysis. Extreme outliers (e.g., values < −50%) were removed, as well as records from students whose normalized learning gain could not be computed because they obtained the maximum possible score on the pre-test. Additionally, records associated with exchange students were excluded due to the limited number of cases available for statistical analysis.
In the case of gender options, only three participants selected the ‘Other’ gender category. Because this subgroup represented less than 0.5% of the analytic sample, the number of observations was insufficient to support reliable statistical estimation or meaningful subgroup comparisons within the linear mixed-effects model. Consequently, these cases were excluded from analyses involving gender as a predictor. This decision was made for methodological reasons related to statistical validity and should not be interpreted as suggesting that gender-diverse students are unimportant to programming education research.
The final analytic sample comprised 648 students distributed across 41 experimental groups and 12 control groups. Figure 1 summarizes participant flow, exclusions, and final group assignments. Exclusion criteria were applied sequentially during the data preparation stage to ensure consistency in the computation of normalized learning gains and the statistical comparability of participant groups.
Figure 1.
Participant flow summary.
The following sections present the different strategies supported by GenAI that were used in this study.
3.1. Basic Programming Teaching and Learning Strategies Scaffolded by Generative Artificial Intelligence
In this study, four instructional strategies were used to implement GenAI to scaffold basic programming teaching–learning processes:
- Quizzes for Self-Regulation;
- GitHub–Copilot-Assisted Learning;
- Prompt Problems with Iterative Refinement;
- Flipped Learning Enhanced with GenAI.
3.1.1. The Quizzes for Self-Regulation Strategy
This strategy followed the approach described by Paredes and Martinez-Treviño (2026). The authors propose providing students with guidance on how to effectively use GenAI to explore and solve programming tasks. This guidance emphasizes the capabilities and limitations of GenAI while allowing students the flexibility to use it according to their individual learning needs. As part of this approach, students are encouraged to use GenAI to strengthen their algorithmic thinking and deepen their conceptual understanding, rather than relying on it merely to obtain solutions to specific programming problems. To observe students’ progress and ensure their programming skills development, the strategy incorporates frequent in-class short quizzes.
The quizzes emphasized conceptual understanding and code analysis rather than memorization or syntax recognition. Different question formats were employed, including coding exercises, code evaluation tasks, and multiple-choice questions. Frequent quizzes allowed professors to monitor students’ progress and provide corrective feedback while encouraging consistent study habits and reducing assessment-related anxiety.
Additionally, this strategy fostered students’ self-regulation and critical thinking skills, giving them complete control over the use of GenAI tools and the consequences of their decisions.
3.1.2. The GitHub–Copilot-Assisted Learning Strategy
This strategy employed GitHub–Copilot as a GenAI pair programming assistant to support students while solving programming exercises in the Visual Studio Code integrated development environment. This teaching approach was implemented in three stages:
- Onboarding: Students were guided to integrate GitHub–Copilot into Visual Studio Code and learned how to interact with it using natural language prompts.
- Guided Practice with GenAI assistance: During this phase, professors first demonstrated the process to solve a programming exercise with the tool. Students then applied the same approach to a different exercise, while professors offered individualized support and answered specific questions as needed.
- Reflective Learning: After completing each exercise, students composed a reflection on their learning experience. In this reflection, they detailed how they interacted with the GenAI assistant and evaluated the effectiveness of the tool, describing how it helped them overcome obstacles during the task.
By combining GenAI-generated exercises, student-driven practice loops, and reflective activities, this approach aimed to promote deeper conceptual understanding of programming while helping students manage the frustration and anxiety often associated with learning to program.
GitHub–Copilot was not used to replace programming practice, but to support experimentation, reduce cognitive friction, and encourage iterative learning in a learning-by-doing environment.
For this research, GitHub–Copilot v1.104, and Visual Studio Code 1.105 were used.
3.1.3. The Prompt Problems with Iterative Refinement Strategy
This strategy, inspired by the Prompt Problems concept proposed by Denny et al. (2024a), was designed to teach students how to write effective and precise prompts to generate code capable of solving a specific problem. In this approach, problems were presented to the students as images that illustrated inputs and output values, and a short text to clarify the objective of the problem.
Students were asked to create a natural language prompt that, when provided to the GenAI tool, successfully generated code to solve the given exercise by successfully passing a predefined set of tests. To achieve this, students had to identify the key characteristics of the problem and express them clearly in their prompts to ensure that the code generated by the tool satisfied all test cases.
In this study, the original strategy was extended to reflect iterative software development practices, where students progressively refined prompts until the generated code satisfied predefined requirements and test cases. To ensure consistency with course objectives, students received initial contextual instructions limiting the scope of generated solutions according to the programming topics covered in class. Throughout the process, students evaluated, tested, and refined the generated code iteratively while documenting their interactions with the GenAI tool and the resulting solutions.
3.1.4. The Flipped Learning Enhanced with GenAI Strategy
This strategy was based on the Flipped Learning methodology, originally defined by Sams and Bergmann (2013), where students are asked to review materials, such as videos, readings, or podcasts, before class to gain a basic understanding of upcoming topics. During class, students engage in active learning activities, receiving guidance from the professor to address their questions and reinforce their understanding.
Since one of the biggest challenges in applying this methodology was students lacking motivation to review materials before class (Zainuddin et al., 2019), this work considered the previously proposed approach (Huesca et al., 2024) that integrates the use of GenAI tools to improve student pre-class preparation.
Following this approach, pre-class activities were redesigned to include a set of guided questions to encourage student interaction with the tool. Students explored a list of questions provided before class and used the GenAI tool to answer them by clarifying concepts, generating examples, and creating and solving exercises. This iterative process allowed students to practice until achieving a clear understanding of the material.
3.2. Assessment of Learning Gains
A 10-item test was developed to evaluate key concepts from both programming topics (loops and lists), combining true/false items with single-answer multiple-choice questions. The instrument was administered as both a pre-test and a post-test to evaluate students’ learning gains in control and experimental groups. The test included questions targeting conceptual understanding and code analysis abilities. Informed consent was obtained from all participants at the beginning of the first topic (loops), followed by an explanation of the study’s objectives made by the professor, and prior to the administration of the pre-test. Table 1 presents the items included in the assessment instrument.
Table 1.
Instrument used for pre- and post-test to measure students’ learning gains.
The normalized learning gain proposed by Hake (1998), as defined in Equation (1), was used to quantify students’ improvement relative to the maximum possible increase from their pre-test scores, offering a standardized metric that accounts for differences in prior knowledge.
where
- Pre-test result for the student : .
- Post-test result for the student : .
- # of items in test: 10.
Instrument reliability was computed using pre-test and post-test results. Given the dichotomous nature of the items, reliability was assessed using ordinal Cronbach’s alpha based on tetrachoric correlations (alpha = 0.81) and composite reliability (CR = 0.71). These values are acceptable according to the previous literature (Hair Junior et al., 2014).
Additionally, a one-factor confirmatory factor analysis model was estimated using weighted least squares. Standard fit indices indicated excellent fit (CFI = 0.99, TLI = 0.99, RMSEA = 0.03, SRMR = 0.05), while robust indices indicated acceptable fit (robust CFI = 0.93, robust TLI = 0.92, robust RMSEA = 0.07). According to a previous work (Hu & Bentler, 1999), these results are consistent with the adequacy of a one-factor model.
On the other hand, standardized factor loadings of questions extended from 0.28 to 0.94. Most questions had moderate to strong associations, although a small number of questions (item 1 and item 10) had weak loadings, indicating variability in discrimination. The average variance extracted was AVE = 0.33. Accordingly (Fornell & Larcker, 1981), this value suggests that the variance explained by the construct is limited.
In summary, the results suggest that the test offers an internally consistent and approximately unidimensional measure of the construct, supporting its application in this study. Results also suggest that some questions may be less strongly related to the latent variable, bringing the possibility of applying adjustments to some of them to improve the quality of the instrument.
Additionally, items in the instrument were reviewed by the participating instructors before implementation to ensure adequate content coverage and clarity.
4. Results
This research examines the normalized learning gains of undergraduate engineering students taking an introductory programming course. The study involved a pre-test–post-test design with experimental and control groups. The following variables were involved in the analysis.
- Instructional strategy: The four GenAI-supported instructional strategies previously described were used (P—Prompt Problems with Iterative Refinement strategy; F—Flipped Learning Enhanced with GenAI strategy; Co—GitHub–Copilot-Assisted Learning strategy; Q—Quizzes for Self-Regulation strategy), and a traditional teaching strategy (Control).
- The student’s academic program: When students start at the undergraduate level, institutionally, they are categorized into four disciplinary areas according to the specific academic program they want to study. This categorization is useful for them because they can explore the different programs that make up the disciplinary area to which they belong and receive basic training in it, which brings flexibility during this stage of their studies. The four areas are (1) Engineering—Bioengineering and Chemical Process (IBQ), (2) Applied Sciences (ICI), (3) Computer Science and Information Technologies (ICT), and (4) Innovation and Transformation (IIT).
- Students’ frustration: The following question was included in the post-test to assess students’ frustration: “How much frustration did you feel while learning about cycles and lists?” Responses were recorded on a 0-to-10 scale, where 0 indicated no frustration, and 10 represented the maximum level of frustration.
- Student’s future intention to use GenAI for academic purposes: The following question was included in the post-test to assess this variable: “Would you use GenAI tools for your learning in other training units?” Possible answers were “Yes” (1), “No” (−1), “I don’t know” (0).Student gender: “Male” and “Female” were used as possible answers for this question. An “Other” option was included with the possibility to specify. Three participants selected the ‘Other’ gender category. Due to the very small size of this subgroup, reliable statistical estimation was not possible; therefore, these cases were excluded from analyses. Consequently, interpretations of gender effects are limited to the male and female categories represented in the final analytic sample.
- Professor gender: “Male” and “Female” categories described this variable.
- Group/Professor: Since each group had only one professor, these variables were taken as a single variable indicating the group in which the student was enrolled.
To observe the interactions of the variables on learning gain, a linear mixed-effects model was developed. This type of model was chosen to control variability among professors and groups.
For this model, the following variables were considered fixed effects:
- InstructionalStrategy—GenAI-supported instructional strategy.
- AcademicProgram—The student’s academic program.
- StudentFrustration—Students ‘frustration.
- FutureIntentionOfAIUse—Student’s future intention to use GenAI for academic purposes.
- StudentGender—Student gender.
- ProfessorGender—Professor gender.
The following variable was taken as the random effect:
- Group—Group/Professor.
Descriptive statistics by instructional strategy can be found in Table 2.
Table 2.
Descriptive statistics by instructional strategy.
The model used for this analysis can be seen in Equation (2).
LearningGain ∼ InstructionalStrategy + AcademicProgram +
StudentFrustration + FutureIntentionOfAIUse +
StudentGender + ProfessorGender + (1|Group)
StudentFrustration + FutureIntentionOfAIUse +
StudentGender + ProfessorGender + (1|Group)
Inclusion of the interaction terms between StudentFrustration and InstructionalStrategy, as well as between StudentFrustration and AcademicProgram, did not significantly improve the model (all LRT p > 0.19; ∆AIC > 1.9). Therefore, the model was not extended to include these elements.
4.1. Pre-Test Comparability
To show the baseline comparability for the four GenAI-supported instructional strategies and the control group, a statistical analysis of the pre-test results has been performed. Table 3 shows the descriptive statistics, the results of a normality test, the results of a homoscedasticity test, and the results of a test for significant differences for instructional strategies samples. A Kruskal–Wallis test was applied because samples deviated significantly from normality according to Shapiro–Wilk tests. Homoscedasticity was supported according to Levene’s test.
Table 3.
Pre-test descriptive and inferential statistics for instructional strategies samples.
Given that results indicated significant differences among some strategies, a pairwise Wilcoxon rank-sum test with Holm adjustment was applied, with the Control sample having a significantly higher pre-test result than those from Copilot, Prompt Problems, and Quizzes strategies. No other significant differences were observed. These results are presented in Table 4.
Table 4.
Pairwise Wilcoxon rank-sum tests with Holm adjustment applied to pre-test results by instructional strategy.
4.2. Model Diagnosis
The residuals vs. fitted values plot can be seen in Figure 2.
Figure 2.
Residuals vs. fitted values plot for the linear mixed-effects model to observe incidence over learning gains.
The plot of residuals versus fitted values shows slight indications of heteroscedasticity, an overall downward trend, and the presence of bands associated with the categorical structure of the predictors, as well as some isolated outliers. To assess whether these patterns reflected model specification problems, residuals were analyzed by group level and by the Frustration variable, as it was the only variable treated as continuous and a potential source of nonlinearity. In both cases, the residuals remained centered around zero and did not show systematic patterns. Consequently, the patterns observed in the model plot are interpreted as aggregation effects inherent to mixed models with multiple categorical predictors rather than evidence of inadequate model specification. Figure 3 shows the normal probability plot of residuals of the model to observe incidence over learning gains.
Figure 3.
Normal probability plot of residuals for the linear mixed-effects model to observe incidence over learning gains.
It can be observed that the residuals approximately follow a normal distribution. Except for the tails, the assumption of normality holds in the center of the distribution. Therefore, normality is adequate for a mixed linear model. The deviations in the upper tail may represent exceptionally high-achieving students, which is expected in an educational context. Furthermore, linear mixed models are robust to slight deviations from normality and homoscedasticity (such as those in this model), especially when the main interest is the estimation of fixed effects and not extreme prediction (Schielzeth et al., 2020). The Variance Inflation Factor (VIF) for each fixed effect has been calculated and can be consulted in Table 5.
Table 5.
Variance Inflation Factors (VIF) with Confidence Intervals.
As can be seen, none of the fixed effects have collinearity problems (VIF < 5). The regression coefficients can therefore be interpreted with confidence, as inflation due to correlations among predictors is minimal.
4.3. Model Results
4.3.1. Model Global Effects
As a first result, the global effects of the model are shown by means of a type III analysis of variance in Table 6.
Table 6.
Type III ANOVA results for the linear mixed-effects model.
As can be observed, only the fixed effects of InstructionalStrategy, StudentFrustration, and AcademicProgram have significant overall effects on the dependent variable (learning gain). These results suggest a differentiation among instructional, academic, and affective factors in their connection to learning gains.
The instructional strategy employed, as well as academic context, represented by students’ academic programs, showed significant associations with learning gains. In addition, the affective dimension of learning, captured through students’ reported levels of frustration, emerged as a strong contributing factor. In contrast, demographic variables did not show meaningful associations with learning gains. This pattern suggests that learning outcomes in introductory programming courses are more strongly influenced by pedagogical design, academic background, and students’ emotional experiences than by demographic characteristics or future-oriented attitudes toward GenAI use.
4.3.2. Effect Size of Fixed Variables in the Model
Next, the effect size of the fixed variables in the model is shown in Table 7 by calculating the partial η2.
Table 7.
Partial η2 effect sizes for the linear mixed-effects model.
The following effect sizes can be observed in the fixed variables that have significant overall effects:
- The InstructionalStrategy variable showed the largest effect size in the model (partial η2 = 0.360), indicating a substantial association with learning gain compared with the other variables considered.
- The AcademicProgram variable showed a moderate effect size (partial η2 = 0.086), suggesting a smaller but still relevant association with learning gain.
- Although the StudentFrustration variable presented a statistically significant effect, its effect size was comparatively small (partial η2 = 0.014).
Overall, the effect size analysis suggests that instructional strategy was the variable most strongly associated with learning gain within the proposed model, followed by academic context, while affective variables showed comparatively smaller effects. Demographic and attitudinal variables exhibited minimal associations with learning gain.
It is important to say that, for the findings mentioned before, a distinction cannot be made between strategies using GenAI and the traditional teaching–learning process since the InstructionalStrategy variable contains all five levels.
4.3.3. Fixed-Effect Coefficients
To analyze the impact of the fixed variables, the intercept is defined as corresponding to a female student, with a female teacher, in the IBQ program, in a control group, with no frustration, and who does not know if she will use GenAI in the future. Table 8 shows the model coefficients.
Table 8.
Fixed-effect coefficients of the linear mixed-effects model.
The expected learning gain for the reference profile is 60.98 points. In the case of the instructional strategy, the following applies:
- The flipped learning strategy shows a significant learning gain of −13.631 compared to the control groups (Pr(>|t|) = 0.035).
- The prompt problems strategy also shows a marginal negative trend in learning gain of −8.746 compared to the control groups (Pr(>|t|) = 0.095).
- The other strategies do not show a significant association with learning gain when compared to the reference (control group).
Although differences in learning gains were associated with the instructional condition, only the Flipped Learning enhanced with GenAI strategy differed significantly, and the Prompt Problems with Iterative Refinement strategy differed marginally from the control group, both presenting lower learning gains. These findings do not provide evidence that GenAI-supported instructional strategies generally outperform traditional instruction.
In the case of the academic program, the following applies:
- The ICI program shows a significant learning gain difference of 16.695 compared to the IBQ program (Pr(>|t|) = 0.009).
- The ICT program shows a marginal significant positive trend in learning gain difference of 10.871 compared to the IBQ program (Pr(>|t|) = 0.070).
- IIT has no impact on learning gain compared to the reference (IBQ program).
In the case of student frustration, this variable is negatively associated with learning gain when all other variables are held constant. This association highlights the relevance of emotional support within programming courses. Regarding the subsequent use of GenAI, there is no significant relationship with learning gain. Therefore, this intention does not necessarily imply better performance.
With respect to student and professor gender, the model does not show significant gender gaps in learning when the other variables are controlled.
4.3.4. Explained Variance
Table 9 shows the marginal explained variance and the conditional explained variance of the model.
Table 9.
Marginal and conditional R2 values for the linear mixed-effects model.
Both effects explain a portion of the variance, but most of it remains unexplained. This could be because learning gain depends on variables that are not generally measured, such as students’ study habits or their family context, as Domider and Dalayap (2025) and Ozili (2023) have stated. The difference between marginal and conditional R2 values suggests that group-level variability contributed substantially to the variance captured by the model.
4.4. Post Hoc Comparisons
Since the instructional strategy and the academic program variables were significant, post hoc comparisons are shown for the levels of these variables in Table 10 (GenAI-supported instructional strategies) and in Table 11 (Academic program).
Table 10.
Post hoc comparisons for the GenAI-supported instructional strategies variable.
Table 11.
Post hoc comparisons for the academic program strategy variable.
It can be observed that Quizzes strategy has a significant positive difference in learning gain compared to Flipped Learning (estimate = 21.774, p = 0.013) and Prompt Problems (estimate = 16.889, p = 0.030). The other comparisons are not significant.
It can be observed that ICI has a significant positive difference in learning gain compared to IBQ (estimate = 16.695, p = 0.048). The other comparisons are not significant.
4.5. Complementary Analysis Controlling Pre-Test Differences
Given that some instructional strategies presented significant differences in the pre-test, a covariance analysis (ANCOVA) was implemented to determine if this context was relevant to the primary analysis. In this analysis, post-test results were used as the dependent variable, while instructional strategy was used as the fixed factor, and pre-test results as the covariate. This structure allows post-test comparisons while statistically controlling for differences in the initial knowledge of students.
The complementary analysis was conducted using post-test rather than normalized learning gain because normalized learning gain already incorporates pre-test performance in its calculation. This could therefore introduce redundancy or potentially distort the interpretation of the effect.
To evaluate the assumption of homogeneity of regression slopes, a model representing the interaction between instructional strategy and pre-test was built. This interaction was not significant (F = 0.85, p = 0.493), indicating that the relationship between pre-test and post-test results was comparable between strategies, giving support to the application of ANCOVA.
Results suggest a significant effect of the pre-test variable (F = 75.77, p < 0.001, eta-squared = 0.11). Also, the instructional strategy variable presented a significant effect (F = 8.55, p < 0.001, eta-squared = 0.05).
Estimated marginal means adjusted for the pre-test variable were Control = 7.52, Copilot = 7.87, Flipped Learning = 7.05, Prompt Problems = 7.02, and Quizzes = 8.00. Figure 4 shows these values. Post hoc comparisons, obtained by a Tukey-adjusted test, suggested that there is no significant difference between the control group and the other strategies (all p > 0.05). However, significant differences were suggested between Quizzes and Flipped learning (p = 0.002), and Prompt Problems (p < 0.001). It was also suggested that Copilot presents significant differences between Flipped Learning (p = 0.028) and Prompt Problems (p = 0.002). No other differences were detected with statistical significance.
Figure 4.
Estimated marginal means of post-test Scores by instructional strategy adjusted for pre-test.
Residual normality tests presented minimal deviations from normality in a Shapiro–Wilk test (W = 0.987, p < 0.001). However, Q-Q plots for residuals for each strategy followed an approximately normal distribution in the center, with deviations appearing in the tails. These observations were considered acceptable given the large sample size and the strength of linear models when control deviations from normality. Levene’s test indicated heteroscedasticity (F = 6.67, p < 0.001). Given this, Eicker–Huber–White standard errors were estimated. The results of this test remained substantively consistent with the original model.
According to these findings, the ANCOVA results were consistent with the findings derived from the primary analysis. This suggests that, even if there were detected baseline differences in the pre-test, the overall effects of instructional strategies were not substantially modified after controlling for these differences.
5. Discussion
The results provided support for H1, suggesting that, after accounting for group-level variation, learning gains were significantly associated with instructional strategy, student frustration, and academic program. No significant associations were observed for future intention of AI use, student gender, or professor gender.
The findings suggest that the learning gains in introductory programming education depend primarily on the pedagogical design and the teaching–learning process. Additionally, rather than functioning as inherently beneficial tools, GenAI systems appear to require structured instructional mediation aligned with learning objectives and students’ cognitive needs to produce effective results in learning gains.
While the overall strategy design was significant (variable with five levels representing the four GenAI strategies and the traditional strategy), pairwise comparisons did not capture significant differences between the GenAI-supported instructional strategies and the control group. However, the estimated effects of the model suggest that not all instructional strategies may work in the same way. This highlights the importance of a careful instructional design that aligns with learning objectives.
The complexity of the target strategy may define the limits of GenAI integration, as shown by the lack of positive results when applied to highly structured approaches such as Flipped Learning, which require specific professor and student skills. One possible interpretation for this specific finding is that some GenAI-supported instructional strategies may introduce self-regulation and structural and technical needs, potentially increasing cognitive load (Kalyuga, 2011).
A related perspective can be observed in the Extended Prompt Problems strategy, given a similar pattern in the estimated effects. It is also possible that the strategy requirements, in terms of abstraction and prompt writing, may not be easy for students to manage at first. This highlights the need for close pedagogical support to ensure the successful integration of GenAI.
In contrast, the Copilot strategy presents a different implementation approach. While other strategies rely on general textual interactions, the Copilot-based strategy creates a code generation environment. This may support the development of practical programming skills in environments that resemble professional software development contexts. However, this same characteristic may also increase the risk of excessive dependence on the tool, potentially limiting deeper cognitive engagement during programming activities.
Regarding the quiz strategy, one possible explanation for the observed pattern is its potential to support self-regulated learning by creating a cyclical feedback environment. Continuous monitoring of student progress can encourage them to act, which, in turn, can lead to better knowledge consolidation through self-reflection. To ensure that the quiz strategy promotes metacognitive engagement and iterative feedback, a study on self-regulated learning is necessary.
It is possible that the observed similarity in learning gains between the experimental and control groups may be due to the duration of the intervention. As indicated by Cubillos et al. (2025), the relatively short duration of the GenAI implementation may have been insufficient to fully observe the effect of the tools on student learning. This may be due to short-term interventions that may capture initial engagement but may not be enough to consolidate knowledge. Longer-term studies are required to investigate whether the absence of significant differences between groups is maintained over time.
Regarding the program variable, it is important to note that, although it has a statistically significant effect of moderate magnitude on the model, it appears to be focused on the relationship between the ICI and IBQ programs. ICI is the applied science area in which students are more likely to have experience solving problems using technology, which may explain these results in a basic programming course. These findings may suggest the importance of providing differentiated pedagogical support according to students’ disciplinary backgrounds and prior technological experience. However, this idea diverges from Jiao et al. (2022), where it was found that pre-requisite knowledge tends not to play a key role in academic performance.
Furthermore, rather than reflecting a lack of skill in other students, this finding may indicate that aligning the students’ prior experience with the course requirements leads to greater learning gains. This difference in the behavior of the program variable contrasts with the results of Liu and Yushchik (2024), where the authors found that all the programs studied (Computer Science, Economics, Anatomy, and English) find similar benefits when using GenAI. Future research that considers the disciplinary context when designing GenAI-supported instructional strategies is needed to know more about this variable.
On the other hand, the frustration variable presented a significant negative effect on learning gains. Although this effect is small, it indicates that even small increases in frustration can weaken learning. This highlights the need to consider affective components in instructional design. In the context of GenAI-supported instructional strategies, where cognitive load can be affected, building a framework that considers the emotional component becomes crucial. It is here that professors’ participation becomes irreplaceable in reinforcing this fundamentally human aspect. Learning programming often involves repeated trial-and-error cycles that can negatively affect student motivation. Research suggests that GenAI-assisted programming environments can help mitigate these challenges by providing immediate feedback and support during problem-solving. Hashmi et al. (2024) report that the integration of generative GenAI tools in programming education can positively influence students’ confidence and reduce frustration by offering timely assistance when students encounter difficulties. Similarly, studies examining the use of GitHub Copilot in programming tasks show that GenAI coding assistants can influence how students approach and complete programming activities. Shihab et al. (2025) found that students working with GitHub Copilot completed programming tasks more efficiently and progressed further in solving complex programming problems compared with students who did not use the tool.
Opposed to these variables, the gender of students and professors, as well as students’ future intentions to use GenAI, did not show a significant relationship with learning gains. This challenges the idea that demographic characteristics or a predisposition toward technology are determinants of academic performance in GenAI-supported instructional strategies. The results suggest that pedagogical and contextual factors balance individual student characteristics. In the case of gender match effects, this finding agrees with previous work (Maurer et al., 2023), where these effects tend to disappear in large samples. This suggests that GenAI, when properly integrated into the teaching–learning process, may help reduce the observable influence of some demographic differences within the analyzed educational context.
These findings can be further interpreted through the lens of the interaction between students, instructors, and GenAI systems in learning environments. Rather than viewing GenAI as a simple instructional tool, the results suggest that learning gains emerge from the dynamic interaction between these elements. In this configuration, the instructional strategy defines how GenAI is integrated into the learning process, while the instructor plays a mediating role that regulates how students engage with the tools and supports their conceptual understanding.
Recent studies have highlighted that GenAI may reshape learner–instructor interactions and may introduce more complex learning ecosystems, where technology, pedagogy, and student characteristics interact to influence learning outcomes (Seo et al., 2021; Holmes et al., 2019; Zawacki-Richter et al., 2019; Denny et al., 2024b). Building on this perspective, this study provides empirical evidence supporting the relevance of these interactions in explaining learning outcomes in programming education. The significant contribution of instructional strategy and the variance associated with the group/professor random effect reinforces the idea that the educational impact of instructional design may depend not only on the technology but on how it is pedagogically orchestrated. At the same time, the limited influence of demographic variables such as gender suggests that learning outcomes are shaped more by the structure of interactions than by individual characteristics.
Taken together, within the context of the present study, instructional strategy emerged as a stronger predictor of learning gain than the demographic variables included in the model. Together with the contribution of group-level variability, these findings suggest that pedagogical and contextual factors may play an important role in shaping learning outcomes when GenAI is integrated into introductory programming courses. However, because professor mediation was not directly measured, its specific contribution should be interpreted as a plausible explanation rather than a direct finding of this study.
It is interesting to note the simplification that resulted in this study due to the absence of interactions between variables, indicating that they operate independently of the context. This, along with the model’s explanatory power regarding variance, highlights the need for future research to further uncover the complexities of the educational context with respect to the personal and environmental variables involved in GenAI-supported instructional strategies.
This suggests that learning gains are influenced by factors not measured in the present study. One of these factors may be students’ previous programming experience. Navandar et al. (2023) claim that students’ performance is related to their previous knowledge in a programming learning context. Further research is needed to decompose the learning gain variable and verify whether the pre-test results suggest any relationship between learning gain, the GenAI-supported instructional strategies, and prior programming knowledge and skills.
Another element that could explain variance is students’ study habits. The components involved in the teaching–learning process included in this study are based on classroom activities (the strategy used, for example). However, study habits and how students regulate themselves are processes that are not generally developed within the classroom. Furthermore, M.-S. Chen and Hsu (2024) found that self-regulated learning strategies applied by students positively influence academic performance. Further research taking this variable into account is necessary to have a more complete picture of how inside and outside classroom environments relate to learning gains.
Motivation can be another element that contributes to variance. In this study, students’ future intention to use GenAI could be considered as an aspect of motivation; however, it does not represent the entire student engagement spectrum. It is therefore possible that more complex constructs about motivation, beyond the acceptance of GenAI, may have a role in learning gain. Future work that includes intrinsic and extrinsic motivation is necessary to examine this relationship.
Finally, the study focused on measuring the effectiveness of the implemented strategies only from the assessment of learning outcomes. However, the internal components of this process were not examined. For example, the quality of interactions between students and the GenAI was not measured. In relation to self-regulated learning, it was found that GenAI interaction quality and output quality positively influenced learning motivation and creative self-efficacy (Bai & Wang, 2025) so further research should be conducted to examine these elements.
The results suggest that the outcomes related to the instructional strategies depend less on the personal characteristics of the students or how they intend to use GenAI, but rather on the instructional design and the support provided by professors. These findings have direct implications for educators and instructional designers, pointing to the need for pedagogically grounded, context-sensitive, and affective supportive implementations of GenAI in programming education.
6. Conclusions
This work explored the relationships between generative artificial intelligence-supported teaching–learning strategies, students’ gender, student frustration, academic program, and professors’ gender over the normalized learning gain of undergraduate students enrolled in a basic programming course for engineering.
Results revealed that GenAI-supported instructional strategies showed the strongest association with learning gains among the variables considered in the model, while demographic and affective variables showed comparatively smaller associations with learning gain. Among the strategies examined, those incorporating frequent monitoring and feedback opportunities showed comparatively more favorable learning gain patterns, although not all differences were statistically significant relative to the control condition. These findings suggest that careful instructional design aligned with learning objectives and close pedagogical support are important.
The assignment of instructional strategies should be acknowledged as a limitation of this study because it might have introduced bias, leading to some between-student or between-professor differences not being captured, even with the random effect in the model. Additionally, the short duration of the intervention might be insufficient to fully observe the impact of GenAI on long-term learning.
Also, treating the frustration variable as self-reported could introduce bias into the observation. Studies with greater control over the data collection for this variable could be beneficial for a better understanding of its effects. Furthermore, it is important to note that frustration was measured after the intervention, meaning a temporal value cannot be assigned to it. In other words, causal direction over the learning gain variable cannot be inferred directly, and a bidirectional relationship may exist where low learning gains potentially also influence the frustration experienced by the students.
Additionally, while the model was robust enough for fixed-effect estimation, the slight indications of heteroscedasticity and the residuals trends may suggest that other environmental or personal variables that were not measured could be influencing learning gains. Additional studies incorporating broader contextual variables and more controlled statistical conditions may help further validate the robustness of these findings.
Finally, only three participants selected the “Other” gender category and were excluded from analyses involving gender due to the insufficient sample size for reliable statistical estimation. While this decision was methodologically necessary, it also has ethical implications because it reduces the representation of gender-diverse students in the analysis and limits the inclusiveness of the evidence generated. Consequently, gender-related findings should be interpreted as applying only to the male and female categories represented in the final analytic sample and should not be generalized to gender-diverse populations.
This limitation reflects a broader challenge in educational research, where maintaining statistical validity may sometimes conflict with the goal of inclusive representation. Future research should seek larger and more diverse samples and explore methodological approaches that enable the meaningful inclusion of gender-diverse participants while preserving methodological robustness.
Within the context of introductory engineering programming courses included in this study, learning gains were more strongly associated with instructional strategy, academic program, and student frustration than with the demographic variables examined. These findings suggest that instructional design, together with the pedagogical support provided within the implemented instructional conditions, may play an important role in shaping learning outcomes when GenAI is incorporated into similar educational settings. These results highlight the importance of pedagogically informed, context-aware, and emotionally supportive approaches to implementing GenAI in programming education. However, because the model explained a limited proportion of variance and several potentially relevant variables were not measured, these conclusions should be interpreted within the scope of the present study.
Finally, GenAI, as a general-purpose technology, has the potential to enhance learning and prepare students for the next generation of software technologies. However, further international research and cooperation are needed to understand the effects of intensive use of GenAI on lifelong learning in programming skills.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/educsci16071037/s1. Raw data: Raw data.xlsx.
Author Contributions
Conceptualization, C.N., D.A.C.D., G.H., Y.M.-T.; Data curation, G.H.; Formal analysis, G.H.; Investigation, A.C.-H., C.N., D.A.C.D., G.E., L.P.-F., L.C.F.-H., M.d.l.A.C.-G., T.C.R.-F., Y.M.-T.; Methodology, C.N., D.A.C.D., G.H., T.C.R.-F., Y.M.-T.; Project administration, G.H.; Resources, A.G.A.; Software, G.H.; Validation, Y.M.-T.; Visualization, A.G.A., G.H.; Writing—original draft, C.N., D.A.C.D., G.E., G.H., L.P.-F., L.C.F.-H., M.d.l.A.C.-G., T.C.R.-F.; Writing—review & editing, A.G.A., A.C.-H., C.N., G.E., G.H., L.P.-F., L.C.F.-H., M.d.l.A.C.-G., T.C.R.-F., Y.M.-T. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
The study was conducted in accordance with the Declaration of Helsinki, and approved by the Institutional Ethics Research Board of Tecnologico de Monterrey (protocol code P-EIC-202508-002 and date of approval 12 September 2025).
Informed Consent Statement
Informed consent was obtained from all subjects involved in the study.
Data Availability Statement
The original contributions presented in this study are included in the Supplementary Materials. Further inquiries can be directed to the corresponding author.
Acknowledgments
The authors would like to acknowledge the financial support of Writing Lab, Institute for the Future of Education, Tecnologico de Monterrey, Mexico, in the production of this work. The authors would like to thank the professors and students who participated in the implementation of the different strategies.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| ANCOVA | Analysis of Covariance |
| AVE | Average Variance Extracted |
| CFI | Comparative Fit Index |
| Co | Copilot for Programming Problem-Solving Strategy |
| CR | Composite Reliability |
| GenAI | Generative Artificial Intelligence |
| IBQ | Bioengineering and Chemical Process Academic Program |
| ICI | Applied Sciences Academic Program |
| ICT | Computer Science and Information Technologies Academic Program |
| IIT | Innovation and Transformation Academic Program |
| F | Flipped Learning Assisted by AI Strategy |
| LLM | Large Language Model |
| P | Prompt Problems Strategy |
| Q | Quizzes for Self-Regulation Strategy |
| RMSEA | Root Mean Square Error of Approximation |
| SRMR | Standardized Root Mean Square Residual |
| STEM | Science, Technology, Engineering, and Mathematics |
| TLI | Tucker–Lewis Index |
References
- Alquran, H., & Banitaan, S. (2026). Human–AI collaboration in programming education: Student perspectives on LLM-based coding assistants. Computers, 15(3), 154. [Google Scholar] [CrossRef] [Scilit]
- Al-Zahrani, A. M., & Alasmari, T. M. (2024). Exploring the impact of artificial intelligence on higher education: The dynamics of ethical, social, and educational implications. Humanities and Social Sciences Communications, 11, 912. [Google Scholar] [CrossRef] [Scilit]
- Bai, Y., & Wang, S. (2025). Impact of generative AI interaction and output quality on university students’ learning outcomes: A technology-mediated and motivation-driven approach. Scientific Reports, 15(1), 24054. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bergin, S., & Reilly, R. (2005). Programming: Factors that influence success. In Proceedings of the 36th SIGCSE technical symposium on computer science education (pp. 411–415). ACM. [Google Scholar] [CrossRef] [Scilit]
- Carrell, S. E., Page, M. E., & West, J. E. (2010). Sex and science: How professor gender perpetuates the gender gap. The Quarterly Journal of Economics, 125(3), 1101–1144. [Google Scholar] [CrossRef] [Scilit]
- Chamba Cuadros, J. E., & Borroto Cruz, E. R. (2025). Beneficios y desafíos de la inteligencia artificial en la educación superior. Educación Médica Superior, 39, 1–19. Available online: https://www.researchgate.net/publication/393451017_Beneficios_y_desafios_de_la_Inteligencia_Artificial_en_la_educacion_superior (accessed on 1 February 2026).
- Chan, C. K. Y., & Hu, W. (2023). Students’ voices on generative AI: Perceptions, benefits, and challenges in higher education. International Journal of Educational Technology in Higher Education, 20(1), 43. [Google Scholar] [CrossRef] [Scilit]
- Chen, M.-S., & Hsu, T.-C. (2024, November 25–29). Effects of the self-regulated learning and motivation on learning achievements of the programming courses. International Conference on Computers in Education, Quezon City, Philippines. [Google Scholar] [CrossRef] [Scilit]
- Chen, S., Jiang, H., & Chugh, R. (2026). Cognitive and emotional appraisal linking learner–AI interaction to learning productivity in STEM education: A multigroup analysis. International Journal of Educational Research, 138, 103014. [Google Scholar] [CrossRef] [Scilit]
- Cubillos, C., Mellado, R., Cabrera-Paniagua, D., & Urra, E. (2025). Generative artificial intelligence in computer programming: Does it enhance learning, motivation, and the learning environment? IEEE Access, 13, 40438–40455. [Google Scholar] [CrossRef] [Scilit]
- Daud, N. M. (2026). Resisting the machine: Modeling emotional friction and academic decline in enforced AI learning environments. Smart Learning Environments, 13(1), 10. [Google Scholar] [CrossRef] [Scilit]
- Denny, P., Leinonen, J., Prather, J., Luxton-Reilly, A., Amarouche, T., Becker, B. A., & Reeves, B. N. (2024a). Prompt problems: A new programming exercise for the generative AI era. In Proceedings of the 55th ACM technical symposium on computer science education (pp. 296–302). ACM. [Google Scholar] [CrossRef] [Scilit]
- Denny, P., Prather, J., Becker, B. A., Finnie-Ansley, J., Hellas, A., Leinonen, J., Luxton-Reilly, A., Reeves, B. N., Santos, E. A., & Sarsa, S. (2024b). Computing education in the era of generative AI. Communications of the ACM, 62(2), 56–67. [Google Scholar] [CrossRef] [Scilit]
- Domider, J. S., & Dalayap, R. H., Jr. (2025). Structural equation modelling of students’ strand preference in science, technology, engineering and mathematics. International Journal of Research and Innovation in Social Science, 9(3s), 2935–2960. [Google Scholar] [CrossRef] [Scilit]
- Elshaer, I. A., Hasanein, A. M., & Sobaih, A. E. E. (2024). The moderating effects of gender and study discipline in the relationship between university students’ acceptance and use of ChatGPT. Education Sciences, 14(7), 1981–1995. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Fornell, C., & Larcker, D. F. (1981). Evaluating structural equation models with unobservable variables and measurement error. Journal of Marketing Research, 18(1), 39–50. [Google Scholar] [CrossRef] [Scilit]
- Hair Junior, J. F., Hult, G. T. M., Ringle, C. M., & Sarstedt, M. (2014). A primer on partial least squares structural equation modeling (PLS-SEM). SAGE Publications, Inc. [Google Scholar]
- Hake, R. R. (1998). Interactive-engagement versus traditional methods: A six-thousand-student survey of mechanics test data for introductory physics courses. American Journal of Physics, 66(1), 64–74. [Google Scholar] [CrossRef] [Scilit]
- Hashmi, N., Li, Z., Parise, S., & Shankaranarayanan, G. (2024). Generative AI’s impact on programming students: Frustration and confidence across learning styles. Issues in Information Systems, 25(3), 371–385. [Google Scholar] [CrossRef] [Scilit]
- Holmes, W., Bialik, M., & Fadel, C. (2019). Artificial intelligence in education: Promises and implications for teaching and learning. The Center for Curriculum Redesign. [Google Scholar]
- Hu, L. T., & Bentler, P. M. (1999). Cutoff criteria for fit indexes in covariance structure analysis: Conventional criteria versus new alternatives. Structural Equation Modeling: A Multidisciplinary Journal, 6(1), 1–55. [Google Scholar] [CrossRef] [Scilit]
- Huesca, G., Martínez-Treviño, Y., Molina-Espinosa, J. M., Sanromán-Calleros, A. R., Martínez-Román, R., Cendejas-Castro, E. A., & Bustos, R. (2024). Effectiveness of using ChatGPT as a tool to strengthen benefits of the flipped learning strategy. Education Sciences, 14(6), 660. [Google Scholar] [CrossRef] [Scilit]
- Jiao, P., Ouyang, F., Zhang, Q., & Alavi, A. H. (2022). Artificial intelligence-enabled prediction model of student academic performance in online engineering education. Artificial Intelligence Review, 55(8), 6321–6344. [Google Scholar] [CrossRef] [Scilit]
- Kalyuga, S. (2011). Cognitive load theory: How many types of load does it really need? Educational Psychology Review, 23(1), 1–19. [Google Scholar] [CrossRef] [Scilit]
- Lahtinen, E., Ala-Mutka, K., & Järvinen, H.-M. (2005). A study of the difficulties of novice programmers. ACM SIGCSE Bulletin, 37(3), 14–18. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z., & Yushchik, E. (2024). Exploring the prospects of using artificial intelligence in education. Cogent Education, 11(1), 2353464. [Google Scholar] [CrossRef] [Scilit]
- Mansour, H., Rees, D. I., Rintala, B. M., & Wozny, N. N. (2022). The effects of professor gender on the postgraduation outcomes of female students. ILR Review, 75(3), 693–715. [Google Scholar] [CrossRef] [Scilit]
- Maurer, S., Schwerdt, G., & Wiederhold, S. (2023). Do role models matter in large classes? New evidence on gender match effects in higher education (Discussion Paper No. 1896). Centre for Economic Performance. [Google Scholar]
- Navandar, S. K., Kiwelekar, A. W., & Laddha, M. D. (2023). A performance analysis of the impact of prior-knowledge on computational thinking. International Journal of Modern Education and Computer Science, 15(2), 54–61. [Google Scholar] [CrossRef] [Scilit]
- Nikula, U., Gotel, O., & Kasurinen, J. (2011). A motivation guided holistic rehabilitation of the first programming course. ACM Transactions on Computing Education (TOCE), 11(4), 1–38. [Google Scholar] [CrossRef] [Scilit]
- Ozili, P. (2023). The acceptable R-square in empirical modelling for social science research. In Social research methodology and publishing results: A guide to non-native English speakers (pp. 134–143). IGI Global Scientific Publishing. [Google Scholar] [CrossRef] [Scilit]
- Özer, M. (2024). Potential benefits and risks of artificial intelligence in education. Bartın University Journal of Faculty of Education, 13, 232–244. [Google Scholar] [CrossRef] [Scilit]
- Paredes, R. G., & Martinez-Treviño, Y. (2026, January 28). The power of quizzes: Boosting learning and fostering proper use of generative AI in introductory programming courses. Proceedings of the IFE Conference 2026, Monterrey, Mexico. [Google Scholar]
- Prather, J., Denny, P., Leinonen, J., Becker, B. A., Albluwi, I., Craig, M., Keuning, H., Kiesler, N., Kohn, T., Luxton-Reilly, A., MacNeil, S., Petersen, A., Pettit, R., Reeves, V. N., & Savelka, J. (2023). The robots are here: Navigating the generative AI revolution in computing education. In Proceedings of the 2023 working group reports on innovation and technology in computer science education (pp. 108–159). Association for Computing Machinery. [Google Scholar] [CrossRef] [Scilit]
- Qian, Y. (2025). Pedagogical applications of generative AI in higher education: A systematic review of the field. TechTrends, 69(5), 1105–1120. [Google Scholar] [CrossRef] [Scilit]
- Sams, A., & Bergmann, J. (2013). Flip your students’ learning. Educational Leadership, 70(6), 16–20. [Google Scholar]
- Schielzeth, H., Dingemanse, N. J., Nakagawa, S., Westneat, D. F., Allegue, H., Teplitsky, C., Réale, D., Dochtermann, N. A., Garamszegi, L. Z., & Araya-Ajoy, Y. G. (2020). Robustness of linear mixed-effects models to violations of distributional assumptions. Methods in Ecology and Evolution, 11(9), 1141–1152. [Google Scholar] [CrossRef] [Scilit]
- Seo, K., Tang, J., Roll, I., Fels, S., & Yoon, D. (2021). The impact of artificial intelligence on learner–instructor interaction in online learning. International Journal of Educational Technology in Higher Education, 18(1), 54. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sharmin, L., Kalima, R., Imran, M., Chauca, M., & Balladares, J. (2026). Teachers’ perceptions of AI in supporting students’ learning within globally diverse digital settings. Discover Education, 5(1), 75. [Google Scholar] [CrossRef] [Scilit]
- Shihab, M. I. H., Hundhausen, C., Tariq, A., Haque, S., Qiao, Y., & Mulanda, B. (2025). The effects of GitHub Copilot on computing students’ programming effectiveness. Efficiency, and Processes in Brownfield Programming Tasks, 1(1), 407–420. [Google Scholar] [CrossRef] [Scilit]
- Slimi, Z. (2023). The impact of artificial intelligence on higher education: An empirical study. European Journal of Educational Sciences, 10(1), 17–33. [Google Scholar] [CrossRef] [Scilit]
- Zainuddin, Z., Zhang, Y., Li, X., Chu, S. K. W., Idris, S., & Keumala, C. M. (2019). Research trends in flipped classroom empirical evidence from 2017 to 2018: A content analysis. Interactive Technology and Smart Education, 16(3), 255–277. [Google Scholar] [CrossRef] [Scilit]
- Zawacki-Richter, O., Marín, V., Bond, M., & Gouverneur, F. (2019). Systematic review of research on artificial intelligence applications in higher education: Where are the educators? International Journal of Educational Technology in Higher Education, 16, 1–27. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.



