The effect of artificial intelligence-assisted guidance in block-based coding instruction on students' academic achievement, attitudes, and motivation
Yavuz Akbulut 1, Gürkan Yıldırım 2 *
More Detail
1 Ministry of National Education, Erzurum, Türkiye
2 Ataturk University, Kazım Karabekir Education Faculty, Department of Educational Science, Erzurum, Türkiye
* Corresponding Author

Abstract

This study examined the effects of artificial intelligence (AI)-assisted guidance in block-based coding instruction on students’ academic achievement, generative AI use and proficiency, attitudes toward AI and coding, and motivation toward block-based programming. An explanatory sequential mixed-methods design integrated a pretest–posttest control group quasi-experiment with a qualitative phase. Participants were 57 fifth- and sixth-grade students attending Block-Based Programming Non-Formal Education Courses during the 2025–2026 academic year. Existing course groups were retained and selected through convenience sampling, with 28 students in the experimental group and 29 in the control group. Regular attendance and parental consent were inclusion criteria. Over eight weeks, the experimental group received AI-assisted guidance, while the control group studied the same content without AI support. Quantitative data were collected using an achievement test and scales measuring the study variables. Qualitative data were obtained through semi-structured interviews with 10 purposively selected experimental-group students. Quantitative data underwent statistical analysis, and interview data underwent content analysis. Findings were integrated using a joint display table. Given the use of pre-existing class groups, the findings should be interpreted as preliminary evidence rather than definitive causal effects. Students receiving AI-assisted guidance demonstrated higher gains in academic achievement and motivation than students receiving instruction without AI support. No significant between-group differences emerged for the other variables. Students generally evaluated the guidance positively, reporting that hints encouraged thinking, supported task completion, and facilitated understanding of coding concepts. However, some students experienced difficulty interpreting the hints. The findings provide preliminary evidence suggesting that AI-assisted guidance may support academic achievement and motivation in block-based coding instruction. Implementations should consider students’ needs in understanding and interpreting hints.  

Keywords

References

  • Akıncı, B. (2025). Enhancing foreign language learning through gamification using an advanced language model (Publication No. 952482) [Master’s thesis, Necmettin Erbakan University]. Council of Higher Education Thesis Center.
  • Akkuş, İ., Özhan, U., & Kan, A. (2019). Attitude scale towards coding for secondary school students: avalidity and reliability study. Elementary Education Online, 18(2), 837–851. https://doi.org/10.17051/ilkonline.2019.562064
  • Arslan, K., & Akçelik, M. (2019). Using Scratch in programming language: Teacher candidates’ attitudes and perceptions. National Journal of Education Academy, 3(1), 41-61. https://doi.org/10.32960/uead.455502
  • Arslankara, V. B., & Usta, E. (2024). Generative artificial intelligence as a lifelong learning self efficacy: Usage and competence scale. Journal of Teacher Education and Lifelong Learning, 6(2), 288-302. https://doi.org/10.51535/tell.1489304
  • Bandura, A. (1997). Self-efficacy: The exercise of control. Freeman.
  • Bilgen - Bucak, Z., & İslim, Ö. F. (2026). Investigation of the academic achievement, spatial ıntelligence levels, and opinions of middle school students using two-dimensional and three-dimensional block-based coding applications. Mersin University Journal of the Faculty of Education, 22(1), 126-141. https://doi.org/10.17860/mersinefd.1851141
  • Bloom, B. S. (1984). The 2 sigma problem: The search for methods of group instruction as effective as one-to-one tutoring. Educational Researcher, 13(6), 4–16. https://doi.org/10.3102/0013189X013006004
  • Brennan, K., & Resnick, M. (2012, April). New frameworks for studying and assessing the development of computational thinking [Paper presentation]. American Educational Research Association Annual Meeting, Vancouver, BC, Canada.
  • Calp, R., Mukba, G., & Şata, M. (2025). Preservice teachers' attitudes toward artificial intelligence: A scale development study. Journal of University Research, 8(4), 608–621. https://doi.org/10.32329/uad.1740270
  • Campbell, D. T., & Stanley, J. C. (1963). Experimental and quasi-experimental designs for research. Rand McNally.
  • Çilengir, M. D., & İzmirli, S. (2023). The impact of using gamification approach in block-based programming instruction on achievement and motivation. International Journal of Computers in Education, 6(2), 79–103. https://doi.org/10.5281/zenodo.10447397
  • Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2. baskı.). Lawrence Erlbaum.
  • Cohen, L., Manion, L., & Morrison, K. (2018). Research methods in education (8th ed.). Routledge.
  • Creswell, J. W. (2012). Educational research: Planning, conducting, and evaluating quantitative and qualitative research (4. baskı.). Pearson.
  • Creswell, J. W., & Plano Clark, V. L. (2018). Designing and conducting mixed methods research (3rd ed.). SAGE Publications.
  • Deci, E. L., & Ryan, R. M. (1985). Intrinsic motivation and self-determination in human behavior. Plenum.
  • DeVellis, R. F. (2017). Scale development: Theory and applications (4th ed.). Sage.
  • Faul, F., Erdfelder, E., Lang, A. G., & Buchner, A. (2007). G*Power 3: A flexible statistical power analysis program for the social, behavioral, and biomedical sciences. Behavior Research Methods, 39(2), 175–191. https://doi.org/10.3758/BF03193146
  • Field, A. (2018). Discovering statistics using IBM SPSS statistics (5th ed.). SAGE.
  • Fraenkel, J. R., & Wallen, N. E. (2009). How to design and evaluate research in education (7th ed.). McGraw-Hill.
  • George, D., & Mallery, P. (2003). SPSS for Windows step by step: A simple guide and reference (4th ed.). Allyn & Bacon.
  • Graneheim, U. H., & Lundman, B. (2004). Qualitative content analysis in nursing research: Concepts, procedures and measures to achieve trustworthiness. Nurse Education Today, 24(2), 105–112. https://doi.org/10.1016/j.nedt.2003.10.001
  • Grover, S., & Pea, R. (2013). Computational thinking in K-12: A review of the state of the field. Educational Researcher, 42(1), 38–43. https://doi.org/10.3102/0013189X12463051
  • Gücük, G. (2022). Perception of English language learners and teachers towards the use of artificial intelligence in the language classroom (Publication No. 752184) [Master’s thesis, İstanbul Aydın University]. Council of Higher Education Thesis Center.
  • Gülaçar, M. Ş. (2025). The relationship between ChatGPT use in L2 writing and L2 writing self-efficacy, motivation, and enjoyment (Publication No. 951952) [Master’s thesis, Atatürk University]. Council of Higher Education Thesis Center.
  • Hair, J. F., Black, W. C., Babin, B. J., & Anderson, R. E. (2019). Multivariate data analysis (8th ed.). Cengage Learning.
  • Hake, R. R. (1998). Interactive-engagement versus traditional methods: A six-thousand-student survey of mechanics test data for introductory physics courses. American Journal of Physics, 66(1), 64–74. https://doi.org/10.1119/1.18809
  • Holmes, W., Bialik, M., & Fadel, C. (2019). Artificial intelligence in education: Promises and implications for teaching and learning. Center for Curriculum Redesign.
  • Kasneci, E., Seßler, 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, Article 102274. https://doi.org/10.1016/j.lindif.2023.102274
  • Kazemitabaar, M., Chow, J., Ma, C. K. T., Ericson, B. J., Weintrop, D., & Grossman, T. (2023). Studying the effect of AI code generators on supporting novice learners in introductory programming. In Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems (Article 455, pp. 1–23). Association for Computing Machinery. https://doi.org/10.1145/3544548.3580919
  • Kirk, R. E. (1996). Practical significance: A concept whose time has come. Educational and Psychological Measurement, 56(5), 746–759. https://doi.org/10.1177/0013164496056005002
  • Kosar, T., Ostojić, D., Liu, Y. D., & Mernik, M. (2024). Computer science education in ChatGPT era: Experiences from an experiment in a programming course for novice programmers. Mathematics, 12(5), 629. https://doi.org/10.3390/math12050629
  • Lakens, D. (2013). Calculating and reporting effect sizes to facilitate cumulative science: A practical primer for t-tests and ANOVAs. Frontiers in Psychology, 4, 863. https://doi.org/10.3389/fpsyg.2013.00863
  • Lee, D., & Kwon, H. (2024). Meta-analysis on effects of artificial intelligence education in K-12 South Korean classrooms. Education and Information Technologies, 29(17), 22859–22894. https://doi.org/10.1007/s10639-024-12738-4
  • Lee, H.-Y., Chen, P.-H., Wang, W.-S., Huang, Y.-M., & Wu, T.-T. (2024). Empowering ChatGPT with guidance mechanism in blended learning: Effect of self-regulated learning, higher-order thinking skills, and knowledge construction. International Journal of Educational Technology in Higher Education, 21(1), 16. https://doi.org/10.1186/s41239-024-00447-4
  • Liao, J., Zhong, L., Zhe, L., Xu, H., Liu, M., & Xie, T. (2024). Scaffolding computational thinking with ChatGPT. IEEE Transactions on Learning Technologies, 17, 1628–1642. https://doi.org/10.1109/TLT.2024.3392896
  • Liu, X., Guo, B., He, W., & Hu, X. (2025). Effects of generative artificial intelligence on K-12 and higher education students’ learning outcomes: A meta-analysis. Journal of Educational Computing Research, 63(5), 1249–1291. https://doi.org/10.1177/07356331251329185
  • Luckin, R., Holmes, W., Griffiths, M., & Forcier, L. B. (2016). Intelligence unleashed: An argument for AI in education. Pearson.
  • Maxwell, S. E., Delaney, H. D., & Kelley, K. (2017). Designing experiments and analyzing data: A model comparison perspective (3. baskı.). Routledge.
  • McMillan, J. H., & Schumacher, S. (2010). Research in education: Evidence-based inquiry (7. baskı.). Pearson.
  • Means, B., Toyama, Y., Murphy, R., Bakia, M., & Jones, K. (2010). Evaluation of evidence-based practices in online learning: A meta-analysis and review of online learning studies. U.S. Department of Education.
  • Ministry of National Education. (2018). Bilişim teknolojileri ve yazılım dersi öğretim programı (Ortaokul 5 ve 6. sınıflar) [Information technologies and software curriculum (Middle school grades 5 and 6)]. Millî Eğitim Bakanlığı.
  • Nacak, B. İ. (2024). A comparative analysis of AI-tools and English teachers in writing assessment (Publication No. 917794) [Master’s thesis, Bolu Abant İzzet Baysal University]. Council of Higher Education Thesis Center.
  • Nitko, A. J., & Brookhart, S. M. (2011). Educational assessment of students (6th ed.). Pearson.
  • Nunnally, J. C., & Bernstein, I. H. (1994). Psychometric theory (3th ed.). McGraw-Hill.
  • Pallant, J. (2020). SPSS survival manual: A step by step guide to data analysis using IBM SPSS (7th ed.). Open University Press.
  • Papert, S. (1980). Mindstorms: Children, computers, and powerful ideas. Basic Books.
  • Patton, M. Q. (2002). Qualitative research and evaluation methods (3th ed.). Sage.
  • Razali, N. M., & Wah, Y. B. (2011). Power comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling tests. Journal of Statistical Modeling and Analytics, 2(1), 21–33.
  • Resnick, M., Maloney, J., Monroy-Hernández, A., Rusk, N., Eastmond, E., Brennan, K., Millner, A., Rosenbaum, E., Silver, J., Silverman, B., & Kafai, Y. (2009). Scratch: Programming for all. Communications of the ACM, 52(11), 60–67. https://doi.org/10.1145/1592761.1592779
  • Russell, S., & Norvig, P. (2021). Artificial intelligence: A modern approach (4. baskı.). Pearson.
  • Ryan, R. M., & Deci, E. L. (2000). Self-determination theory and the facilitation of intrinsic motivation, social development, and well-being. American Psychologist, 55(1), 68–78. https://doi.org/10.1037/0003-066X.55.1.68
  • Sağ, İ. (2025). The effectiveness of generative artificial intelligence in supporting English academic writing (Publication No. 958618) [Master’s thesis, Anadolu University]. Council of Higher Education Thesis Center.
  • Sarıtiken, H. (2024). Teachers’ perspectives on artificial intelligence applications in Turkish language teaching. Journal of Pedagogical Sociology and Psychology, 6(3), 233–247. https://doi.org/10.33902/jpsp.202433205
  • Schreier, M. (2012). Qualitative content analysis in practice. Sage. https://doi.org/10.4135/9781529682571
  • Sezer, H. (2024). Is artificial intelligence the new writing teacher? A comparison of ChatGPT feedback and teacher feedback on writing proficiency in Turkish EFL classrooms (Publication No. 905672) [Master’s thesis, Yeditepe University]. Council of Higher Education Thesis Center.
  • Shadish, W. R., Cook, T. D., & Campbell, D. T. (2002). Experimental and quasi-experimental designs for generalized causal inference. Houghton Mifflin.
  • Sun, D., Boudouaia, A., Zhu, C., & Li, Y. (2024). Would ChatGPT-facilitated programming mode impact college students' programming behaviors, performances, and perceptions? An empirical study. International Journal of Educational Technology in Higher Education, 21(1), 14. https://doi.org/10.1186/s41239-024-00446-5
  • Tabachnick, B. G., & Fidell, L. S. (2019). Using multivariate statistics (7th ed.). Pearson.
  • VanLehn, K. (2011). The relative effectiveness of human tutoring, intelligent tutoring systems, and other tutoring systems. Educational Psychologist, 46(4), 197–221. https://doi.org/10.1080/00461520.2011.611369
  • Vygotsky, L. S. (1978). Mind in society: The development of higher psychological processes (M. Cole, V. John-Steiner, S. Scribner, & E. Souberman, Eds.). Harvard University Press.
  • Wing, J. M. (2006). Computational thinking. Communications of the ACM, 49(3), 33–35. https://doi.org/10.1145/1118178.1118215
  • Wood, D., Bruner, J. S., & Ross, G. (1976). The role of tutoring in problem solving. Journal of Child Psychology and Psychiatry, 17(2), 89–100. https://doi.org/10.1111/j.1469-7610.1976.tb00381.x
  • Yang, T.-C., Hsu, Y.-C., & Wu, J.-Y. (2025). The effectiveness of ChatGPT in assisting high school students in programming learning: Evidence from a quasi-experimental research. Interactive Learning Environments, 33, 3726–3743. https://doi.org/10.1080/10494820.2025.2450659
  • Yap, B. W., & Sim, C. H. (2011). Comparisons of various types of normality tests. Journal of Statistical Computation and Simulation, 81(12), 2141–2155. https://doi.org/10.1080/00949655.2010.520163
  • Yıldırım, M. A. (2024). Comparing automated and teacher feedback: Effects on L2 writing anxiety, L2 writing motivation, and students' perceptions [Master Thesis, Karadeniz Teknik University]. YÖKTEZ. (Thesis No: 886842).
  • Yılmaz, R., & Karaoğlan Yılmaz, 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
  • Zhang, L., Jiang, Q., Xiong, W., & Zhao, W. (2025). Effects of ChatGPT-based human-computer dialogic interaction programming activities on student engagement. Journal of Educational Computing Research, 63(4), 988-1023. https://doi.org/10.1177/07356331251333874

License

This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.