The Effect of Generative Artificial Intelligence Tools on Developing Metacognitive Thinking Skills Among Secondary School Students in a Programming-Based Learning Environment

  • Ahmed bin Mohsen Alqarni Ph.D. Researcher in Educational Technology, King Abdulaziz University, Jeddah, Saudi Arabia
  • Dr. Ahmed bin Ibrahim Flattah Associate Professor of Educational Technology, College of Education, King Abdulaziz University, Saudi Arabia
Keywords: Generative Artificial Intelligence, Metacognitive Thinking, programming

Abstract

This study aimed to investigate the effect of employing generative artificial intelligence (AI) tools on developing metacognitive thinking skills among secondary school students within a programming-based learning environment. The quasi-experimental method was adopted using two groups (experimental and control) with pre- and post-measurements. The study sample consisted of 40 first-year secondary students. Two equivalent classes were selected after conducting a pre-homogeneity test: the experimental group was taught using generative AI tools integrated into specific stages of learning, while the control group was taught through the traditional method. A metacognitive thinking scale consisting of 21 items distributed across three dimensions planning, monitoring & control, and evaluation was used. Results of the t-test revealed statistically significant differences between the mean scores of the two groups in the post-test, in favor of the experimental group. This indicates the effectiveness of employing generative AI tools in enhancing students’ metacognitive thinking skills. These findings suggest that the integration of generative AI tools provided students with adaptive cognitive support, which increased their awareness of thinking processes while learning programming. The tools also enabled them to plan solutions, monitor performance, and evaluate their learning more consciously autonomously.

References

1. Adıgüzel, T., Kaya, M. H., & Cansu, F. K. (2023). Revolutionizing education with AI: Exploring the transformative potential of ChatGPT. Contemporary Educational Technology.
2. Bubnic, B., Kovačević, Ž., & Kosar, T. (2024). Can metacognition predict your success in solving problems? An exploratory case study in programming. Proceedings of the 24th Koli Calling International Conference on Computing Education Research,
3. Chiu, T. K., Xia, Q., Zhou, X., Chai, C. S., & Cheng, M. (2023). Systematic literature review on opportunities, challenges, and future research recommendations of artificial intelligence in education. Computers and Education: Artificial Intelligence, 4, 100118.
4. Clark, A., & Chalmers, D. (1998). The extended mind. analysis, 58(1), 7-19.
5. Creswell, J. W., & Creswell, J. D. (2017). Research design: Qualitative, quantitative, and mixed methods approaches. Sage publications.
6. Flavell, J. H. (1979). Metacognition and cognitive monitoring: A new area of cognitive–developmental inquiry. American psychologist, 34(10), 906.
7. Karmakar, S., & Das, T. (2024). Effect of artificial intelligence on education. In Optimization and Computing using Intelligent Data-Driven Approaches for Decision-Making (pp. 198-211). CRC Press.
8. Khotimah, K., & Rusijono, A. M. (2024). Enhancing Metacognitive and Creativity Skills through AI-Driven Meta-Learning Strategies. International Journal of Interactive Mobile Technologies, 18(5).
9. Oyama, T., & Kagawa, K. (2024). Development of a Learning Support System for Improving Metacognition in Programming Exercises. 2024 16th IIAI International Congress on Advanced Applied Informatics (IIAI-AAI),
10. Robertson, J. (2025). ‘Use it as a backup rather than your main pillar of learning’: how self-directed learners use Generative AI in Project Based Learning.
11. Safi, S. a. A., & Al-Qudah, M. A. (2024). الذكاء الاصطناعي في التعليم العالي (التحديات والتوجيهات)-مراجعة منهجية. Dirasat: Educational Sciences, 51(3), 201-216.
12. Sardi, J., Candra, O., Yuliana, D. F., Yanto, D. T. P., & Eliza, F. (2025). How Generative AI Influences Students' Self-Regulated Learning and Critical Thinking Skills? A Systematic Review. International Journal of Engineering Pedagogy, 15(1).
13. Schraw, G., & Dennison, R. S. (1994). Assessing metacognitive awareness. Contemporary educational psychology, 19(4), 460-475.
14. SDAIA. (2023). النشرة التعريفية بالذكاء الاصطناعي التوليدي1 ( Retrieved 19/12/2024 from, Issue. https://sdaia.gov.sa/ar/MediaCenter/KnowledgeCenter/ResearchLibrary/Generative-AI.pdf
15. Shahdan, M. O. (2024). Mental Wandering as a Mediator between Metacognitive Awareness and Goal Orientation among a Sample of High School First Grade Student. Journal of Faculty of Education- Assiut University, 40(2.2), 1-69. https://doi.org/10.21608/mfes.2024.348371
16. Soundarya, M., Devapitchai, J. J., Krishnakumari, S., & Manickam, T. (2025). Applications of Artificial Intelligence Techniques in Education. In Integrating Micro-Credentials With AI in Open Education (pp. 429-450). IGI Global Scientific Publishing.
17. Verma, R., Dadhich, M., & Sharma, A. (2024). Bridging Data-Driven Learning and Generative AI: A Framework for Sustainable Education Through Metacognitive Resource Utilization. Integrating Generative AI in Education to Achieve Sustainable Development Goals, 472-479.
18. Yang, Y., & Xia, N. (2023). Enhancing Students' Metacognition via AI-Driven Educational Support Systems. International Journal of Emerging Technologies in Learning (Online), 18(24), 133.
19. Zimmerman, B. J. (2000). Self-efficacy: An essential motive to learn. Contemporary educational psychology, 25(1), 82-91.
20. السلمي, أ. س. م., فلاته, د. أ. ب. إ., & الحلفاوي, أ. د. و. ب. س. م. (2024). فاعلية منصة قائمة على الذكاء الاصطناعي التوليدي والتلعيب في تنمية التفكير فوق المعرفي لدى طلاب التعليم العالي. Journal of Educational and Human Sciences(41), 281-301.
21. رمضان, & بوبكري. (2022). التعلم ما وراء المعرفي وأهمية استخدام استراتيجياته في العملية التعليمية. آفاق علمية, 14(2), 252-269.
22. عزيز, م. ا., & الخزامي, م. (2023). دور الذكاء الاصطناعي في العلوم الاجتماعية والإنسانية. سيمنار, 1(2), 1-35.
23. قران, أ. ع., القرني, أ. م., السهيمي, أ. ع., مرحبي, أ. ع., & مصلحي, أ. م. (2024). تحديات استخدام أدوات الذكاء الاصطناعي التوليدي في تطوير بيئات التعلم القائمة على الوسائط المتعددة من وجهة نظر الخبراء. المجلة الدولية للعلوم التربوية والاداب 3(12), 289-326. https://doi.org/https://doi.org/10.59992/IJESA.2024.v3n12p10
Published
2025-11-28
How to Cite
Ahmed bin Mohsen Alqarni, & Dr. Ahmed bin Ibrahim Flattah. (2025). The Effect of Generative Artificial Intelligence Tools on Developing Metacognitive Thinking Skills Among Secondary School Students in a Programming-Based Learning Environment. Journal of Educational and Human Sciences, (48), 216-229. https://doi.org/10.33193/JEAHS.48.2025.707
Section
المقالات