ABSTRACT Background The development of generative artificial intelligence (GenAI) technology has triggered ripple effects in teaching, learning and assessment in higher education, and college students' GenAI attitudes are key in determining its effective integration. Computational thinking (CT), as an amalgam of skills such as algorithmic thinking and problem‐solving, has become an essential skill for adapting to the digital age represented by GenAI technologies. Objectives While previous research has confirmed the impact of CT on college students' technological attitudes, it has not clarified the relationship between CT and GenAI attitudes among college students and whether this relationship is affected by grade level, gender and major factors. This research gap limits our understanding of how CT contributes to the effective integration of GenAI in higher education. Methods This study conducted a cross‐sectional survey of 1089 college students from China. Descriptive statistical analyses were conducted to present college students' GenAI attitudes and CT scores; sub‐group linear regression was employed to explore the predictive role of CT on GenAI attitudes; parametric t ‐tests were used to analyse the differential effects of gender and major on GenAI attitudes and CT; and moderated models were applied to explore the mechanisms of influence among multiple factors. However, a cross‐sectional study can only reflect the static relationships among variables rather than their dynamic developmental processes. Future research could further explore these relationships through a longitudinal design. Results and Conclusion First, this study found that CT positively predicted GenAI attitudes in all grades, showing an ‘inverted U‐shaped’ predictive curve, with the strongest predictive effect in the sophomore year. Second, the study also found that although female students and college students majoring in science and engineering had significantly higher GenAI attitudes and CT levels than male students and college students majoring in literature and history, the differences in GenAI attitudes and CT caused by gender and major changed with grade level. The differences caused by college students' gender were more significant in their freshman and sophomore years, and the differences caused by their major were more significant in their junior and senior years. Furthermore, the study discovered that the moderating effects of gender and major on the relationship between CT and GenAI became more significant as college students increased in grade level, and that female students and college students majoring in science and engineering were better predictors of changes in GenAI attitudes with respect to CT. Implications for Practice This study revealed the non‐linear relationship between college students' CT and GenAI attitudes and revealed the dynamic differences caused by gender and major, providing precise evidence to support GenAI and CT phased education in higher education.
Sun et al. (Thu,) studied this question.