Generative Artificial Intelligence Supported Programming Learning: Learning Effectiveness and Core Competence

Saved in:
Bibliographic Details
Title: Generative Artificial Intelligence Supported Programming Learning: Learning Effectiveness and Core Competence
Language: English
Authors: Hao-Jun Li (ORCID 0000-0003-0318-6528), Qin-Ru Huang, Li-Peng Wen, Wei Chen, Zhuo-Zhuo Xu
Source: SAGE Open. 2025 15(3).
Availability: SAGE Publications. 2455 Teller Road, Thousand Oaks, CA 91320. Tel: 800-818-7243; Tel: 805-499-9774; Fax: 800-583-2665; e-mail: journals@sagepub.com; Web site: https://sagepub.com
Peer Reviewed: Y
Page Count: 20
Publication Date: 2025
Document Type: Journal Articles
Reports - Research
Education Level: Secondary Education
Descriptors: Artificial Intelligence, Programming, Technology Uses in Education, Instructional Effectiveness, Academic Achievement, Student Motivation, Self Efficacy, Cognitive Style, Creativity, Foreign Countries, 21st Century Skills, Career and Technical Education, Secondary School Students
Geographic Terms: China
DOI: 10.1177/21582440251377986
ISSN: 2158-2440
Abstract: The programming curriculum is crucial in today's digital age, but a common issue is its focus on technical training while neglecting essential skills enhancement. Teachers lack structured and practical guidance on instructional methods, and the wide range of students' foundational abilities makes it difficult to cater to personalized learning needs. The advent of Generative Artificial Intelligence (GAI) technology has brought significant changes to education, with its personalized dialogue features offering effective technical support to address these challenges in programming education. This study develops a GAI-supported programming learning approach, applied in a programming course at a vocational school in China, to investigate the effects of various learning approaches on students' learning outcomes, motivation, self-efficacy, and 5C competencies among different learning styles. The study involved 46 learners in the experimental group using GAI-assisted learning and 46 in the control group using traditional methods. Results showed that the experimental group significantly outperformed the control group in learning outcomes, motivation, self-efficacy, and 5C competencies. Moreover, students with a diverging learning style in the experimental group showed notably higher motivation than others. Additionally, creativity levels among students with diverging and assimilating learning styles in the experimental group were substantially greater than those in the control group.
Abstractor: As Provided
Entry Date: 2025
Accession Number: EJ1487196
Database: ERIC
Full text is not displayed to guests.
FullText Links:
  – Type: pdflink
    Url: https://content.ebscohost.com/cds/retrieve?content=AQICAHj0k_4E0hTGH8RJwT4gCJyBsGNe_WN95AvKlDbXJGqwxwG41UvX1UZkoewxCSDRBMf2AAAA4zCB4AYJKoZIhvcNAQcGoIHSMIHPAgEAMIHJBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDEP9DQu6O5M7voJX4QIBEICBm_zVIn0_bNDS-yWw67B6rvYya6x9ySU9UVZbk4UoQwHWq-MdQxJUyrgknWulymEz3j_AvD4DP4jJU9Svw6nBuY0YdctAoOQmuzMuoHOFUVg2wdIKD853q_OUsY92Gvn1jz4WzMnFrC3YdDYsKiDx0kf4qGFLnjeTrPDPOPrBsBTJAAseM49flXonLkZrlKpUA26gMbo2yDfpBq17
Text:
  Availability: 1
  Value: <anid>AN0188424185;[kbz6]01jul.25;2025Oct07.03:06;v2.2.500</anid> <title id="AN0188424185-1">Generative Artificial Intelligence Supported Programming Learning: Learning Effectiveness and Core Competence </title> <p>The programming curriculum is crucial in today's digital age, but a common issue is its focus on technical training while neglecting essential skills enhancement. Teachers lack structured and practical guidance on instructional methods, and the wide range of students' foundational abilities makes it difficult to cater to personalized learning needs. The advent of Generative Artificial Intelligence (GAI) technology has brought significant changes to education, with its personalized dialogue features offering effective technical support to address these challenges in programming education. This study develops a GAI-supported programming learning approach, applied in a programming course at a vocational school in China, to investigate the effects of various learning approaches on students' learning outcomes, motivation, self-efficacy, and 5C competencies among different learning styles. The study involved 46 learners in the experimental group using GAI-assisted learning and 46 in the control group using traditional methods. Results showed that the experimental group significantly outperformed the control group in learning outcomes, motivation, self-efficacy, and 5C competencies. Moreover, students with a diverging learning style in the experimental group showed notably higher motivation than others. Additionally, creativity levels among students with diverging and assimilating learning styles in the experimental group were substantially greater than those in the control group.</p> <p>Keywords: teaching/learning strategies; programming learning; improving classroom teaching; paedagogical issues; generative artificial intelligence</p> <hd id="AN0188424185-2">Introduction</hd> <p>Computer science (CS), and particularly programming, has traditionally been viewed as a domain exclusively for IT professionals. In recent years, however, this perception has evolved ([<reflink idref="bib36" id="ref1">36</reflink>]). Programming education is now recognized as a vital part of K-12 education and is receiving increased attention globally. Despite its growing importance, current programming instruction often emphasizes technology skills alone, neglecting the development of essential competencies. Teachers mainly focus on teaching fundamental knowledge and the application of technology, with lessons largely centred on rote learning and replication of basic concepts. This results in students being passive learners, with few opportunities for hands-on practice or critical thinking. Consequently, current programming education does not effectively foster the development of core competencies in students. Although numerous researchers have examined this problem, most studies concentrate on the macro-level construction of the teaching environment. Furthermore, the practical guidance offered in existing literature is often insufficient, making implementation challenging for educators. From the learners' perspective, programming education today shows significant disparities in individual learning conditions and lacks personalization. Beginners often perceive programming concepts as abstract and difficult, leading to a decline in learning interest ([<reflink idref="bib47" id="ref2">47</reflink>]). Therefore, it is imperative to design a personalized learning approach that not only promotes the development of core competencies and increases motivation but is also easy for educators to implement, addressing the limitations of current programming education.</p> <p>On November 30, 2022, OpenAI, an American artificial intelligence research lab, introduced ChatGPT, a generative AI chatbot powered by a large language model (LLM) based on GPT-3.5. This release represented a major milestone in the development of generative artificial intelligence (GAI; [<reflink idref="bib20" id="ref3">20</reflink>]). GAI, as an AI technology, has distinct generative capabilities that allow it to autonomously create various forms of content, such as text, images, and videos, tailored to users' personalized requests ([<reflink idref="bib59" id="ref4">59</reflink>]). These generative capabilities provide GAI with significant potential in the educational sector, positioning it as a transformative tool for teaching, learning, and communication. Educators can leverage GAI to deliver more tailored and adaptive learning experiences during instructional activities, while students can engage with GAI for real-time, personalized, and deeper knowledge acquisition. However, despite the many opportunities GAI brings to education, it also presents several challenges, such as issues related to ethics and academic integrity ([<reflink idref="bib1" id="ref5">1</reflink>]). As this technology continues to evolve, there is both an opportunity and a challenge in seamlessly integrating GAI into educational practices.</p> <p>Generative AI (GAI) possesses the capacity for autonomous learning and content generation, mimicking human cognitive processes to produce coherent and natural language independently. Its applications extend across multiple domains, from text generation to coding, demonstrating significant potential for enhancing programming education ([<reflink idref="bib41" id="ref6">41</reflink>]). GAI's flexibility allows it to provide technical support for individualized instruction tailored to specific learner needs ([<reflink idref="bib16" id="ref7">16</reflink>]), addressing the current gap in personalized programming education. Furthermore, by interacting with GAI, students can actively participate in knowledge construction, which not only increases their motivation but also effectively nurtures critical thinking, creativity, and other essential competencies ([<reflink idref="bib52" id="ref8">52</reflink>]). In essence, GAI offers innovative solutions to the existing challenges in programming education. This study, therefore, seeks to utilize GAI technology to develop a personalized learning approach that significantly enhances students' core competencies, providing practical guidance for educational implementation and helping the education sector adapt to the evolving demands of the GAI-driven teaching landscape.</p> <hd id="AN0188424185-3">Literature Review</hd> <p>The literature review section begins by outlining the primary challenges currently faced in programming education, setting a problem-focussed foundation for the subsequent research. It then presents Generative Artificial Intelligence (GAI) technology as a potential solution, summarizing its current applications within the educational field and highlighting its potential for driving educational innovation. Considering the substantial influence of learning styles on educational outcomes, the review also includes an overview of learning style models. This serves as a basis for a detailed investigation into the effects of GAI-assisted programming learning on students with varying learning styles in the subsequent research.</p> <hd id="AN0188424185-4">The Current State of Programming Learning</hd> <p>Programming learning is the process through which learners develop foundational knowledge of programming languages, computational thinking, algorithm design, and software development skills through structured educational activities and hands-on experiences. It has gained global recognition, with several countries incorporating programming as a compulsory part of the K-12 curriculum to foster students' core competencies ([<reflink idref="bib40" id="ref9">40</reflink>]; [<reflink idref="bib44" id="ref10">44</reflink>]).</p> <p>To investigate the factors influencing programming learning outcomes, several studies have examined Python programming instruction in higher education ([<reflink idref="bib56" id="ref11">56</reflink>]), focussing on the fundamental principles of Python language teaching. By assessing students' learning outcomes, these studies have highlighted that performance differences are influenced by variables such as gender, class standing, and attendance. Additionally, in an effort to further improve the effectiveness of programming learning, scholars have introduced innovative teaching methods and strategies. For instance, one study compared the impact of serious game-based instruction with traditional teaching methods in programming education ([<reflink idref="bib25" id="ref12">25</reflink>]). The results indicated that serious game-based instruction was more effective than conventional lecture-based programming education, significantly enhancing the efficiency of learning fundamental concepts and boosting student engagement. Furthermore, other researchers have proposed strategies to optimize programming learning from various angles, such as cognitive development ([<reflink idref="bib57" id="ref13">57</reflink>]) and debugging practices ([<reflink idref="bib12" id="ref14">12</reflink>]).</p> <p>However, there are still several challenges in the implementation of programming learning. Unlike other disciplines, programming learning exhibits significant disparities in students' foundational levels, particularly at the high school stage. While some students may already possess advanced programming skills, others may be encountering programming concepts for the first time. This diversity necessitates that programming education be adaptable to student groups with varying learning styles and background knowledge ([<reflink idref="bib48" id="ref15">48</reflink>]). Unfortunately, traditional programming teaching methods often fall short in providing sufficient personalized instruction to cater to the individual needs of each student. Additionally, programming concepts are inherently abstract, making it challenging for students to develop an interest in programming courses and, consequently, difficult to sustain their motivation. With information technology courses now part of entrance examinations, programming education has predominantly adopted lecture-based methods, focussing on the mastery of basic knowledge. This approach leaves little room for active thinking, which is not conducive to the development of students' core competencies. Therefore, future research should aim to innovate programming learning methods, balancing the emphasis on learning outcomes with skill development, enhancing students' motivation and initiative, and achieving personalized programming education.</p> <p>The rapid advancement of information technology has created opportunities for transformative changes in this field. The rise of generative artificial intelligence has made personalized learning feasible ([<reflink idref="bib3" id="ref16">3</reflink>]; [<reflink idref="bib10" id="ref17">10</reflink>]; [<reflink idref="bib45" id="ref18">45</reflink>]) and is anticipated to act as an instructional support tool for educators ([<reflink idref="bib13" id="ref19">13</reflink>]; [<reflink idref="bib43" id="ref20">43</reflink>]). Consequently, this development introduces a novel approach to traditional programming education.</p> <hd id="AN0188424185-5">The Application of Generative Artificial Intelligence in Education</hd> <p>Generative artificial intelligence (GAI) has significantly impacted the education sector. Several scholars ([<reflink idref="bib10" id="ref21">10</reflink>]; [<reflink idref="bib35" id="ref22">35</reflink>]; [<reflink idref="bib38" id="ref23">38</reflink>]) have examined the opportunities and challenges posed by GAI from a theoretical standpoint. They highlight that GAI can enhance information accessibility, support personalized and complex learning experiences, and alleviate teaching workloads. However, they also note drawbacks such as a lack of deep comprehension, challenges in evaluating the quality of generated responses, and potential risks of bias and discrimination.</p> <p>Some researchers ([<reflink idref="bib62" id="ref24">62</reflink>], [<reflink idref="bib63" id="ref25">63</reflink>]) propose integrating generative artificial intelligence (GAI) into education to enhance personalized learning experiences. To further inform practice, several scholars ([<reflink idref="bib21" id="ref26">21</reflink>]; [<reflink idref="bib33" id="ref27">33</reflink>]; [<reflink idref="bib35" id="ref28">35</reflink>]) have outlined the roles of GAI in teaching practices from both teacher and student perspectives. From the teachers' standpoint, GAI can support instructional design, efficiently retrieve educational resources, organize key concepts systematically, and facilitate personalized instruction for learners. From the students' perspective, GAI can act as a learning companion, helping to explain knowledge points, answer questions, summarize information, conduct interactive assessments, and more. Overall, the current theoretical framework for applying GAI to enhance educational practices is extensive. Conducting a systematic review of GAI's functions and value will provide crucial support for the development of future models.</p> <p>The application of generative artificial intelligence (GAI) in education spans multiple disciplines, including pharmaceutical education ([<reflink idref="bib4" id="ref29">4</reflink>]), chemical education ([<reflink idref="bib15" id="ref30">15</reflink>]), science education ([<reflink idref="bib7" id="ref31">7</reflink>]), medical education ([<reflink idref="bib28" id="ref32">28</reflink>]), writing training ([<reflink idref="bib61" id="ref33">61</reflink>]), engineering education ([<reflink idref="bib50" id="ref34">50</reflink>]), and art education ([<reflink idref="bib51" id="ref35">51</reflink>]). In the domain of programming education, GAI has also demonstrated significant potential. GAI can boost the productivity and creativity of software developers, providing programmers with continuous learning opportunities through support in code management, generation, and programming tutoring. Moreover, some researchers ([<reflink idref="bib55" id="ref36">55</reflink>]) have investigated the effectiveness of GAI in programming education, noting that GAI-supported learning can significantly enhance students' coding proficiency, improve the quality of their explanations, and deepen their understanding of standard solutions. Additionally, in programming learning, GAI functions as a sustainable teaching tool, offering teachers valuable assessment and grading guidance while helping students to understand and optimize their solutions ([<reflink idref="bib58" id="ref37">58</reflink>]). However, the systematic implementation and evaluation of this technology in programming education are still in their infancy, and further exploration is needed to understand its impact on learning methods and teaching outcomes when integrated with generative artificial intelligence.</p> <hd id="AN0188424185-6">Learning Style</hd> <p>The term "learning styles" refers to the idea that individuals vary in the instructional or study methods that are most effective for them; optimal instruction involves diagnosing individuals' learning styles and adapting instruction accordingly ([<reflink idref="bib39" id="ref38">39</reflink>]). In the field of education, learning styles have been a topic of significant interest, with numerous studies examining the influence of different learning styles on learning outcomes ([<reflink idref="bib34" id="ref39">34</reflink>]; [<reflink idref="bib53" id="ref40">53</reflink>]; [<reflink idref="bib54" id="ref41">54</reflink>]). This study uses learning styles as an independent variable to explore how learning methods impact students with different learning styles, aiming to validate the generalizability of this model and identify which learning styles may require additional support or adjustments to ensure that all students benefit from the instruction. While many learning style models have been proposed, only a few have been widely implemented in computer-supported learning environments and have had their reliability and validity tested ([<reflink idref="bib53" id="ref42">53</reflink>]). These include the Honey & Mumford model ([<reflink idref="bib14" id="ref43">14</reflink>]), Reid model ([<reflink idref="bib46" id="ref44">46</reflink>]), Felder-Silverman model ([<reflink idref="bib11" id="ref45">11</reflink>]), and Kolb model ([<reflink idref="bib23" id="ref46">23</reflink>]). Among them, the Kolb model, which is based on experiential learning theory, is easier to measure compared to other mainstream models and is suitable for assessing larger groups, making it the most widely used learning style model currently.</p> <p>This model ([<reflink idref="bib24" id="ref47">24</reflink>]) outlines two interrelated methods for acquiring experience: Concrete Experience (CE) and Reflective Observation (RO), as well as two dialectically related processes for transforming experience: Abstract Conceptualization (AC) and Active Experimentation (AE). By integrating these elements, the model identifies four distinct learning styles: Diverging, Assimilating, Converging, and Accommodating ([<reflink idref="bib5" id="ref48">5</reflink>]). In this study, the Kolb Learning Style Inventory will be employed as a research tool to examine how learners with different learning styles perform under various learning approach supports.</p> <hd id="AN0188424185-7">Research Questions</hd> <p>Learning motivation refers to the dynamic tendency that initiates and sustains students' learning behaviours, propelling them towards specific academic goals. Self-efficacy is an individual's subjective speculation and judgement about their ability to successfully accomplish a certain behaviour and achieve expected goals, based on factors such as their own experiences. The integration of new technologies into learning significantly influences students' learning achievements, motivation, and self-efficacy ([<reflink idref="bib18" id="ref49">18</reflink>]; [<reflink idref="bib29" id="ref50">29</reflink>]; [<reflink idref="bib31" id="ref51">31</reflink>]; [<reflink idref="bib60" id="ref52">60</reflink>]). Additionally, innovative learning approaches have proven effective in enhancing students' creative thinking, communication skills, and problem-solving abilities. Research has found that enabling students to learn in real or simulated problem-based scenarios can significantly enhance their problem-solving abilities and communication skills ([<reflink idref="bib2" id="ref53">2</reflink>]). Meanwhile, [<reflink idref="bib30" id="ref54">30</reflink>] adopted an Augmented Reality (AR)-based motivational learning approach, which effectively improved students' creative thinking. Additionally, Jauhiainen et al. introduced ChatGPT as an auxiliary tool in a class, successfully stimulating students' creative thinking and aiding them in better problem-solving ([<reflink idref="bib19" id="ref55">19</reflink>]). Building on previous studies, [<reflink idref="bib26" id="ref56">26</reflink>] summarized the core competencies students need into five dimensions: collaboration, communication, complex problem-solving, metacognitive awareness, and creativity, collectively known as the 5C competence. In this study, learning outcomes (learning achievements, learning motivation, self-efficacy) and the 5C competence will be utilized as dependent variables to thoroughly investigate the effects of generative learning supported by GAI on students.</p> <p>This study primarily aims to explore the following inquiries:</p> <p></p> <ulist> <item> Does GAI-assisted programming learning exhibit a significant difference in the learning achievements compared to traditional programming learning?</item> <p></p> <item> Does GAI-assisted programming learning exhibit a significant difference in the learning motivation compared to traditional programming learning?</item> <p></p> <item> Does GAI-assisted programming learning exhibit a significant difference in the self-efficacy compared to traditional programming learning?</item> <p></p> <item> Does GAI-assisted programming learning exhibit a significant difference in the 5C competence compared to traditional programming learning?</item> <p></p> <item> Do students' learning styles (such as diverging) and learning approaches (GAI-assisted programming learning or traditional programming learning) have an interaction effect on learning outcomes and 5C competence?</item> </ulist> <hd id="AN0188424185-8">GAI-assisted Programming Learning Approach</hd> <p></p> <hd id="AN0188424185-9">System Structure</hd> <p>Figure 1 illustrates the structure of the GAI-assisted learning system. In the teacher terminal, GAI provides pre-class design functionalities, supporting teachers in developing pre-class materials and instructional plans. After class, GAI assists teachers in intelligently designing questions for after-class exercises based on students' actual performance. On the student terminal, GAI functions as a dedicated in-class assistant, offering solutions, stimulating ideas, answering queries, and debugging code. After class, students can engage with GAI for personalized review and reinforcement through interactive assessments.</p> <p>Graph: Figure 1. Structure of the GAI-assisted learning system.</p> <hd id="AN0188424185-10">GAI-PL Learning Approach</hd> <p>Fiorella and Mayer's SOI framework divides the generative learning process into three stages. The first stage is selection, which involves directing attention to relevant instructional information ([<reflink idref="bib32" id="ref57">32</reflink>]). At this stage, the effectiveness of the information is crucial; if students focus too much on interesting but non-essential details, it may disrupt the coherence and fluency of the educational content ([<reflink idref="bib37" id="ref58">37</reflink>]; [<reflink idref="bib49" id="ref59">49</reflink>]). The second stage is organization, which focuses on clarifying the relationships between fragments of information within instructional material. In this phase, learners encode and store information based on the connections between new content and their prior knowledge, facilitating long-term memory retention ([<reflink idref="bib8" id="ref60">8</reflink>]). The third stage is integration, which builds upon the organization stage by encouraging learners to link instructional information with their existing knowledge framework. This model highlights the learner's active role and the significance of cognitive processing. GAI can enhance learners' understanding and organization of information by providing diverse learning resources and interactive methods. The integration of these two elements can lead to more effective teaching outcomes.</p> <p>Based on the concept of generative learning and SOI framework, we proposed a learning approach for GAI-assisted programming learning (GAI-PL; see Figure 2).</p> <p>Graph: Figure 2. The GAI-PL learning approach.</p> <p>From a macro perspective, the learning process is structured into three continuous phases: before-class preview, during-class exploration, and after-class consolidation, aligning with the three stages of generative learning. This structure guides learners through the processes of selection, organization, and integration to facilitate knowledge construction. As the core technological support of this model, GAI is positioned at the centre, functioning as both an assistant and a learning partner. It offers robust technical support for both teachers' instructional activities and students' learning processes, aiming to address the challenges faced in traditional generative learning.</p> <p>The GAI-PL approach is described as follows: The pre-class preparation phase aligns with the initial stage of generative learning—selection. In this phase, knowledge selection involves three steps: needs assessment, setting clear objectives, and fostering interest. Initially, teachers utilize GAI to thoroughly analyse the learning needs of students. By integrating learning data and conducting personalized student interviews, GAI accurately identifies and summarizes specific information about students' needs. Following this, GAI assists teachers in defining clear instructional goals for the lesson, ensuring that students engage in focussed learning. This step sets a clear direction for knowledge selection. Finally, GAI helps create a realistic instructional scenario that guides the lesson design, stimulating students' curiosity and eagerness to learn, thereby encouraging them to actively engage in selecting knowledge. The in-class exploration phase corresponds to the second step of generative learning—organization. In this stage, students progress through three steps: acquiring new knowledge, reviewing experiences, and forming connections. This enables them to encode and store new knowledge by linking it to existing knowledge. Initially, during the new knowledge acquisition stage, GAI maximizes its personalized teaching capabilities by establishing a one-on-one interactive model with students. It not only provides real-time responses and accurate Q&A support but also offers simplified explanations for difficult concepts and recommends additional learning resources, helping students overcome obstacles and achieve effective understanding and preliminary internalization of new content. The post-class consolidation phase corresponds to the third stage of generative learning—integration. At this point, students engage in knowledge transfer and reflective assessment to deeply integrate knowledge. During knowledge transfer, GAI supports teachers in designing personalized assignments based on student learning data from class. Students interact with GAI through tailored assessments, allowing it to intelligently generate varied exercises that address individual knowledge gaps, thus promoting flexible knowledge transfer and personalized reinforcement. Assessment and reflection are critical for integrating knowledge. GAI acts as an instructional assistant by posing thought-provoking questions that guide students in reflecting deeply on their learning journey. It also analyses learning data and homework completion comprehensively to produce teaching evaluation reports. Additionally, GAI facilitates students' independent and effective learning reflection by providing self-assessment tools, encouraging them to examine their learning outcomes scientifically and promoting deeper knowledge integration and skill enhancement. The specific methods of integrating GAI into programming instruction and their corresponding instructional processes are illustrated in Figure 3.</p> <p>Graph: Figure 3. Instructional process design supported by GAI.</p> <hd id="AN0188424185-11">Experimental Design-Method</hd> <p>To address ethical considerations, the research included several key measures. First, an ethical issue application for this study was submitted to the Institute ethics committee and was approved. This approval ensured that the research adhered to ethical guidelines and minimized the risk of harm to participants. Additionally, written informed consent was obtained from all participants and their guardians before starting the experiment. This consent process was crucial in ensuring that participants were fully aware of the study's purpose and their rights, thereby mitigating any potential harm.</p> <hd id="AN0188424185-12">Participants</hd> <p>This study is a quasi-experimental research conducted in the field of education. Two parallel teaching classes were randomly selected from a secondary vocational school in Zhejiang Province, and pre-tests and post-tests were administered to them. The two classes shared the same major, grade level, instructors, and teaching content, and the teaching experiment was carried out in the same computer lab to control for confounding variables. Based on the results of the pre-test, it was found that there were no significant differences between the two classes in terms of academic performance, learning motivation, self-efficacy, and 5C competencies. The first class, consisting of 46 students (37 males and 9 females), was assigned as the GAI-assisted programming learning (GAI-PL) group, while the second class, also with 46 students (33 males and 13 females), was designated as the traditional programming learning (TPL) group. The age range of students in both groups was between 17 and 18 years. In addition, all participants completed a learning styles questionnaire. The results showed that in the TPL group, there were 14 divergers, 11 accommodators, 7 convergers, and 14 assimilators. In contrast, the GAI-PL group had 6 divergers, 9 accommodators, 12 convergers, and 19 assimilators.</p> <hd id="AN0188424185-13">Learning Environment</hd> <p>Based on the implementation requirements and the characteristics of the GAI-assisted programming learning approach, the experimental group in this study was provided with both offline and online learning environments. The offline environment took place mainly in a computer lab, where each student had access to an internet-enabled computer. For the online environment, the study utilized the "ERNIE Bot" GAI platform (as illustrated in Figure 4). ERNIE Bot is a generative AI platform with a broad knowledge base across different fields, capable of engaging in natural language conversations with users and offering relevant information and recommendations based on user queries. This platform fulfills the tool requirements for various learning stages in the study, acting as both an instructional assistant and a learning companion. Students can interact with ERNIE Bot to access needed information and receive tailored solution suggestions through real-time dialogue.</p> <p>Graph: Figure 4. The interface and functions of ERNIE Bot.</p> <p>Furthermore, both the experimental and control groups utilized the Mythware Classroom Management System (Mythware CMS) during classroom sessions. This software provides comprehensive support for teachers and students, enhancing the effectiveness of classroom instruction and learning. It includes various features such as screen broadcasting, projection sharing, assignment submission, and resource distribution, all of which facilitate interactive teaching in both online and offline environments. These capabilities allow for a more engaging and dynamic classroom experience, ensuring efficient communication and collaboration between teachers and students.</p> <hd id="AN0188424185-14">Experimental Procedure</hd> <p>Figure 5 presents the experimental procedure. The learning content for both the experimental and control groups was identical, sourced from the third unit of the "Introduction to Python Programming" course. The curriculum covered fundamental Python syntax, including sequential, selection, and loop structures, as well as their comprehensive application. By the end of the course, students were expected to choose appropriate syntax structures for different tasks and write simple Python programmes to solve real-world problems. The experiment spanned 9 weeks, conducted in a computer lab, with both groups having four 40-min class periods per week. During the first week, all students completed a learning styles questionnaire administered by their teachers. Following this, they took a pre-test designed to evaluate their prior programming knowledge, and they filled out pre-questionnaires to measure their learning motivation, self-efficacy, and 5C competencies.</p> <p>Graph: Figure 5. Experimental procedure.</p> <p>In the second week, the GAI-PL group was introduced to the methods and strategies of using GAI, providing a foundation for their subsequent generative learning with the technology. During the third to fifth weeks, the GAI-PL group applied the GAI-assisted programming learning approach, while the TPL group followed the traditional programming learning approach. Additionally, the teacher and several randomly selected students from the GAI-PL group participated in interviews to share their learning experiences. In the ninth week, both groups completed the post-test and post-questionnaires to assess their learning outcomes and gather data on their motivation, self-efficacy, and 5C competencies.</p> <hd id="AN0188424185-15">Measuring Instruments</hd> <p>Both groups, following their respective learning approaches, were required to complete pre- and post-tests to measure their learning achievements. Additionally, they completed post-questionnaires aimed at assessing their learning motivation, self-efficacy, and 5C competencies.</p> <p>The pre-test consisted of 10 multiple-choice questions, 10 fill-in-the-blank questions, 2 programming fill-in-the-blank questions, and 1 programming task. Its purpose was to evaluate the learners' prior knowledge before they studied the syntax structures covered in Python's second unit. Example questions included: "What type of programming language is Python?" and "Which of the following options is incorrect regarding the naming rules for variables?"</p> <p>The post-test consisted of 20 multiple-choice questions, 1 programming error correction question, and 5 programming fill-in-the-blank questions. An example question was: "Debug the 'Fibonacci sequence' programme in Python." The purpose of this test was to evaluate students' learning achievements following the experiment. Both the pre- and post-tests were based on past Python exam questions from vocational schools and were compiled by the research assistant and the teacher.</p> <p>The motivation questionnaire primarily assessed the changes in students' intrinsic and extrinsic motivation before and after the experiment. The content was selected from the motivation scale developed by [<reflink idref="bib17" id="ref61">17</reflink>]. The wording of the questionnaire was modified to align with the context of vocational education, making it suitable for the cognitive abilities of vocational students. Experts were invited to review the questionnaire, and after a small-scale pilot test, it was put into use. An example item from the questionnaire is: "In studying this course, I prefer challenging content because it allows me to learn new things." The Cronbach's α for the questionnaire was.70, indicating acceptable internal consistency.</p> <p>The self-efficacy questionnaire was selected from the self-efficacy scale developed by [<reflink idref="bib42" id="ref62">42</reflink>] to evaluate the impact of the new learning approach on students' confidence in completing tasks. The wording of the questionnaire was modified to align with the context of vocational education, making it suitable for the cognitive abilities of vocational students. Experts were invited to review the questionnaire, and after a small-scale pilot test, it was put into use. It comprised 8 questions, each rated on a five-point Likert scale. An example item from the questionnaire is: "I am confident that I can learn and overcome the most difficult part of the course." The Cronbach's α for this questionnaire was.88, indicating high internal consistency.</p> <p>The 5C competence questionnaire was selected from the 5C competence scale developed by [<reflink idref="bib27" id="ref63">27</reflink>] to comprehensively evaluate the impact of GAI on developing students' future-oriented core competencies. The wording of the questionnaire was modified to align with the context of vocational education, making it suitable for the cognitive abilities of vocational students. Experts were invited to review the questionnaire, and after a small-scale pilot test, it was put into use. It included five questions for each of the following areas: collaboration, communication, critical thinking, meta-cognitive awareness, and creativity tendency. The Cronbach's α for the questionnaire was.87, indicating high internal reliability. According to exploratory factor analysis, the KMO value of the questionnaire exceeds 0.833, and the Bartlett's Test of Sphericity reaches a significant level, indicating good validity of the questionnaire.</p> <p>The learning style measurement tool utilized in this study was the [<reflink idref="bib22" id="ref64">22</reflink>] Learning Style Inventory (LSI), which comprised 12 questions rated on a four-point Likert scale. Each question presented four options that represented different learning tendencies: concrete experience (CE), reflective observation (RO), abstract conceptualization (AC), and active experimentation (AE). Participants ranked the options in each question according to how closely they matched their own learning experiences.</p> <hd id="AN0188424185-16">Results</hd> <p>To validate the effectiveness of the GAI-PL approach, the study assessed its impact on students' programming learning outcomes and the development of their 5C competencies, using learning styles and instructional methods (TPL and GAI-PL) as independent variables. The investigation specifically focussed on evaluating students' learning achievements, motivation, self-efficacy, and 5C competencies.</p> <hd id="AN0188424185-17">Analysis of Learning Achievements</hd> <p>A two-way ANCOVA was performed to evaluate students' learning achievements. The pre-test scores were used as a covariate, while the learning approach and learning styles served as independent variables, and the post-test scores were the dependent variable.</p> <p>Table 1 provides a descriptive analysis of students' learning achievements, confirming that the assumption of homogeneity of regression slopes was not violated (<emph>F</emph> = 1.644, <emph>p</emph> >.05). As shown in Table 2, there was no significant interaction between learning styles and learning approaches (<emph>F</emph> = 0.58, <emph>p</emph> >.05). Additionally, the results indicated that learning styles did not have a significant effect on students' learning achievements (<emph>F</emph> = 1.08, <emph>p</emph> >.05). However, a main effect was found for learning approaches on post-test scores (<emph>F</emph> = 4.00, <emph>p</emph> <.05, η<sups>2</sups> = 0.046), suggesting that the method of instruction influenced learning outcomes.</p> <p>Table 1. Descriptive Data of Students' Learning Achievements.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left" rowspan="2">Learning approach</th><th align="center" rowspan="2">Learning styles</th><th align="center" colspan="2">Pre-test</th><th align="center" colspan="3">Post-test</th></tr><tr><th align="center"><italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center">Adjusted <italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center"><italic>n</italic></th></tr></thead><tbody><tr><td rowspan="5">GAI-assisted programming learning</td><td>Diverging</td><td>72.92</td><td>11.39</td><td>82.33</td><td>10.03</td><td>6</td></tr><tr><td>Accommodating</td><td>81.56</td><td>6.64</td><td>81.44</td><td>13.29</td><td>9</td></tr><tr><td>Converging</td><td>82.33</td><td>9.62</td><td>85.67</td><td>9.24</td><td>12</td></tr><tr><td>Assimilating</td><td>80.87</td><td>8.47</td><td>81.79</td><td>8.59</td><td>19</td></tr><tr><td>Total</td><td>80.35</td><td>9.08</td><td>82.80</td><td>9.80</td><td>46</td></tr><tr><td rowspan="5">Traditional programming learning</td><td>Diverging</td><td>80.29</td><td>10.40</td><td>79.29</td><td>11.57</td><td>14</td></tr><tr><td>Accommodating</td><td>70.73</td><td>15.49</td><td>72.27</td><td>16.10</td><td>11</td></tr><tr><td>Converging</td><td>75.42</td><td>11.03</td><td>77.14</td><td>10.88</td><td>7</td></tr><tr><td>Assimilating</td><td>79.00</td><td>14.79</td><td>76.07</td><td>19.14</td><td>14</td></tr><tr><td>Total</td><td>76.87</td><td>13.36</td><td>76.30</td><td>15.00</td><td>46</td></tr><tr><td rowspan="5">Total</td><td>Diverging</td><td>78.08</td><td>10.96</td><td>80.20</td><td>10.96</td><td>20</td></tr><tr><td>Accommodating</td><td>75.60</td><td>13.24</td><td>76.40</td><td>15.25</td><td>20</td></tr><tr><td>Converging</td><td>79.79</td><td>10.43</td><td>82.53</td><td>10.46</td><td>19</td></tr><tr><td>Assimilating</td><td>80.08</td><td>11.40</td><td>79.36</td><td>14.09</td><td>33</td></tr><tr><td>Total</td><td>78.61</td><td>11.49</td><td>79.55</td><td>13.01</td><td>92</td></tr></tbody></table> </ephtml> </p> <p>1 <emph>M</emph> = mean; SD = standard deviation; n = number of participants.</p> <p>Table 2. Two-way ANCOVA Analysis of Students' Learning Achievements.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left">Source</th><th align="center">SS</th><th align="center"><italic>df</italic></th><th align="center">MS</th><th align="center"><italic>F</italic></th><th align="center">η<sup>2</sup></th></tr></thead><tbody><tr><td>Learning style</td><td>282.89</td><td>3</td><td>94.30</td><td>1.08</td><td>0.038</td></tr><tr><td>Learning approach</td><td>348.69</td><td>1</td><td>348.61</td><td>4.00<xref ref-type="table-fn" rid="tfn2">*</xref></td><td>0.046</td></tr><tr><td>Learning style × Learning approach</td><td>151.82</td><td>3</td><td>50.61</td><td>0.58</td><td>0.021</td></tr><tr><td>Error</td><td>7245.85</td><td>83</td><td>87.30</td><td /><td /></tr></tbody></table> </ephtml> </p> <p>2 <emph>p</emph> <.05.</p> <p>Specifically, the adjusted mean and standard deviation for the experimental group were 82.80 and 9.80, respectively, while for the control group, they were 76.30 and 15.00. This indicates that students who used the GAI-PL learning approach achieved higher learning outcomes compared to those who followed the TPL method.</p> <hd id="AN0188424185-18">Analysis of Learning Motivation</hd> <p>The homogeneity of regression remained unviolated (<emph>F</emph> = 1.72, <emph>p</emph> >.05). Table 3 presents an overview of the descriptive data related to learning motivation. Table 4 reveals that no significant interaction between learning approaches and the learning styles (<emph>F</emph> = 0.53, <emph>p</emph> >.05, η2 = 0.019). When analysing the main effects, both the learning approaches (<emph>F</emph> = 4.85, <emph>p</emph> <.05, η2 = 0.055) and learning styles (<emph>F</emph> = 3.71, <emph>p</emph> <.05, η2 = 0.118) exhibited differences in learners' motivation.</p> <p>Table 3. Descriptive Data of Students' Learning Motivation.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left" rowspan="2">Learning approach</th><th align="center" rowspan="2">Learning styles</th><th align="center" colspan="2">Pre-test</th><th align="center" colspan="3">Post-test</th></tr><tr><th align="center"><italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center">Adjusted <italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center"><italic>n</italic></th></tr></thead><tbody><tr><td rowspan="5">GAI-assisted programming learning</td><td>Diverging</td><td>3.40</td><td>1.16</td><td>4.63</td><td>0.39</td><td>6</td></tr><tr><td>Accommodating</td><td>3.27</td><td>0.72</td><td>4.00</td><td>0.76</td><td>9</td></tr><tr><td>Converging</td><td>3.00</td><td>0.71</td><td>3.73</td><td>0.72</td><td>12</td></tr><tr><td>Assimilating</td><td>3.03</td><td>0.65</td><td>4.01</td><td>0.50</td><td>19</td></tr><tr><td>Total</td><td>3.12</td><td>0.75</td><td>4.02</td><td>0.65</td><td>46</td></tr><tr><td rowspan="5">Traditional programming learning</td><td>Diverging</td><td>3.14</td><td>1.07</td><td>4.04</td><td>0.53</td><td>14</td></tr><tr><td>Accommodating</td><td>2.86</td><td>0.48</td><td>3.86</td><td>0.57</td><td>11</td></tr><tr><td>Converging</td><td>3.23</td><td>0.73</td><td>3.51</td><td>0.84</td><td>7</td></tr><tr><td>Assimilating</td><td>3.01</td><td>0.59</td><td>3.67</td><td>0.72</td><td>14</td></tr><tr><td>Total</td><td>3.05</td><td>0.76</td><td>3.80</td><td>0.66</td><td>46</td></tr><tr><td rowspan="5">Total</td><td>Diverging</td><td>3.22</td><td>1.07</td><td>4.22</td><td>0.55</td><td>20</td></tr><tr><td>Accommodating</td><td>3.04</td><td>0.62</td><td>3.92</td><td>0.65</td><td>20</td></tr><tr><td>Converging</td><td>3.08</td><td>0.70</td><td>3.65</td><td>0.75</td><td>19</td></tr><tr><td>Assimilating</td><td>3.02</td><td>0.62</td><td>3.87</td><td>0.62</td><td>33</td></tr><tr><td>Total</td><td>3.08</td><td>0.75</td><td>3.91</td><td>0.66</td><td>92</td></tr></tbody></table> </ephtml> </p> <p>3 <emph>M</emph> = mean; SD = standard deviation; <emph>n</emph> = number of participants.</p> <p>Table 4. Two-way ANCOVA Analysis of Students' Learning Motivation.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left">Source</th><th align="center">SS</th><th align="center"><italic>df</italic></th><th align="center">MS</th><th align="center"><italic>F</italic></th><th align="center">η<sup>2</sup></th></tr></thead><tbody><tr><td>Learning style</td><td>3.99</td><td>3</td><td>1.33</td><td>3.71<xref ref-type="table-fn" rid="tfn4">*</xref></td><td>0.118</td></tr><tr><td>Learning approach</td><td>1.74</td><td>1</td><td>1.74</td><td>4.85<xref ref-type="table-fn" rid="tfn4">*</xref></td><td>0.055</td></tr><tr><td>Learning style × Learning approach</td><td>0.57</td><td>3</td><td>0.19</td><td>0.53</td><td>0.019</td></tr><tr><td>Error</td><td>29.75</td><td>83</td><td>0.36</td><td /><td /></tr></tbody></table> </ephtml> </p> <p>4 <emph>p</emph> <.05.</p> <p>The adjusted means and standard deviations for the experimental group were 4.02 and 0.65, respectively, while those for the control group were 3.80 and 0.66. Notably, students utilizing the GAI-PL learning approach demonstrated significantly higher learning motivation compared to those using the TPL approach. Additionally, divergers, with an adjusted mean of 4.22 and a standard deviation of 0.55, exhibited superior learning motivation.</p> <hd id="AN0188424185-19">Analysis of Self-Efficacy</hd> <p>The homogeneity of regression was upheld (<emph>F</emph> = 0.58, <emph>p</emph> >.05). Table 5 provides a comprehensive overview of the descriptive data pertaining to learners' self-efficacy. Table 6 reveals that there was no significant interaction between learning approaches and learning styles (<emph>F</emph> = 0.69, <emph>p</emph> >.05, η2 = 0.024). Nevertheless, it remains evident that learning approaches exert a noteworthy influence on learners' self-efficacy. (<emph>F</emph> = 33.39, <emph>p</emph> <.001, η2 = 0.287).</p> <p>Table 5. Descriptive Data of Students' Self-efficacy.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left" rowspan="2">Learning approach</th><th align="center" rowspan="2">Learning styles</th><th align="center" colspan="2">Pre-test</th><th align="center" colspan="3">Post-test</th></tr><tr><th align="center"><italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center">Adjusted <italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center"><italic>n</italic></th></tr></thead><tbody><tr><td rowspan="5">GAI-assisted programming learning</td><td>Diverging</td><td>2.63</td><td>0.38</td><td>3.97</td><td>0.61</td><td>6</td></tr><tr><td>Accommodating</td><td>2.53</td><td>0.36</td><td>3.58</td><td>0.58</td><td>9</td></tr><tr><td>Converging</td><td>2.77</td><td>0.60</td><td>3.60</td><td>0.51</td><td>12</td></tr><tr><td>Assimilating</td><td>2.70</td><td>0.49</td><td>3.93</td><td>0.60</td><td>19</td></tr><tr><td>Total</td><td>2.68</td><td>0.47</td><td>3.78</td><td>0.58</td><td>46</td></tr><tr><td rowspan="5">Traditional programming learning</td><td>Diverging</td><td>2.73</td><td>0.74</td><td>3.27</td><td>0.57</td><td>14</td></tr><tr><td>Accommodating</td><td>2.55</td><td>0.51</td><td>3.15</td><td>0.47</td><td>11</td></tr><tr><td>Converging</td><td>2.89</td><td>0.96</td><td>2.80</td><td>0.48</td><td>7</td></tr><tr><td>Assimilating</td><td>2.94</td><td>0.84</td><td>3.13</td><td>0.70</td><td>14</td></tr><tr><td>Total</td><td>2.77</td><td>0.75</td><td>3.13</td><td>0.58</td><td>46</td></tr><tr><td rowspan="5">Total</td><td>Diverging</td><td>2.70</td><td>0.63</td><td>3.48</td><td>0.65</td><td>20</td></tr><tr><td>Accommodating</td><td>2.54</td><td>0.44</td><td>3.34</td><td>0.55</td><td>20</td></tr><tr><td>Converging</td><td>2.81</td><td>0.73</td><td>3.31</td><td>0.63</td><td>19</td></tr><tr><td>Assimilating</td><td>2.80</td><td>0.66</td><td>3.59</td><td>0.75</td><td>33</td></tr><tr><td>Total</td><td>2.72</td><td>0.63</td><td>3.45</td><td>0.67</td><td>92</td></tr></tbody></table> </ephtml> </p> <p>5 <emph>M</emph> = mean; SD = standard deviation; <emph>n</emph> = number of participants.</p> <p>Table 6. Two-way ANCOVA Analysis of Students' Self-efficacy.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /></colgroup><thead><tr><th align="left">Source</th><th align="center">SS</th><th align="center"><italic>df</italic></th><th align="center">MS</th><th align="center"><italic>F</italic></th><th align="center">η<sup>2</sup></th></tr></thead><tbody><tr><td>Learning style</td><td>2.03</td><td>3</td><td>0.68</td><td>2.20</td><td>0.074</td></tr><tr><td>Learning approach</td><td>10.26</td><td>1</td><td>10.26</td><td>33.39<xref ref-type="table-fn" rid="tfn6">***</xref></td><td>0.287</td></tr><tr><td>Learning style × Learning approach</td><td>0.63</td><td>3</td><td>0.21</td><td>0.69</td><td>0.024</td></tr><tr><td>Error</td><td>25.51</td><td>83</td><td>0.31</td><td /><td /></tr></tbody></table> </ephtml> </p> <p>6 <emph>p</emph> <.001.</p> <p>Specifically, the learners' adjusted mean values for their post-test ratings of self-efficacy were 3.78, with a standard deviation of 0.58 for learners employing the GAI-PL approach, whereas those adhering to the TPL approach demonstrated a mean value of 3.13 (<emph>SD</emph> = 0.58). This highlights the potential of the GAI-PL approach to enhance learners' self-efficacy.</p> <hd id="AN0188424185-20">Analysis of 5C Competence</hd> <p>To explore students' 5C Competence, the collaborative aspect was initially analysed. The assumption of homogeneity of regression was upheld (<emph>F</emph> = 0.88, <emph>p</emph> >.05). Following the exclusion of pre-communication scores' effects, no significant interaction emerged between learning approaches and learning styles (<emph>F</emph> = 0.80, <emph>p</emph> >.05). Furthermore, no notable variations were observed in the impact of learning styles on learners' communication skills (<emph>F</emph> = 0.35, <emph>p</emph> >.05). This suggests that learning approaches influenced learners' communication skills (<emph>F</emph> = 9.10, <emph>p</emph> <.05, η2 = 0.099). Post-test communication ratings adjusted mean values were 3.81 (<emph>SD</emph> = 0.64) for GAI-PL learners and 3.39 (<emph>SD</emph> = 0.64) for TPL learners, indicating the GAI-PL approach's ability to enhance communication skills.</p> <p>The homogeneity of regression for complex problem-solving skills was confirmed (<emph>F</emph> = 1.60, <emph>p</emph> >.05), allowing the use of a two-way ANCOVA. Descriptive data are provided in Table 7. According to Table 8, the learning approaches affected learners' complex problem-solving skills (<emph>F</emph> = 25.24, <emph>p</emph> <.001, η<sups>2</sups> = 0.233). The adjusted mean post-test ratings for complex problem-solving were 3.97 (<emph>SD</emph> = 0.48) for the GAI-PL group and 3.62 (<emph>SD</emph> = 0.74) for the TPL group, highlighting the GAI-PL approach's ability to enhance these skills.</p> <p>Table 7. Descriptive Data of Students' Complex Problem-solving Skills.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left" rowspan="2">Learning approach</th><th align="center" rowspan="2">Learning styles</th><th align="center" colspan="2">Pre-test</th><th align="center" colspan="3">Post-test</th></tr><tr><th align="center"><italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center">Adjusted <italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center"><italic>n</italic></th></tr></thead><tbody><tr><td rowspan="5">GAI-assisted programming learning</td><td>Diverging</td><td>3.00</td><td>0.81</td><td>4.23</td><td>0.45</td><td>6</td></tr><tr><td>Accommodating</td><td>2.42</td><td>0.41</td><td>3.89</td><td>0.28</td><td>9</td></tr><tr><td>Converging</td><td>2.47</td><td>0.55</td><td>3.80</td><td>0.43</td><td>12</td></tr><tr><td>Assimilating</td><td>3.08</td><td>0.84</td><td>4.04</td><td>0.57</td><td>19</td></tr><tr><td>Total</td><td>2.78</td><td>0.74</td><td>3.97</td><td>0.48</td><td>46</td></tr><tr><td rowspan="5">Traditional programming learning</td><td>Diverging</td><td>2.77</td><td>0.95</td><td>3.36</td><td>0.68</td><td>14</td></tr><tr><td>Accommodating</td><td>2.93</td><td>1.05</td><td>3.35</td><td>0.59</td><td>11</td></tr><tr><td>Converging</td><td>2.54</td><td>0.28</td><td>3.54</td><td>0.38</td><td>7</td></tr><tr><td>Assimilating</td><td>2.73</td><td>0.86</td><td>3.43</td><td>0.80</td><td>14</td></tr><tr><td>Total</td><td>2.76</td><td>0.86</td><td>3.40</td><td>0.65</td><td>46</td></tr><tr><td rowspan="5">Total</td><td>Diverging</td><td>2.84</td><td>0.89</td><td>3.62</td><td>0.74</td><td>20</td></tr><tr><td>Accommodating</td><td>2.70</td><td>0.85</td><td>3.56</td><td>0.54</td><td>20</td></tr><tr><td>Converging</td><td>2.50</td><td>0.46</td><td>3.71</td><td>0.42</td><td>19</td></tr><tr><td>Assimilating</td><td>2.93</td><td>0.85</td><td>3.78</td><td>0.73</td><td>33</td></tr><tr><td>Total</td><td>2.77</td><td>0.80</td><td>3.69</td><td>0.64</td><td>92</td></tr></tbody></table> </ephtml> </p> <p>7 <emph>M</emph> = mean; SD = standard deviation; <emph>n</emph> = number of participants.</p> <p>Table 8. Two-way ANCOVA Analysis of Students' Problem-solving Skills.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /></colgroup><thead><tr><th align="left">Source</th><th align="center">SS</th><th align="center"><italic>df</italic></th><th align="center">MS</th><th align="center"><italic>F</italic></th><th align="center">η<sup>2</sup></th></tr></thead><tbody><tr><td>Learning style</td><td>0.17</td><td>3</td><td>0.06</td><td>0.22</td><td>0.008</td></tr><tr><td>Learning approach</td><td>6.63</td><td>1</td><td>6.63</td><td>25.24<xref ref-type="table-fn" rid="tfn8">***</xref></td><td>0.233</td></tr><tr><td>Learning style × Learning approach</td><td>0.74</td><td>3</td><td>0.25</td><td>0.94</td><td>0.033</td></tr><tr><td>Error</td><td>21.80</td><td>83</td><td>0.26</td><td /><td /></tr></tbody></table> </ephtml> </p> <p>8 <emph>p</emph> <.001.</p> <p>The homogeneity of regression for creativity skills was confirmed (<emph>F</emph> = 1.13, <emph>p</emph> >.05), supporting the application of two-way ANCOVA. Descriptive data on learners' creativity skills are shown in Table 9. According to Table 10, learning approaches significantly influenced students' creativity (<emph>F</emph> = 11.55, <emph>p</emph> <.05, η<sups>2</sups> = 0.122). Additionally, a significant interaction between learning approaches and learning styles was identified (<emph>F</emph> = 6.89, <emph>p</emph> <.001, η<sups>2</sups> = 0.199). Subsequently, a simple main effect analysis was carried out, with results presented in Table 11 and Figure 6.</p> <p>Table 9. Descriptive Data of Students' Creativity.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left" rowspan="2">Learning approach</th><th align="center" rowspan="2">Learning styles</th><th align="center" colspan="2">Pre-test</th><th align="center" colspan="3">Post-test</th></tr><tr><th align="center"><italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center">Adjusted <italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center"><italic>n</italic></th></tr></thead><tbody><tr><td rowspan="5">GAI-assisted programming learning</td><td>Diverging</td><td>2.93</td><td>0.81</td><td>4.20</td><td>0.55</td><td>6</td></tr><tr><td>Accommodating</td><td>2.98</td><td>1.01</td><td>3.64</td><td>0.43</td><td>9</td></tr><tr><td>Converging</td><td>3.15</td><td>0.81</td><td>3.72</td><td>0.62</td><td>12</td></tr><tr><td>Assimilating</td><td>3.05</td><td>0.98</td><td>4.02</td><td>0.70</td><td>19</td></tr><tr><td>Total</td><td>3.05</td><td>0.90</td><td>3.89</td><td>0.63</td><td>46</td></tr><tr><td rowspan="5">Traditional programming learning</td><td>Diverging</td><td>3.21</td><td>1.01</td><td>3.39</td><td>0.60</td><td>14</td></tr><tr><td>Accommodating</td><td>2.86</td><td>0.83</td><td>3.62</td><td>0.38</td><td>11</td></tr><tr><td>Converging</td><td>3.66</td><td>1.09</td><td>4.11</td><td>0.56</td><td>7</td></tr><tr><td>Assimilating</td><td>3.06</td><td>1.02</td><td>3.44</td><td>0.60</td><td>14</td></tr><tr><td>Total</td><td>3.15</td><td>0.99</td><td>3.57</td><td>0.59</td><td>46</td></tr><tr><td rowspan="5">Total</td><td>Diverging</td><td>3.13</td><td>0.94</td><td>3.63</td><td>0.69</td><td>20</td></tr><tr><td>Accommodating</td><td>2.91</td><td>0.89</td><td>3.63</td><td>0.40</td><td>20</td></tr><tr><td>Converging</td><td>3.34</td><td>0.93</td><td>3.86</td><td>0.62</td><td>19</td></tr><tr><td>Assimilating</td><td>3.06</td><td>0.98</td><td>3.78</td><td>0.71</td><td>33</td></tr><tr><td>Total</td><td>3.10</td><td>0.94</td><td>3.73</td><td>0.63</td><td>92</td></tr></tbody></table> </ephtml> </p> <p>9 <emph>M</emph> = mean; SD = standard deviation; <emph>n</emph> = number of participants.</p> <p>Table 10. Two-way ANCOVA Analysis of Students' Creativity.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /></colgroup><thead><tr><th align="left">Source</th><th align="center">SS</th><th align="center"><italic>df</italic></th><th align="center">MS</th><th align="center"><italic>F</italic></th><th align="center">η<sup>2</sup></th></tr></thead><tbody><tr><td>Learning style</td><td>0.10·</td><td>3</td><td>0.33</td><td>0.18</td><td>0.006</td></tr><tr><td>Learning approach</td><td>2.13</td><td>1</td><td>2.13</td><td>11.55<xref ref-type="table-fn" rid="tfn10">**</xref></td><td>0.122</td></tr><tr><td>Learning style × Learning approach</td><td>3.81</td><td>3</td><td>1.27</td><td>6.89<xref ref-type="table-fn" rid="tfn10">***</xref></td><td>0.199</td></tr><tr><td>Error</td><td>15.30</td><td>83</td><td>0.18</td><td /><td /></tr></tbody></table> </ephtml> </p> <p>10 <emph>p</emph> <.01. ***<emph>p</emph> <.001.</p> <p>Table 11. Results of the Simple Main Effect Analysis of Students' Creativity.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left" colspan="2">variables</th><th align="center">SS</th><th align="center"><italic>df</italic></th><th align="center">MS</th><th align="center"><italic>F</italic></th><th align="center">η<sup>2</sup></th></tr></thead><tbody><tr><td rowspan="4">Learning style</td><td>Diverging</td><td>3.63</td><td>1</td><td>3.63</td><td>19.72<xref ref-type="table-fn" rid="tfn11">***</xref></td><td>0.192</td></tr><tr><td>Accommodating</td><td>0.003</td><td>1</td><td>0.003</td><td>0.17</td><td>0.000</td></tr><tr><td>Converging</td><td>0.15</td><td>1</td><td>0.15</td><td>0.81</td><td>0.010</td></tr><tr><td>Assimilating</td><td>2.71</td><td>1</td><td>2.71</td><td>14.71<xref ref-type="table-fn" rid="tfn11">***</xref></td><td>0.150</td></tr><tr><td rowspan="2">Learning approach</td><td>GAI-assisted programming learning</td><td>2.07</td><td>3</td><td>0.69</td><td>3.74<xref ref-type="table-fn" rid="tfn11">**</xref></td><td>0.119</td></tr><tr><td>Traditional programming learning</td><td>1.83</td><td>3</td><td>0.61</td><td>3.30<xref ref-type="table-fn" rid="tfn11">**</xref></td><td>0.107</td></tr></tbody></table> </ephtml> </p> <p>11 <emph>p</emph> <.01. ***<emph>p</emph> <.001.</p> <p>Graph: Figure 6. Interaction between learning styles and learning approaches on students' creativity.</p> <p>As shown in Table 11, significant differences in creativity were found among learners with different learning styles in the GAI-PL group (<emph>F</emph> = 3.74, <emph>p</emph> <.05, η2 = 0.119) and TPL group (<emph>F</emph> = 3.30, <emph>p</emph> <.05, η2 = 0.107). Furthermore, significant differences in creativity were observed between divergers and assimilators with different learning approaches (<emph>F</emph> = 19.72, <emph>p</emph> <.001, η2 = 0.192; <emph>F</emph> = 14.71, <emph>p</emph> <.001, η2 = 0.150). Specifically, divergers in the GAI-PL group (adjusted <emph>M</emph> = 4.20; <emph>SD</emph> = 0.55) exhibited higher creativity than those in the TPL group (adjusted <emph>M</emph> = 3.39; <emph>SD</emph> = 0.60). Similarly, assimilators in the GAI-PL group (adjusted <emph>M</emph> = 4.02; <emph>SD</emph> = 0.70) demonstrated greater creativity than those in the TPL group (adjusted <emph>M</emph> = 3.44; <emph>SD</emph> = 0.60).</p> <p>The homogeneity of regression for communication ability was confirmed (<emph>F</emph> = 0.98, <emph>p</emph> >.05). Table 12 presents the descriptive data for learners' communication skills. According to the analysis in Table 13, an effect of learning approaches on students' communication skills was found (<emph>F</emph> = 4.70, <emph>p</emph> <.05, η<sups>2</sups> = 0.054). The adjusted mean post-test communication scores were 4.00 (<emph>SD</emph> = 0.61) for the GAI-PL group and 3.75 (<emph>SD</emph> = 0.57) for the TPL group, indicating the GAI-PL approach's effectiveness in enhancing communication skills. No significant interaction between learning approaches and learning styles was identified (<emph>F</emph> = 0.48, <emph>p</emph> >.05, η<sups>2</sups> = 0.017), and learning styles did not have a significant impact on learners' communication abilities (<emph>F</emph> = 0.69, <emph>p</emph> >.05, η<sups>2</sups> = 0.024).</p> <p>Table 12. Descriptive Data of Students' Communication Ability.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /><col align="left" /></colgroup><thead><tr><th align="left" rowspan="2">Learning approach</th><th align="center" rowspan="2">Learning styles</th><th align="center" colspan="2">Pre-test</th><th align="center" colspan="3">Post-test</th></tr><tr><th align="center"><italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center">Adjusted <italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center"><italic>n</italic></th></tr></thead><tbody><tr><td rowspan="5">GAI-assisted programming learning</td><td>Diverging</td><td>3.30</td><td>1.32</td><td>4.13</td><td>0.68</td><td>6</td></tr><tr><td>Accommodating</td><td>2.87</td><td>0.56</td><td>3.98</td><td>0.70</td><td>9</td></tr><tr><td>Converging</td><td>2.72</td><td>0.61</td><td>3.78</td><td>0.65</td><td>12</td></tr><tr><td>Assimilating</td><td>3.02</td><td>1.01</td><td>4.10</td><td>0.53</td><td>19</td></tr><tr><td>Total</td><td>2.95</td><td>0.88</td><td>4.00</td><td>0.61</td><td>46</td></tr><tr><td rowspan="5">Traditional programming learning</td><td>Diverging</td><td>3.09</td><td>0.99</td><td>3.74</td><td>0.50</td><td>14</td></tr><tr><td>Accommodating</td><td>2.82</td><td>0.71</td><td>3.91</td><td>0.64</td><td>11</td></tr><tr><td>Converging</td><td>3.26</td><td>0.99</td><td>3.63</td><td>0.37</td><td>7</td></tr><tr><td>Assimilating</td><td>3.30</td><td>0.90</td><td>3.70</td><td>0.67</td><td>14</td></tr><tr><td>Total</td><td>3.11</td><td>0.89</td><td>3.75</td><td>0.57</td><td>46</td></tr><tr><td rowspan="5">Total</td><td>Diverging</td><td>3.15</td><td>1.07</td><td>3.86</td><td>0.57</td><td>20</td></tr><tr><td>Accommodating</td><td>2.84</td><td>0.63</td><td>3.94</td><td>0.65</td><td>20</td></tr><tr><td>Converging</td><td>2.92</td><td>0.79</td><td>3.73</td><td>0.56</td><td>19</td></tr><tr><td>Assimilating</td><td>3.14</td><td>0.96</td><td>3.93</td><td>0.62</td><td>33</td></tr><tr><td>Total</td><td>3.03</td><td>0.89</td><td>3.87</td><td>0.60</td><td>92</td></tr></tbody></table> </ephtml> </p> <p>12 <emph>M</emph> = mean; SD = standard deviation; <emph>n</emph> = number of participants.</p> <p>Table 13. Two-way ANCOVA Analysis of Students' Communication Ability.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /></colgroup><thead><tr><th align="left">Source</th><th align="center">SS</th><th align="center"><italic>df</italic></th><th align="center">MS</th><th align="center"><italic>F</italic></th><th align="center">η<sup>2</sup></th></tr></thead><tbody><tr><td>Learning style</td><td>0.69</td><td>3</td><td>0.23</td><td>0.69</td><td>0.024</td></tr><tr><td>Learning approach</td><td>1.56</td><td>1</td><td>1.56</td><td>4.70<xref ref-type="table-fn" rid="tfn13">**</xref></td><td>0.054</td></tr><tr><td>Learning style × Learning approach</td><td>0.48</td><td>3</td><td>0.16</td><td>0.48</td><td>0.017</td></tr><tr><td>Error</td><td>27.61</td><td>83</td><td>0.33</td><td /><td /></tr></tbody></table> </ephtml> </p> <p>13 <emph>p</emph> <.01.</p> <p>The homogeneity of regression for meta-cognitive awareness was confirmed (<emph>F</emph> = 0.74, <emph>p</emph> >.05). Table 14 displays the descriptive data for students' meta-cognitive awareness. According to the analysis in Table 15, no significant interaction was found between learning approaches and learning styles (<emph>F</emph> = 0.41, <emph>p</emph> >.05, η<sups>2</sups> = 0.015), and no significant effect of learning styles on meta-cognitive awareness was observed (<emph>F</emph> = 0.99, <emph>p</emph> >.05, η<sups>2</sups> = 0.035). However, an impact of learning approaches on meta-cognitive awareness was identified (<emph>F</emph> = 4.89, <emph>p</emph> <.001, η<sups>2</sups> = 0.056). The GAI-PL approach (adjusted <emph>M</emph> = 3.65; <emph>SD</emph> = 0.53) proved more effective in enhancing learners' meta-cognitive awareness compared to the TPL approach (adjusted <emph>M</emph> = 3.36; <emph>SD</emph> = 0.62).</p> <p>Table 14. Descriptive Data of Students' Meta-cognitive Awareness.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="left" /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /></colgroup><thead><tr><th align="left" rowspan="2">Learning approach</th><th align="center" rowspan="2">Learning styles</th><th align="center" colspan="2">Pre-test</th><th align="center" colspan="3">Post-test</th></tr><tr><th align="center"><italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center">Adjusted <italic>M</italic></th><th align="center"><italic>SD</italic></th><th align="center"><italic>n</italic></th></tr></thead><tbody><tr><td rowspan="5">GAI-assisted programming learning</td><td>Diverging</td><td>3.00</td><td>0.60</td><td>3.83</td><td>0.50</td><td>6</td></tr><tr><td>Accommodating</td><td>2.51</td><td>0.40</td><td>3.53</td><td>0.65</td><td>9</td></tr><tr><td>Converging</td><td>2.88</td><td>0.47</td><td>3.48</td><td>0.58</td><td>12</td></tr><tr><td>Assimilating</td><td>2.68</td><td>0.42</td><td>3.76</td><td>0.42</td><td>19</td></tr><tr><td>Total</td><td>2.74</td><td>0.47</td><td>3.65</td><td>0.53</td><td>46</td></tr><tr><td rowspan="5">Traditional programming learning</td><td>Diverging</td><td>2.77</td><td>0.52</td><td>3.47</td><td>0.47</td><td>14</td></tr><tr><td>Accommodating</td><td>2.76</td><td>0.51</td><td>3.15</td><td>0.70</td><td>11</td></tr><tr><td>Converging</td><td>2.63</td><td>0.21</td><td>3.43</td><td>0.55</td><td>7</td></tr><tr><td>Assimilating</td><td>2.59</td><td>0.32</td><td>3.39</td><td>0.73</td><td>14</td></tr><tr><td>Total</td><td>2.69</td><td>0.42</td><td>3.36</td><td>0.62</td><td>46</td></tr><tr><td rowspan="5">Total</td><td>Diverging</td><td>2.84</td><td>0.54</td><td>3.58</td><td>0.49</td><td>20</td></tr><tr><td>Accommodating</td><td>2.65</td><td>0.47</td><td>3.32</td><td>0.69</td><td>20</td></tr><tr><td>Converging</td><td>2.79</td><td>0.41</td><td>3.46</td><td>0.55</td><td>19</td></tr><tr><td>Assimilating</td><td>2.64</td><td>0.38</td><td>3.60</td><td>0.60</td><td>33</td></tr><tr><td>Total</td><td>2.72</td><td>0.44</td><td>3.51</td><td>0.59</td><td>92</td></tr></tbody></table> </ephtml> </p> <p>14 <emph>M</emph> = mean; SD = standard deviation; <emph>n</emph> = number of participants.</p> <p>Table 15. Two-way ANCOVA Analysis of Students' Meta-cognitive Awareness.</p> <p>Graph</p> <p> <ephtml> <table><colgroup><col align="left" /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /><col align="char" char="." /></colgroup><thead><tr><th align="left">Source</th><th align="center">SS</th><th align="center"><italic>df</italic></th><th align="center">MS</th><th align="center"><italic>F</italic></th><th align="center">η<sup>2</sup></th></tr></thead><tbody><tr><td>Learning style</td><td>1.00</td><td>3</td><td>0.33</td><td>0.99</td><td>0.035</td></tr><tr><td>Learning approach</td><td>1.64</td><td>1</td><td>1.64</td><td>4.89<xref ref-type="table-fn" rid="tfn15">**</xref></td><td>0.056</td></tr><tr><td>Learning style × Learning approach</td><td>0.42</td><td>3</td><td>0.14</td><td>0.41</td><td>0.015</td></tr><tr><td>Error</td><td>27.93</td><td>83</td><td>0.34</td><td /><td /></tr></tbody></table> </ephtml> </p> <p>15 <emph>p</emph> <.01.</p> <hd id="AN0188424185-21">Analysis of Interview Results</hd> <p>The interviews indicated that teachers held a positive view of the pedagogical innovation introduced by GAI-PL in vocational programming education, noting that the integration of GAI significantly improved the efficiency of the teaching process. Teachers highlighted that "in the lesson preparation phase, GAI supports the teaching design by generating engaging scenarios and step-by-step classroom exercises, which substantially enhance both the efficiency and quality of lesson planning." During the lessons, teachers acknowledged that "GAI provides students with a variety of personalized learning prompts, enabling effective differentiated instruction." However, they also pointed out some practical challenges, mentioning that "the autonomous use of GAI in vocational classrooms may somewhat affect the efficiency of classroom management."</p> <p>Student interviews addressed two main aspects: learning experience and learning tools. In terms of learning experience, most students in the GAI-PL group adapted quickly to the new approach, stating that it stimulated their interest in learning more effectively than traditional methods. Regarding the learning tools, some students highlighted benefits such as "assisting with code ideas,""efficiently correcting code errors," and "providing timely responses." However, a significant number of students felt that GAI was not intelligent enough, often offering rigid responses, and when it failed to deliver direct and accurate feedback, they would lose patience in further inquiries.</p> <hd id="AN0188424185-22">Discussion</hd> <p></p> <hd id="AN0188424185-23">Discussions on Learning Achievements</hd> <p>Interviews from the GAI-PL group revealed that when students encounter challenging concepts during the process of acquiring new knowledge, GAI provides prompt and targeted explanations. Its enhanced summarization and targeting capabilities, compared to traditional search engines, facilitate effective knowledge construction and help minimize unnecessary cognitive load ([<reflink idref="bib60" id="ref65">60</reflink>]). Furthermore, GAI can generate detailed and engaging examples based on students' requests, which deepens their understanding of concepts. In programming contexts, GAI supports students who have weaker foundations by offering programming ideas, ensuring they do not fall behind the class pace. Additionally, GAI assists in optimizing and debugging code after students complete it, allowing them to strengthen their coding skills and establish better programming habits. During the after-class consolidation phase, GAI enables students to integrate knowledge through interactive and personalized testing, reinforcing autonomous learning. According to the SOI model, the selection stage involves directing attention to relevant instructional information. GAI effectively supports this stage by providing targeted explanations and examples that help students focus on essential information. The organization stage involves clarifying the relationships between fragments of information within instructional material. GAI aids this stage by generating detailed examples and facilitating the connection between new content and students' prior knowledge. The integration stage involves linking instructional information with students' existing knowledge framework. GAI supports this stage by providing interactive and personalized testing, which helps students integrate new knowledge into their existing knowledge structure. In contrast, while the TPL group benefits from the teacher's guidance, it predominantly focuses on the transmission and assimilation of knowledge. Traditional approaches struggle to accommodate individual student differences, often lacking the specificity needed for personalized learning. Moreover, traditional information technology tools used in teaching may not efficiently address each student's questions in real-time, and teachers face challenges in managing and responding to individual needs within limited class periods. GAI, acting as a personal assistant for each student, effectively overcomes these limitations. The differences between the GAI-PL and TPL approaches, especially in terms of personalization and responsiveness, likely contribute to the significant improvement in learning achievements observed in the GAI-PL group.</p> <hd id="AN0188424185-24">Discussions on Learning Motivation and Self-efficacy</hd> <p>The GAI-PL group's learning motivation and self-efficacy were significantly higher than those of the TPL group, a finding consistent with [<reflink idref="bib64" id="ref66">64</reflink>]. Firstly, this approach emphasizes students' active participation in the learning process. Through interaction with GAI, students can receive targeted learning advice and answers, helping them better understand and master knowledge, thereby enhancing their learning confidence. Finally, from the perspective of generative learning, the GAI-PL approach guides students through the process of selecting, organizing, and integrating information for learning. This approach encourages students to continually refine their knowledge structures and gain a sense of mastery over knowledge.</p> <hd id="AN0188424185-25">Discussions on 5C Competence</hd> <p>In terms of 5C competence, the GAI-PL approach significantly improves students' collaboration, communication, complex problem-solving, creativity, and metacognitive awareness compared to the traditional TPL approach. During the learning process, students can access GAI for assistance at any time, fostering their habit of actively seeking help and collaborating. In the after-class consolidation phase, interactive testing with GAI further enhances their collaboration and communication skills. Moreover, GAI positively impacts students' creative thinking and reflective abilities during classroom activities ([<reflink idref="bib9" id="ref67">9</reflink>]). By engaging with GAI, students learn to approach problems from diverse perspectives, expand their thinking boundaries, and strengthen their creativity and innovation awareness. Additionally, GAI's immediate feedback and personalized guidance provide students with deeper insights into their learning progress, promoting the development of metacognitive awareness. After receiving feedback, students are encouraged to reflect on their learning processes, identify weaknesses, and make appropriate adjustments. According to the SOI model, the integration stage involves linking instructional information with students' existing knowledge framework. GAI supports this stage by providing immediate feedback and personalized guidance, which helps students integrate new knowledge into their existing knowledge structure and develop metacognitive awareness.</p> <p>In the GAI-PL group for learning styles, divergers show significantly higher motivation compared to other learners, and both divergers and assimilators demonstrate greater creativity with the GAI-PL approach than with the TPL approach. Previous studies indicate that divergent thinking is a crucial component of creativity, and divergers are often imaginative and creative ([<reflink idref="bib6" id="ref68">6</reflink>]), enjoying new experiences and engaging more with diverse learning tasks and challenges. The GAI-PL approach aligns with these traits, effectively boosting their motivation and creativity. In contrast, traditional approaches often focus on knowledge transmission. Additionally, divergers possess strong communication skills (Kolb et al., 2005), and the GAI-PL approach's emphasis on human-computer interaction enhances these skills, further fostering creativity. Assimilators, known for their ability to plan, organize, analyse, and integrate new information systematically, benefit from the GAI-PL approach's emphasis on generative learning, which aligns with their needs and stimulates their creativity in practice.</p> <hd id="AN0188424185-26">Conclusion</hd> <p>This study introduces a GAI-assisted programming learning (GAI-PL) method and applies it within the context of programming education in a vocational school. To thoroughly assess and compare the learning outcomes of students with different learning styles, a two-factor quasi-experimental design was implemented. The findings reveal that, compared to the traditional programming learning (TPL) group, the GAI-PL group exhibited significant advantages in several key areas, including learning achievements, motivation, self-efficacy, collaboration skills, complex problem-solving abilities, creativity, communication skills, and meta-cognitive awareness. Notably, within the GAI-PL group, divergers displayed significantly higher motivation compared to other learners. Additionally, there was a significant interaction between the learning approach and learning styles in terms of creativity, with divergers and assimilators using the GAI-PL approach demonstrating higher levels of creativity than their counterparts in the TPL approach.</p> <hd id="AN0188424185-27">Research Limitations</hd> <p>In this study, we developed a generative learning approach supported by generative artificial intelligence (GAI), demonstrating its effectiveness in enhancing students' learning outcomes and 5C competencies. This marks a significant advancement in the application of GAI within the educational field. However, there are several limitations. The experimental intervention had a short duration and lacked a delayed post-test to assess long-term effects. Moreover, the study exclusively utilized ERNIE Bot as the GAI tool, which may have constrained the generalizability of the research. Additionally, the sample size and diversity of this study were limited, as it primarily involved vocational school students from specific regions. Furthermore, the gender imbalance present in the random sampling process was not thoroughly addressed during data analysis, potentially affecting the representativeness of the findings. Besides, the study focussed solely on the application of the approach in programming learning, leaving its effects in other subjects unexplored. Although the sample size and diversity of this study are restricted, mainly involving vocational school students from specific regions, which may limit the generalizability of the results to some extent, the study still holds representative significance for the following reasons. Firstly, the study focuses on the programming course in a vocational school, where students share relatively homogeneous learning environments and challenges, allowing for in-depth insights into the effects of GAI-supported programming learning in this specific educational context. Secondly, the rigorous quasi-experimental design, comprehensive assessment of multiple dimensions, and the theoretical foundation of generative learning theory and SOI framework ensure the reliability and validity of the research findings within the scope of this study. Lastly, as an exploratory study, this research lays the foundation for subsequent larger-scale studies, providing valuable references and directions for further exploration of the applicability of GAI-supported programming learning in different educational settings.</p> <p>Future research should aim to expand the sample size and diversity, address gender balance issues, and conduct more comprehensive analyses across different subjects and educational levels to validate and broaden the applicability of the approach.</p> <hd id="AN0188424185-28">Implications</hd> <p>The findings of this study offer valuable insights for educators, educational institutions, and technology developers, highlighting the potential of Generative Artificial Intelligence (GAI) in enhancing programming education. For educators, the integration of GAI into programming courses can significantly enhance students' learning outcomes, motivation, self-efficacy, and 5C competencies. Educators can leverage GAI to provide personalized learning experiences, addressing the diverse needs of students with different learning styles. GAI's ability to offer real-time feedback and interactive assessments can help teachers monitor student progress more effectively and adjust their teaching strategies accordingly. Moreover, GAI can serve as a valuable tool for scaffolding students' learning, particularly for those who struggle with abstract programming concepts, by providing targeted explanations and examples.</p> <p>For educational institutions, incorporating GAI into curricula can foster a more inclusive and effective learning environment. By adopting GAI-supported learning approaches, institutions can better prepare students for the demands of the digital age, equipping them with essential 21st-century skills. Additionally, GAI can enhance the efficiency of instructional processes, allowing teachers to focus on more complex and personalized aspects of teaching while GAI handles routine tasks such as answering common questions and providing basic explanations. This can lead to more productive classroom interactions and improved learning outcomes across the board.</p> <p>For technology developers, the results underscore the importance of developing GAI tools that are specifically tailored for educational purposes. Technology developers should focus on creating GAI platforms that are user-friendly, reliable, and capable of providing high-quality educational content. These platforms should be designed to support various learning activities, from pre-class preparation to post-class consolidation, and should be adaptable to different educational contexts and student needs. Furthermore, developers should prioritize the ethical use of GAI in education, ensuring that their tools promote academic integrity and protect students' privacy.</p> <p>We acknowledge the support received from the National Natural Science Foundation of China (Grant No. 62077043).</p> <ref id="AN0188424185-29"> <title> Footnotes </title> <blist> <bibl id="bib1" idref="ref5" type="bt">1</bibl> <bibtext> Hao-Jun Li</bibtext> </blist> <blist> <bibtext>Graph https://orcid.org/0000-0003-0318-6528</bibtext> </blist> <blist> <bibl id="bib2" idref="ref53" type="bt">2</bibl> <bibtext> This study was approved by the Ethics Review Committee of the College of Education, Zhejiang University of Technology, Zhejiang Province, China.</bibtext> </blist> <blist> <bibl id="bib3" idref="ref16" type="bt">3</bibl> <bibtext> Written informed consent has been obtained from the participants and their guardians.</bibtext> </blist> <blist> <bibl id="bib4" idref="ref29" type="bt">4</bibl> <bibtext> The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Natural Science Foundation of China (Grant No. 62077043).</bibtext> </blist> <blist> <bibl id="bib5" idref="ref48" type="bt">5</bibl> <bibtext> The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.</bibtext> </blist> <blist> <bibl id="bib6" idref="ref68" type="bt">6</bibl> <bibtext> The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.</bibtext> </blist> <blist> <bibl id="bib7" idref="ref31" type="bt">7</bibl> <bibtext> Data Availability Statement included at the end of the article</bibtext> </blist> </ref> <ref id="AN0188424185-30"> <title> References </title> <blist> <bibtext> Ahmad N., Murugesan S., Kshetri N. (2023). Generative artificial intelligence and the education sector. Computer, 56(6), 72–76. https://doi.org/10.1109/mc.2023.3263576</bibtext> </blist> <blist> <bibtext> Aslan A. (2021). Problem- based learning in live online classes: Learning achievement, problem-solving skill, communication skill, and interaction. Computers & Education, 171, 104237. https://doi.org/10.1016/j.compedu.2021.104237 article number 104237.</bibtext> </blist> <blist> <bibtext> Baidoo-Anu D., Owusu Ansah L. (2023). Education in the era of generative artificial intelligence (AI): Understanding the potential benefits of ChatGPT in promoting teaching and learning. Journal of AI, 7(1), 52–62. https://doi.org/10.2139/ssrn.4337484</bibtext> </blist> <blist> <bibtext> Cain J., Malcom D. R., Aungst T. D. (2023). The role of artificial intelligence in the future of pharmacy education. American Journal of Pharmaceutical Education, 87(10), 100135. https://doi.org/10.1016/j.ajpe.2023.100135</bibtext> </blist> <blist> <bibtext> Cavanagh S. J., Hogan K., Ramgopal T. (1995). The assessment of student nurse learning styles using the Kolb Learning Styles Inventory. Nurse Education Today, 15(3), 177–183. https://doi.org/10.1016/S0260-6917(95)80103-0</bibtext> </blist> <blist> <bibtext> Chen J., Fan M. (2024). Divergent thinking and writing self-efficacy: A study of undergraduate students in Zhejiang Province. Pakistan Journal of Life & Social Sciences, 22(1), 279–296. https://doi.org/10.57239/pjlss-2024-22.1.0022</bibtext> </blist> <blist> <bibtext> Cooper G. (2023). Examining science education in ChatGPT: An exploratory study of generative artificial intelligence. Journal of Science Education and Technology, 32(3), 444–452. https://doi.org/10.1007/s10956-023-10039-y</bibtext> </blist> <blist> <bibl id="bib8" idref="ref60" type="bt">8</bibl> <bibtext> Dunlosky J., Rawson K. A., Marsh E. J., Nathan M. J., Willingham D. T. (2013). Improving students' learning with effective learning techniques: Promising directions from cognitive and educational psychology. Psychological Science in the Public Interest, 14(1), 4–58. https://doi.org/10.1177/1529100612453266</bibtext> </blist> <blist> <bibl id="bib9" idref="ref67" type="bt">9</bibl> <bibtext> Essel H. B., Vlachopoulos D., Essuman A. B., Amankwa J. O. (2024). ChatGPT effects on cognitive skills of undergraduate students: Receiving instant responses from AI-based conversational large language models (LLMs). Computers and Education: Artificial Intelligence, 6, 100198. https://doi.org/10.1016/j.caeai.2023.100198</bibtext> </blist> <blist> <bibtext> Farrokhnia M., Banihashem S. K., Noroozi O., Wals A. (2024). A SWOT analysis of ChatGPT: Implications for educational practice and research. Innovations in Education and Teaching International, 61, 460–474. https://doi.org/10.1080/14703297.2023.2195846</bibtext> </blist> <blist> <bibtext> Felder R. M., Silverman L. K. (1988). Learning and teaching styles in engineering education. Engineering Education, 78(7), 674–681. https://doi.org/10.1016/0307-4412(88)90075-1</bibtext> </blist> <blist> <bibtext> Fitzgerald S., Lewandowski G., McCauley R., Murphy L., Simon B., Thomas L., Zander C. (2008). Debugging: Finding, fixing and flailing, a multi-institutional study of novice debuggers. Computer Science Education, 18(2), 93–116. https://doi.org/10.1080/08993400802114508</bibtext> </blist> <blist> <bibtext> Grassini S. (2023). Shaping the future of education: exploring the potential and consequences of AI and ChatGPT in educational settings. Education Sciences, 13(7), 692. https://doi.org/10.3390/educsci13070692</bibtext> </blist> <blist> <bibtext> Honey P., Mumford A. (1986). The manual of learning styles. Peter Honey Publications. https://books.google.com/books?id=4TV-twAACAAJ</bibtext> </blist> <blist> <bibtext> Humphry T., Fuller A. L. (2023). Potential ChatGPT use in undergraduate chemistry laboratories. Journal of Chemical Education, 100(4), 1434–1436. https://doi.org/10.1021/acs.jchemed.3c00006</bibtext> </blist> <blist> <bibtext> Hwang G. J., Chen N. S. (2023). Editorial position paper: Exploring the potential of generative artificial intelligence in education: Applications, challenges, and future research directions. Educational Technology & Society, 26(2), 18. https://doi.org/10.30191/ETS.202304_26(2).0014</bibtext> </blist> <blist> <bibtext> Hwang G.-J., Yang L.-H., Wang S.-Y. (2013). A concept map-embedded educational computer game for improving students' learning performance in natural science courses. Computers & Education, 69, 121–130. https://doi.org/10.1016/j.compedu.2013.07.008</bibtext> </blist> <blist> <bibtext> Iku-Silan A., Hwang G.-J., Chen C.-H. (2023). Decision-guided chatbots and cognitive styles in interdisciplinary learning. Computers & Education, 201, 104812. https://doi.org/10.1016/j.compedu.2023.104812</bibtext> </blist> <blist> <bibtext> Jauhiainen J. S., Guerra A. G. (2023). Generative AI and ChatGPT in school children's education: Evidence from a school lesson. Sustainability, 15(18), 14025. https://doi.org/10.3390/su151814025</bibtext> </blist> <blist> <bibtext> Jeon J., Lee S. (2023). Large language models in education: A focus on the complementary relationship between human teachers and ChatGPT. Education and Information Technologies, 28(12), 15873–15892. https://doi.org/10.1007/s10639-023-11834-1</bibtext> </blist> <blist> <bibtext> Kasneci E., Sessler K., Küchemann S., Bannert M., Dementieva D., Fischer F., Gasser U., Groh G., Günnemann S., Hüllermeier E., Krusche S., Kutyniok G., Michaeli T., Nerdel C., Pfeffer J., Poquet O., Sailer M., Schmidt A., Seidel T., ... Kasneci G. (2023). ChatGPT for good? On opportunities and challenges of large language models for education. Learning and Individual Differences, 103, 102274. https://doi.org/10.1016/j.lindif.2023.102274</bibtext> </blist> <blist> <bibtext> Kolb A. Y., Kolb D. A. (2005). Learning styles and learning spaces: Enhancing experiential learning in higher education. Academy of Management Learning and Education, 4(2), 193–212. https://doi.org/10.5465/amle.2005.17268566</bibtext> </blist> <blist> <bibtext> Kolb D. A. (1984). Experiential learning: Experience as the source of learning and development. Prentice-Hall. https://books.google.com/books?id=ufnuAAAAMAAJ</bibtext> </blist> <blist> <bibtext> Kolb D. A., Kolb A. Y. (2013). The Kolb learning style inventory 4.0: Guide to theory, psychometrics, research and application. https://learningfromexperience.com/research-library/the-kolb-learning-style-inventory-4-0/.</bibtext> </blist> <blist> <bibtext> Kroustalli C., Xinogalos S. (2021). Studying the effects of teaching programming to lower secondary school students with a serious game: A case study with Python and CodeCombat. Education and Information Technologies, 26, 6069–6095. https://doi.org/10.1007/s10639-021-10596-y</bibtext> </blist> <blist> <bibtext> Lai C. L., Hwang G. J. (2014a). Effects of mobile learning participation time on high school students' 21st century core competences [Conference session]. 2014 International Conference of Educational Innovation Through Technology, Brisbane, Australia. https://doi.org/10.1109/eitt.2014.40</bibtext> </blist> <blist> <bibtext> Lai C. L., Hwang G. J. (2014b). Effects of mobile learning time on students' conception of collaboration, communication, complex problem-solving, meta-cognitive awareness and creativity. International Journal of Mobile Learning and Organisation, 8(3–4), 276–291. https://doi.org/10.1504/ijmlo.2014.067029</bibtext> </blist> <blist> <bibtext> Lee H. (2024). The rise of ChatGPT: Exploring its potential in medical education. Anatomical Sciences Education, 17, 926–931. https://doi.org/10.1002/ase.2270</bibtext> </blist> <blist> <bibtext> Li H., Majumdar R., Chen M.-R. A., Ogata H. (2021). Goal-oriented active learning (GOAL) system to promote reading engagement, self-directed learning behavior, and motivation in extensive reading. Computers & Education, 171, 104239. https://doi.org/10.1016/j.compedu.2021.104239</bibtext> </blist> <blist> <bibtext> Li M., Chen Y.-T., Huang C.-Q., Hwang G.-J., Cukurova M. (2023). From motivational experience to creative writing: A motivational AR-based learning approach to promoting Chinese writing performance and positive writing behaviours. Computers & Education, 202, 104844. https://doi.org/10.1016/j.compedu.2023.104844</bibtext> </blist> <blist> <bibtext> Lin Y.-N., Hsia L.-H., Hwang G.-J. (2021). Promoting pre-class guidance and in-class reflection: A SQIRC-based mobile flipped learning approach to promoting students' billiards skills, strategies, motivation and self-efficacy. Computers & Education, 160, 104035. https://doi.org/10.1016/j.compedu.2020.104035</bibtext> </blist> <blist> <bibtext> McCrudden M. T., Rapp D. N. (2017). How visual displays affect cognitive processing. Educational Psychology Review, 29, 623–639. https://doi.org/10.1007/s10648-015-9342-2</bibtext> </blist> <blist> <bibtext> Megahed F. M., Chen Y.-J., Ferris J. A., Knoth S., Jones-Farmer L. A. (2024). How generative AI models such as ChatGPT can be (mis)used in SPC practice, education, and research? An exploratory study. Quality Engineering, 36(2), 287–315. https://doi.org/10.1080/08982112.2023.2206479</bibtext> </blist> <blist> <bibtext> Moser S., Zumbach J. (2018). Exploring the development and impact of learning styles: An empirical investigation based on explicit and implicit measures. Computers & Education, 125, 146–157. https://doi.org/10.1016/j.compedu.2018.05.003</bibtext> </blist> <blist> <bibtext> Murugesan S., Cherukuri A. K. (2023). The rise of generative artificial intelligence and its impact on education: The promises and perils. Computer, 56(5), 116–121. https://doi.org/10.1109/mc.2023.3253292</bibtext> </blist> <blist> <bibtext> Nouri J., Zhang L., Mannila L., Norén E. (2020). Development of computational thinking, digital competence and 21 st century skills when learning programming in K-9. Education Inquiry, 11(1), 1–17. https://doi.org/10.1080/20004508.2019.1627844</bibtext> </blist> <blist> <bibtext> Park B., Flowerday T., Brünken R. (2015). Cognitive and affective effects of seductive details in multimedia learning. Computers in Human Behavior, 44, 267–278. https://doi.org/10.1016/j.chb.2014.10.061</bibtext> </blist> <blist> <bibtext> Parse R. R. (2023). Artificial intelligence: Challenges for education and research. Nursing Science Quarterly, 36(3), 213–214. https://doi.org/10.1177/08943184231172610</bibtext> </blist> <blist> <bibtext> Pashler H., McDaniel M., Rohrer D., Bjork R. (2008). Learning styles: Concepts and evidence. Psychological Science in the Public Interest, 9(3), 105–119. https://doi.org/10.1111/j.1539-6053.2009.01038.x</bibtext> </blist> <blist> <bibtext> Perera P., Tennakoon G., Ahangama S., Panditharathna R., Chathuranga B. (2021). A systematic review of introductory programming languages for novice learners. IEEE Access. https://doi.org/10.1109/ACCESS.2021.3089560</bibtext> </blist> <blist> <bibtext> Phung T., Pădurean V. A., Cambronero J., Gulwani S., Kohn T., Majumdar R., Soares G. (2023). Generative AI for programming education: Benchmarking chatgpt, GPT-4, and human tutors [Conference session]. Proceedings of the 2023 ACM Conference on International Computing Education Research. https://doi.org/10.1145/3568812.3603476</bibtext> </blist> <blist> <bibtext> Pintrich P. R. (1991). A manual for the use of the motivated strategies for learning questionnaire (MSLQ). The University of Michigan.</bibtext> </blist> <blist> <bibtext> Polverini G., Gregorcic B. (2024). How understanding large language models can inform the use of ChatGPT in physics education. European Journal of Physics, 45(2), 025701. https://doi.org/10.1088/1361-6404/ad1420</bibtext> </blist> <blist> <bibtext> Popat S., Starkey L. (2019). Learning to code or coding to learn? A systematic review. Computers & Education, 128, 365–376. https://doi.org/10.1016/j.compedu.2018.10.005</bibtext> </blist> <blist> <bibtext> Rahman M. M., Watanobe Y. (2023). ChatGPT for education and research: Opportunities, threats, and strategies. Applied Sciences, 13(9), 5783. https://doi.org/10.3390/app13095783 article number 5783.</bibtext> </blist> <blist> <bibtext> Reid J. M. (1987). The learning style preferences of ESL students. TESOL Quarterly, 21(1), 87–111. https://doi.org/10.2307/3586356</bibtext> </blist> <blist> <bibtext> Robins A. V. (2019). Novice programmers and introductory programming. In Fincher S. A., Robins A. V. (Eds.), The Cambridge handbook of computing education research (pp. 327–376). Cambridge University Press. https://<ulink href="http://www.otago.ac.nz/computer-science/otago706761.pdf">www.otago.ac.nz/computer-science/otago706761.pdf</ulink></bibtext> </blist> <blist> <bibtext> Rovshenov A., Sarsar F. (2023). Research trends in programming education: A systematic review of the articles published between 2012-2020. Journal of Educational Technology and Online Learning, 6(1), 48–81. https://doi.org/10.31681/jetol.1201010</bibtext> </blist> <blist> <bibtext> Sanchez C. A., Wiley J. (2006). An examination of the seductive details effect in terms of working memory capacity. Memory & Cognition, 34, 344–355. https://doi.org/10.3758/BF03193412</bibtext> </blist> <blist> <bibtext> Sánchez-Ruiz L. M., Moll-López S., Nuñez-Pérez A., Moraño-Fernández J. A., Vega-Fleitas E. (2023). ChatGPT challenges blended learning methodologies in engineering education: A case study in mathematics. Applied Sciences, 13(10), 6039. https://doi.org/10.3390/app13106039</bibtext> </blist> <blist> <bibtext> Saurini E. (2023). Creativity in art and academia: Analyzing the effects of AI technology through the lens of ChatGPT. Regis University Student Publications (comprehensive collection). 1102. https://epublications.regis.edu/theses/1102</bibtext> </blist> <blist> <bibtext> Shanto S. S., Ahmed Z., Jony A. I. (2024). Enriching learning process with generative AI: A proposed framework to cultivate critical thinking in higher education using Chat GPT. Tuijin Jishu/Journal of Propulsion Technology, 45(1), 3019–3029. https://doi.org/10.52783/tjjpt.v45.i01.4680</bibtext> </blist> <blist> <bibtext> Soflano M., Connolly T. M., Hainey T. (2015). Learning style analysis in adaptive GBL application to teach SQL. Computers & Education, 86, 105–119. https://doi.org/10.1016/j.compedu.2015.02.009</bibtext> </blist> <blist> <bibtext> Van Waes L., van Weijen D., Leijten M. (2014). Learning to write in an online writing center: The effect of learning styles on the writing process. Computers & Education, 73, 60–71. https://doi.org/10.1016/j.compedu.2013.12.009</bibtext> </blist> <blist> <bibtext> Vukojičić M., Krstić J. (2023). ChatGPT in programming education: ChatGPT as a programming assistant. InspirED Teachers' Voice, 2023(1), 7–13. https://<ulink href="http://www.teachers-voice.org/index.php/inspired/article/view/10">www.teachers-voice.org/index.php/inspired/article/view/10</ulink></bibtext> </blist> <blist> <bibtext> Wang Y., Hill K. J., Foley E. C. (2017). Computer programming with Python for industrial and systems engineers: Perspectives from an instructor and students. Computer Applications in Engineering Education, 25(5), 800–811. https://doi.org/10.1002/cae.21837</bibtext> </blist> <blist> <bibtext> Whalley J., Kasto N. (2014, June). A qualitative think-aloud study of novice programmers' code writing strategies [Conference session]. Proceedings of the 2014 Conference on Innovation & Technology in Computer Science Education. https://doi.org/10.1145/2591708.2591762</bibtext> </blist> <blist> <bibtext> Wieser M., Schöffmann K., Stefanics D., Bollin A., Pasterk S. (2023). Investigating the role of ChatGPT in supporting text-based programming education for students and Teachers. In Pellet J. P., Parriaux G. (Eds.), Informatics in schools. Beyond bits and bytes: Nurturing informatics intelligence in education (pp. 40–53). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-44900-0_4</bibtext> </blist> <blist> <bibtext> Wu T., He S., Liu J., Sun S., Liu K., Han Q.-L., Tang Y. (2023). A brief overview of ChatGPT: The history, status quo and potential future development. IEEE/CAA Journal of Automatica Sinica, 10(5), 1122–1136. https://doi.org/10.1109/jas.2023.123618</bibtext> </blist> <blist> <bibtext> Wu T.-T., Lee H.-Y., Li P.-H., Huang C.-N., Huang Y.-M. (2024). Promoting self-regulation progress and knowledge construction in blended learning via ChatGPT-based learning aid. Journal of Educational Computing Research, 61(8), 1539–1567. https://doi.org/10.1177/07356331231191125</bibtext> </blist> <blist> <bibtext> Yan D. (2023). Impact of ChatGPT on learners in a L2 writing practicum: An exploratory investigation. Education and Information Technologies, 28(11), 13943–13967. https://doi.org/10.1007/s10639-023-11742-4</bibtext> </blist> <blist> <bibtext> Yilmaz R., Karaoglan Yilmaz F. G. (2022a). Investigation of student views on data privacy and ethical use of data in smart learning environments [Conference session]. International IStanbul Scientific Research Congress. <ulink href="http://hdl.handle.net/11772/6931">http://hdl.handle.net/11772/6931</ulink></bibtext> </blist> <blist> <bibtext> Yilmaz R., Karaoglan Yilmaz F. G. (2022b). Investigation of students' self-regulation skills, motivation and disorientation in smart mooc [Conference session]. International Azerbaijan Congress on Life, Social, Health, and Art Sciences. <ulink href="http://hdl.handle.net/11772/6932">http://hdl.handle.net/11772/6932</ulink></bibtext> </blist> <blist> <bibtext> Yilmaz R., Karaoglan Yilmaz F. G. (2023). The effect of generative artificial intelligence (AI)-based tool use on students' computational thinking skills, programming self-efficacy and motivation. Computers and Education: Artificial Intelligence, 4, 100147. https://doi.org/10.1016/j.caeai.2023.100147</bibtext> </blist> </ref> <aug> <p>By Hao-Jun Li; Qin-Ru Huang; Li-Peng Wen; Wei Chen and Zhuo-Zhuo Xu</p> <p>Reported by Author; Author; Author; Author; Author</p> </aug> <nolink nlid="nl1" bibid="bib36" firstref="ref1"></nolink> <nolink nlid="nl2" bibid="bib47" firstref="ref2"></nolink> <nolink nlid="nl3" bibid="bib20" firstref="ref3"></nolink> <nolink nlid="nl4" bibid="bib59" firstref="ref4"></nolink> <nolink nlid="nl5" bibid="bib41" firstref="ref6"></nolink> <nolink nlid="nl6" bibid="bib16" firstref="ref7"></nolink> <nolink nlid="nl7" bibid="bib52" firstref="ref8"></nolink> <nolink nlid="nl8" bibid="bib40" firstref="ref9"></nolink> <nolink nlid="nl9" bibid="bib44" firstref="ref10"></nolink> <nolink nlid="nl10" bibid="bib56" firstref="ref11"></nolink> <nolink nlid="nl11" bibid="bib25" firstref="ref12"></nolink> <nolink nlid="nl12" bibid="bib57" firstref="ref13"></nolink> <nolink nlid="nl13" bibid="bib12" firstref="ref14"></nolink> <nolink nlid="nl14" bibid="bib48" firstref="ref15"></nolink> <nolink nlid="nl15" bibid="bib10" firstref="ref17"></nolink> <nolink nlid="nl16" bibid="bib45" firstref="ref18"></nolink> <nolink nlid="nl17" bibid="bib13" firstref="ref19"></nolink> <nolink nlid="nl18" bibid="bib43" firstref="ref20"></nolink> <nolink nlid="nl19" bibid="bib35" firstref="ref22"></nolink> <nolink nlid="nl20" bibid="bib38" firstref="ref23"></nolink> <nolink nlid="nl21" bibid="bib62" firstref="ref24"></nolink> <nolink nlid="nl22" bibid="bib63" firstref="ref25"></nolink> <nolink nlid="nl23" bibid="bib21" firstref="ref26"></nolink> <nolink nlid="nl24" bibid="bib33" firstref="ref27"></nolink> <nolink nlid="nl25" bibid="bib15" firstref="ref30"></nolink> <nolink nlid="nl26" bibid="bib28" firstref="ref32"></nolink> <nolink nlid="nl27" bibid="bib61" firstref="ref33"></nolink> <nolink nlid="nl28" bibid="bib50" firstref="ref34"></nolink> <nolink nlid="nl29" bibid="bib51" firstref="ref35"></nolink> <nolink nlid="nl30" bibid="bib55" firstref="ref36"></nolink> <nolink nlid="nl31" bibid="bib58" firstref="ref37"></nolink> <nolink nlid="nl32" bibid="bib39" firstref="ref38"></nolink> <nolink nlid="nl33" bibid="bib34" firstref="ref39"></nolink> <nolink nlid="nl34" bibid="bib53" firstref="ref40"></nolink> <nolink nlid="nl35" bibid="bib54" firstref="ref41"></nolink> <nolink nlid="nl36" bibid="bib14" firstref="ref43"></nolink> <nolink nlid="nl37" bibid="bib46" firstref="ref44"></nolink> <nolink nlid="nl38" bibid="bib11" firstref="ref45"></nolink> <nolink nlid="nl39" bibid="bib23" firstref="ref46"></nolink> <nolink nlid="nl40" bibid="bib24" firstref="ref47"></nolink> <nolink nlid="nl41" bibid="bib18" firstref="ref49"></nolink> <nolink nlid="nl42" bibid="bib29" firstref="ref50"></nolink> <nolink nlid="nl43" bibid="bib31" firstref="ref51"></nolink> <nolink nlid="nl44" bibid="bib60" firstref="ref52"></nolink> <nolink nlid="nl45" bibid="bib30" firstref="ref54"></nolink> <nolink nlid="nl46" bibid="bib19" firstref="ref55"></nolink> <nolink nlid="nl47" bibid="bib26" firstref="ref56"></nolink> <nolink nlid="nl48" bibid="bib32" firstref="ref57"></nolink> <nolink nlid="nl49" bibid="bib37" firstref="ref58"></nolink> <nolink nlid="nl50" bibid="bib49" firstref="ref59"></nolink> <nolink nlid="nl51" bibid="bib17" firstref="ref61"></nolink> <nolink nlid="nl52" bibid="bib42" firstref="ref62"></nolink> <nolink nlid="nl53" bibid="bib27" firstref="ref63"></nolink> <nolink nlid="nl54" bibid="bib22" firstref="ref64"></nolink> <nolink nlid="nl55" bibid="bib64" firstref="ref66"></nolink>
Header DbId: eric
DbLabel: ERIC
An: EJ1487196
AccessLevel: 3
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 0
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Generative Artificial Intelligence Supported Programming Learning: Learning Effectiveness and Core Competence
– Name: Language
  Label: Language
  Group: Lang
  Data: English
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Hao-Jun+Li%22">Hao-Jun Li</searchLink> (ORCID <externalLink term="https://orcid.org/0000-0003-0318-6528">0000-0003-0318-6528</externalLink>)<br /><searchLink fieldCode="AR" term="%22Qin-Ru+Huang%22">Qin-Ru Huang</searchLink><br /><searchLink fieldCode="AR" term="%22Li-Peng+Wen%22">Li-Peng Wen</searchLink><br /><searchLink fieldCode="AR" term="%22Wei+Chen%22">Wei Chen</searchLink><br /><searchLink fieldCode="AR" term="%22Zhuo-Zhuo+Xu%22">Zhuo-Zhuo Xu</searchLink>
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <searchLink fieldCode="SO" term="%22SAGE+Open%22"><i>SAGE Open</i></searchLink>. 2025 15(3).
– Name: Avail
  Label: Availability
  Group: Avail
  Data: SAGE Publications. 2455 Teller Road, Thousand Oaks, CA 91320. Tel: 800-818-7243; Tel: 805-499-9774; Fax: 800-583-2665; e-mail: journals@sagepub.com; Web site: https://sagepub.com
– Name: PeerReviewed
  Label: Peer Reviewed
  Group: SrcInfo
  Data: Y
– Name: Pages
  Label: Page Count
  Group: Src
  Data: 20
– Name: DatePubCY
  Label: Publication Date
  Group: Date
  Data: 2025
– Name: TypeDocument
  Label: Document Type
  Group: TypDoc
  Data: Journal Articles<br />Reports - Research
– Name: Audience
  Label: Education Level
  Group: Audnce
  Data: <searchLink fieldCode="EL" term="%22Secondary+Education%22">Secondary Education</searchLink>
– Name: Subject
  Label: Descriptors
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Artificial+Intelligence%22">Artificial Intelligence</searchLink><br /><searchLink fieldCode="DE" term="%22Programming%22">Programming</searchLink><br /><searchLink fieldCode="DE" term="%22Technology+Uses+in+Education%22">Technology Uses in Education</searchLink><br /><searchLink fieldCode="DE" term="%22Instructional+Effectiveness%22">Instructional Effectiveness</searchLink><br /><searchLink fieldCode="DE" term="%22Academic+Achievement%22">Academic Achievement</searchLink><br /><searchLink fieldCode="DE" term="%22Student+Motivation%22">Student Motivation</searchLink><br /><searchLink fieldCode="DE" term="%22Self+Efficacy%22">Self Efficacy</searchLink><br /><searchLink fieldCode="DE" term="%22Cognitive+Style%22">Cognitive Style</searchLink><br /><searchLink fieldCode="DE" term="%22Creativity%22">Creativity</searchLink><br /><searchLink fieldCode="DE" term="%22Foreign+Countries%22">Foreign Countries</searchLink><br /><searchLink fieldCode="DE" term="%2221st+Century+Skills%22">21st Century Skills</searchLink><br /><searchLink fieldCode="DE" term="%22Career+and+Technical+Education%22">Career and Technical Education</searchLink><br /><searchLink fieldCode="DE" term="%22Secondary+School+Students%22">Secondary School Students</searchLink>
– Name: Subject
  Label: Geographic Terms
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22China%22">China</searchLink>
– Name: DOI
  Label: DOI
  Group: ID
  Data: 10.1177/21582440251377986
– Name: ISSN
  Label: ISSN
  Group: ISSN
  Data: 2158-2440
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: The programming curriculum is crucial in today's digital age, but a common issue is its focus on technical training while neglecting essential skills enhancement. Teachers lack structured and practical guidance on instructional methods, and the wide range of students' foundational abilities makes it difficult to cater to personalized learning needs. The advent of Generative Artificial Intelligence (GAI) technology has brought significant changes to education, with its personalized dialogue features offering effective technical support to address these challenges in programming education. This study develops a GAI-supported programming learning approach, applied in a programming course at a vocational school in China, to investigate the effects of various learning approaches on students' learning outcomes, motivation, self-efficacy, and 5C competencies among different learning styles. The study involved 46 learners in the experimental group using GAI-assisted learning and 46 in the control group using traditional methods. Results showed that the experimental group significantly outperformed the control group in learning outcomes, motivation, self-efficacy, and 5C competencies. Moreover, students with a diverging learning style in the experimental group showed notably higher motivation than others. Additionally, creativity levels among students with diverging and assimilating learning styles in the experimental group were substantially greater than those in the control group.
– Name: AbstractInfo
  Label: Abstractor
  Group: Ab
  Data: As Provided
– Name: DateEntry
  Label: Entry Date
  Group: Date
  Data: 2025
– Name: AN
  Label: Accession Number
  Group: ID
  Data: EJ1487196
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=eric&AN=EJ1487196
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1177/21582440251377986
    Languages:
      – Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 20
    Subjects:
      – SubjectFull: Artificial Intelligence
        Type: general
      – SubjectFull: Programming
        Type: general
      – SubjectFull: Technology Uses in Education
        Type: general
      – SubjectFull: Instructional Effectiveness
        Type: general
      – SubjectFull: Academic Achievement
        Type: general
      – SubjectFull: Student Motivation
        Type: general
      – SubjectFull: Self Efficacy
        Type: general
      – SubjectFull: Cognitive Style
        Type: general
      – SubjectFull: Creativity
        Type: general
      – SubjectFull: Foreign Countries
        Type: general
      – SubjectFull: 21st Century Skills
        Type: general
      – SubjectFull: Career and Technical Education
        Type: general
      – SubjectFull: Secondary School Students
        Type: general
      – SubjectFull: China
        Type: general
    Titles:
      – TitleFull: Generative Artificial Intelligence Supported Programming Learning: Learning Effectiveness and Core Competence
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Hao-Jun Li
      – PersonEntity:
          Name:
            NameFull: Qin-Ru Huang
      – PersonEntity:
          Name:
            NameFull: Li-Peng Wen
      – PersonEntity:
          Name:
            NameFull: Wei Chen
      – PersonEntity:
          Name:
            NameFull: Zhuo-Zhuo Xu
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 07
              Type: published
              Y: 2025
          Identifiers:
            – Type: issn-electronic
              Value: 2158-2440
          Numbering:
            – Type: volume
              Value: 15
            – Type: issue
              Value: 3
          Titles:
            – TitleFull: SAGE Open
              Type: main
ResultId 1