Verso un nuovo paradigma per la didattica della programmazione con l'AI attraverso la metacognizione

Contenuto principale dell'articolo

Giulia Paludo
Alberto Montresor

Abstract

L’introduzione dell’intelligenza artificiale generativa nell’ambito della programmazione e della didattica dell’informatica ha posto numerosi dubbi sul suo impatto sull’apprendimento. Se da un lato, le aziende incoraggiano l’adozione di questo strumento da parte dei loro dipendenti al fine di aumentare la produttività, studenti e insegnanti affrontano sfide nella sua integrazione, spesso percependolo come una scorciatoia. In questo studio abbiamo approfondito tali questioni con l’obiettivo di validare una pratica didattica abile nel valorizzare le higher-order thinking skills come metacognizione, creatività e pensiero critico, spesso trascurate nella didattica tradizionale dell’informatica. Con questo obiettivo, abbiamo quindi coinvolto 40 studenti in un’attività di programmazione con l'uso dell'IA, raccogliendo dati e analizzando il processo di problem-solving con codice generato dall’IA. I dati raccolti dai questionari pre- e post-attività hanno presentato effetti significativamente positivi dell’attività su competenze, AI literacy e riflessione metacognitiva. I risultati suggeriscono quindi che l’integrazione strategica dell’IA può costituire un valido potenziamento per la didattica favorendo il potenziamento di abilità chiave non solo per l’apprendimento ma anche per la carriera futura.

Dettagli dell'articolo

Sezione

Articoli - Argomenti vari

Riferimenti bibliografici

Azevedo, R. (2005). Using Hypermedia as a Metacognitive Tool for Enhancing Student Learning? The Role of Self-Regulated Learning. Educational Psychologist, 40(4), 199–209. https://doi.org/10.1207/s15326985ep4004_2

Banić, B., Konecki, M., & Konecki, M. (2023). Pair Programming Education Aided by ChatGPT. 2023 46th MIPRO ICT and Electronics Convention (MIPRO), 911–915. https://doi.org/10.23919/MIPRO57284.2023.10159727

Beheshti, A. (2024). Natural Language-Oriented Programming (NLOP): Towards Democratizing Software Creation (Versione 1). arXiv. https://doi.org/10.48550/ARXIV.2406.05409

Biasutti, M., & Frate, S. (2018). Group metacognition in online collaborative learning: Validity and reliability of the group metacognition scale (GMS). Educational Technology Research and Development, 66(6). https://doi.org/10.1007/s11423-018-9583-0

Cao, C. C., Ding, Z., Lin, J., & Hopfgartner, F. (2023). AI Chatbots as Multi-Role Pedagogical Agents: Transforming Engagement in CS Education (No. arXiv:2308.03992). arXiv. https://doi.org/10.48550/arXiv.2308.03992

Chi, M. T. H., & Wylie, R. (2014). The ICAP Framework: Linking Cognitive Engagement to Active Learning Outcomes. Educational Psychologist, 49(4), 219–243. https://doi.org/10.1080/00461520.2014.965823

Clear, T., Cajander, Å., Clear, A., McDermott, R., Bergqvist, A., Daniels, M., Divitini, M., Forshaw, M., Humble, N., Kasinidou, M., Kleanthous, S., Kultur, C., Parvini, G., Polash, M., & Zhu, T. (2024). A Plan for a Joint Study into the Impacts of AI on Professional Competencies of IT Professionals and Implications for Computing Students. In Proceedings of the 2024 on Innovation and Technology in Computer Science Education V. 2 (pp. 757–758). https://doi.org/10.1145/3649405.3659527

Cornoldi, C. (2002). Metacognizione e apprendimento. Il mulino.

Dabbagh, N., & Kitsantas, A. (2012). Personal Learning Environments, social media, and self-regulated learning: A natural formula for connecting formal and informal learning. The Internet and Higher Education, 15(1), 3–8. https://doi.org/10.1016/j.iheduc.2011.06.002

Darwis, R. H., Mashuri, S., Tahmir, S., & Talib, A. (2024). The Relationship between Spatial and Linguistic Intelligence with Mathematical problem-solving Abilities. Asian Journal of Education and Social Studies, 50(6), 40-48. https://doi.org/10.9734/ajess/2024/v50i61392

Daun, M., & Brings, J. (2023). How ChatGPT Will Change Software Engineering Education. In Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education V. 1 (pp. 110–116). https://doi.org/10.1145/3587102.3588815

Denny, P., Kumar, V., & Giacaman, N. (2023). Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Language. In Proceedings of the 54th ACM Technical Symposium on Computer Science Education V. 1 (pp.1136–1142). https://doi.org/10.1145/3545945.3569823

Denny, P., Smith, D. H., Fowler, M., Prather, J., Becker, B. A., & Leinonen, J. (2024). Explaining Code with a Purpose: An Integrated Approach for Developing Code Comprehension and Prompting Skills. In Proceedings of the 2024 on Innovation and Technology in Computer Science Education V. 1 (pp.283–289). https://doi.org/10.1145/3649217.3653587

Folmeg, M., Fekete, I., & Koris, R. (2024). Towards identifying the components of students’ AI literacy: An exploratory study based on Hungarian higher education students’ perceptions. Journal of University Teaching and Learning Practice, 21(06). https://doi.org/10.53761/wzyrwj33

Garcia, R., Csizmadia, A., Pearce, J. L., Alshaigy, B., Glebova, O., Harrington, B., Liaskos, K., Lunn, S. J., MacKellar, B., Nasir, U., Pettit, R., Prickett, T., Schulz, S., Stewart, C., & Zavaleta Bernuy, A. (2024). All for One and One for All - Collaboration in Computing Education: Policy, Practice, and Professional Dispositions. In Proceedings of the 2024 on Innovation and Technology in Computer Science Education V. 2 (pp.763–764). https://doi.org/10.1145/3649405.3659530

Gold, K., & Geng, S. (2025). On the helpfulness of a zero-shot Socratic tutor. In T. Schlippe, E. C. K. Cheng, & T. Wang (Eds.), Artificial intelligence in education technologies: New development and innovative practices. AIET 2024 (Lecture Notes on Data Engineering and Communications Technologies, Vol. 228). Springer. https://doi.org/10.1007/978-981-97-9255-9_11

Goldstein, I., & Papert, S. (1977). Artificial intelligence, language, and the study of knowledge. Cognitive Science, 1(1), 84-123. https://onlinelibrary.wiley.com/doi/pdf/10.1207/s15516709cog0101_5

Guzdial, M. (2022). Providing Students with Computational Literacy for Learning About Everything. In S.-C. Kong & H. Abelson (Eds.), Computational Thinking Education in K–12 (pp. 29–48). The MIT Press. https://doi.org/10.7551/mitpress/13375.003.0005

Han, K.-W., Lee, E., & Lee, Y. (2010). The Impact of a Peer-Learning Agent Based on Pair Programming in a Programming Course. IEEE Transactions on Education, 53(2), 318-327. https://doi.org/10.1109/TE.2009.2019121

Igelnik, B. (Eds.). (2011). Computational Modeling and Simulation of Intellect: Current State and Future Perspectives. IGI Global. https://doi.org/10.4018/978-1-60960-551-3

Kittel, A. F. D., & Seufert, T. (2023). It’s all metacognitive: The relationship between informal learning and self-regulated learning in the workplace. PloS one, 18(5), e0286065.

Kulik, J. A., & Fletcher, J. D. (2016). Effectiveness of Intelligent Tutoring Systems: A Meta-Analytic Review. Review of Educational Research, 86(1), 42–78. https://doi.org/10.3102/0034654315581420

Li, Y., Choi, D., Chung, J., Kushman, N., Schrittwieser, J., Leblond, R., Eccles, T., Keeling, J., Gimeno, F., Lago, A. D., Hubert, T., Choy, P., d’Autume, C. de M., Babuschkin, I., Chen, X., Huang, P.-S., Welbl, J., Gowal, S., Cherepanov, A., … Vinyals, O. (2022). Competition-Level Code Generation with AlphaCode. arXiv. https://doi.org/10.48550/ARXIV.2203.07814

Lo, C. K. (2023). What Is the Impact of ChatGPT on Education? A Rapid Review of the Literature. Education Sciences, 13(4), 410. https://doi.org/10.3390/educsci13040410

Lowe, T. (2019). Debugging: The key to unlocking the mind of a novice programmer? In 2019 IEEE Frontiers in Education Conference (FIE) (pp. 1–9). https://doi.org/10.1109/FIE43999.2019.9028699

Ma, Q., Wu, T., & Koedinger, K. (2023). Is AI the better programming partner? Human-Human Pair Programming vs. Human-AI pAIr Programming. https://doi.org/10.48550/ARXIV.2306.05153

Manfredi, G., Erra, U., & Gilio, G. (2023). A Mixed Reality Approach for Innovative Pair Programming Education with a Conversational AI Virtual Avatar. Proceedings of the 27th International Conference on Evaluation and Assessment in Software Engineering, 450–454. https://doi.org/10.1145/3593434.3593952

Metcalfe, J., & Shimamura, A. P. (Eds.). (1996). Metacognition: Knowing about knowing (First MIT Press paperback edition). The MIT Press.

Ojeda-Ramirez, S., Rismanchian, S., & Doroudi, S. (2023). Learning About AI to Learn About Learning: Artificial Intelligence as a Tool for Metacognitive Reflection. https://doi.org/10.35542/osf.io/64ekv

Paludo, G., Del Zozzo, A., Fiore, F., & Montresor, A. (2025). AI in CS Education: Transformative Interventions and Research Frameworks. In P. Ardimento, R. Di Fuccio, G. Fulantelli, P. Limone, R. Pecori, P. Raviolo, M. Rondonotti, D. Schicchi, D. Taibi, & G. Zaza (Eds.), Higher Education Learning Methodologies and Technologies Online, Vol. 2467, (pp. 197–214). Springer Nature. https://doi.org/10.1007/978-3-031-94002-6_15

Powell, A. B., Francisco, J. M., & Maher, C. A. (2003). An analytical model for studying the development of learners’ mathematical ideas and reasoning using videotape data. The Journal of Mathematical Behavior, 22(4), 405-435. https://doi.org/10.1016/j.jmathb.2003.09.002

Prasse, D., Webb, M., Deschênes, M., Parent, S., Aeschlimann, F., Goda, Y., Yamada, M., & Raynault, A. (2024). Challenges in Promoting Self-Regulated Learning in Technology Supported Learning Environments: An Umbrella Review of Systematic Reviews and Meta-Analyses. Technology, Knowledge and Learning, 29(4), 1809–1830. https://doi.org/10.1007/s10758-024-09772-z

Raiyan, S. R., Faiyaz, Md. N., Kabir, S. Md. J., Kabir, M., Mahmud, H., & Hasan, M. K. (2023). Math Word problem-solving by Generating Linguistic Variants of Problem Statements (Versione 1). arXiv. https://doi.org/10.48550/ARXIV.2306.13899

Ranieri, M., Cuomo, S., Biagini, G. (2023). Scuola e Intelligenza Artificiale. Percorsi di alfabetizzazione critica. Carocci.

Resnick, L. B., Asterhan, C. S. C., & Clarke, S. N. (Eds.). (2015). Socializing Intelligence Through Academic Talk and Dialogue. American Educational Research Association. https://doi.org/10.3102/978-0-935302-43-1

Rianti, R., Aziz, Z. A., & Aulia, M. (2024). Incorporating Higher Order Thinking Skills into English Summative Assessments. English Review: Journal of English Education, 12(1), 353-360. https://doi.org/10.25134/erjee.v12i1.9301

Sengul, S., & Katranci, Y. (2012). Metacognitive Aspects of Solving Function Problems. Procedia - Social and Behavioral Sciences, 46, 2178–2182. https://doi.org/10.1016/j.sbspro.2012.05.450

Skalicky, S., Crossley, S. A., McNamara, D. S., & Muldner, K. (2017). Identifying Creativity During problem-solving Using Linguistic Features. Creativity Research Journal, 29(4), 343-353. https://doi.org/10.1080/10400419.2017.1376490

Sulistiyani, L., Habiddin, H., & Yahmin, Y. (2022). HOTS & Problem-Based Learning (PBL) with blended learning. J-PEK (Jurnal Pembelajaran Kimia), 7(1), 1-8. https://doi.org/10.17977/um026v7i12022p001

Tate, T. P., Doroudi, S., Ritchie, D., Xu, Y., & Uci, M. W. (2023). Educational Research and AI-Generated Writing: Confronting the Coming Tsunami. https://doi.org/10.35542/osf.io/4mec3

Veenman, M. V. J., Van Hout-Wolters, B. H. A. M., & Afflerbach, P. (2006). Metacognition and learning: Conceptual and methodological considerations. Metacognition and Learning, 1(1), 3-14. https://doi.org/10.1007/s11409-006-6893-0

Verleger, M., & Pembridge, J. (2018). A Pilot Study Integrating an AI-driven Chatbot in an Introductory Programming Course. In 2018 IEEE Frontiers in Education Conference (FIE) (pp. 1–4). https://doi.org/10.1109/FIE.2018.8659282

Weber, T., Brandmaier, M., Schmidt, A., & Mayer, S. (2024). Significant Productivity Gains through Programming with Large Language Models. In Proceedings of the ACM on Human-Computer Interaction Vol.8 (pp.1-29), Article 256. https://doi.org/10.1145/3661145

Wing, J. M. (2006). Computational thinking. Communications of the ACM, 49(3), 33-35. https://doi.org/10.1145/1118178.1118215

Yadav, A., Ocak, C., & Oliver, A. (2022). Computational Thinking and Metacognition. TechTrends, 66(3), 405–411. https://doi.org/10.1007/s11528-022-00695-z

Zhang, D., Bin Ahmadon, M. A., & Yamaguchi, S. (2022). Human-AI Pair Programming by Data Stream and Its Application Example. In 2022 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia), 1–4. https://doi.org/10.1109/ICCE-Asia57006.2022.9954649