A Effectiveness of AI-Assisted C++ Programming Instruction in Primary Education: A Learning Analytics Approach
การศึกษาประสิทธิผลของการจัดการเรียนรู้การเขียนโปรแกรม C++ โดยใช้ปัญญาประดิษฐ์ช่วยในระดับประถมศึกษา: แนวทางการวิเคราะห์การเรียนรู้
Keywords:
Programming Education, Learning Analytics, AI-Assisted Learning, Computational Thinking, Primary EducationAbstract
The purpose of this study was to examine the effectiveness of an AI-assisted and teacher-guided instructional model on primary school students’ C++ programming achievement and to analyze the relationship between learning behaviors and academic outcomes. The sample consisted of 78 fifth-grade students from Hanlin Experimental School, divided into an experimental group (n=39) and a control group (n=39). The research instruments included an achievement test and a learning analytics system. Data were analyzed using mean, standard deviation, independent samples t-test, and Pearson’s correlation coefficient.
The results revealed that the experimental group had significantly higher post-test scores(M = 61.38, SD = 5.66) than the control group (M = 53.41, SD = 7.24) with a large effect size (d=1.23). Additionally, submission accuracy showed a significant positive correlation with learning achievement (r = .339, p < .05) whereas practice volume showed no significant correlation (r= .034, p > .05)
The findings suggest that effective programming achievement depends more on the quality of engagement than the quantity of practice. For educators, this highlights the practical implication of prioritizing process-oriented pedagogical strategies and guided debugging over mere quantity-based repetition. Furthermore, this study contributes to AI-assisted education research by demonstrating that integrating AI scaffolding with teacher guidance effectively mitigates cognitive load and fosters computational thinking in novice programmers.
References
OECD. PISA 2022 assessment and analytical framework. Paris: OECD Publishing; 2023 Aug 31. doi: 10.1787/dfe0bf9c-en
Heintz F, Mannila L, Färnqvist T. A review of models for introducing computational thinking, computer science and computing in K-12 education. In: 2016 IEEE Frontiers in Education Conference (FIE); 2016 Oct 12-15; Erie, PA, USA. IEEE; 2016. p. 1-9. doi: 10.1109/FIE.2016.7757410.
State Council of the People’s Republic of China. New generation artificial intelligence development plan (State Council Document No. 35). Beijing: State Council; 2017.
Ministry of Education Information science and technology curriculum standards for compulsory education (2022 edition). Beijing: Beijing Normal University Publishing Group; 2022.
Swidan A, Hermans F, Smit M. Programming with scratch or python? The effect of programming environments on novice programmers’ cognitive load. In: 2018 IEEE/ACM 40th International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET); 2018 May 27-Jun 3; Gothenburg, Sweden. IEEE; 2018. p. 57–66. doi: 10.1145/3183377.3183393
Grover S, Pea R. Computational thinking in K–12: A review of the state of the field. Educ Res. 2013;42(1):38–43. doi: 10.3102/ 0013189X12463051
Ou Y. Investigation and analysis of the current situation of programming education in primary and secondary schools. Heliyon. 2023;9(4):e15530. doi: 10.1016/j.heliyon.2023.e15530
Kong S-C, Wang YQ. Dynamic interplays between self-regulated learning and computational thinking in primary school students through animations and worksheets. Comput Educ. 2024;219: Article 105096. doi: 10.1016/j.compedu.2024.105126
Qiu F, Zhang G, Sheng X, Jiang L, Zhu L, Xiang Q, et al. Predicting students’ performance in e-learning using learning process and behaviour data. Sci Rep. 2022;12(1): Article 453. doi: 10.1038/s41598-021-03867-8
Hwang G-J, Xie H, Wah BW, Gašević D. Vision, challenges, roles and research issues of artificial intelligence in education. Comput Educ: Artif Intell. 2020;1: Article 100001. doi: 10.1016/j.caeai.2020.100001
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Animation Game Digital Media and Technology Journal

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.