Chatting with Code: Exploring LLMs as Learning Partners in Programming Education

Publication date

2025-07-20

Authors

Viberg, Olga
Wong, JacquelineORCID 0000-0002-5387-7696ISNI 0000000512658923
Feldman-Maggor, Yael
Dunder, Nora
Epp, Carrie Demmans

Editors

Cristea, Alexandra I.
Walker, Erin
Lu, Yu
Santos, Olga C.
Isotani, Seiji

Advisors

Supervisors

Document Type

Part of book
Open Access logo

License

taverne

Abstract

With LLM-based applications now widely accessible, students increasingly leverage them to support their studies, especially in programming education. From completing specific tasks to managing their study routines, students can use LLMs to self-regulate their learning. However, while LLMs have the potential to support students and improve educational outcomes, they could hamper learning. This exploratory case study seeks to understand how students taking programming courses interact with LLM-based applications. We analyzed and clustered the content of student prompts (N = 364) and coded the prompts for self-regulated learning (SRL) strategies. We identified seven distinct clusters of prompts that were characterized by student task (e.g., debugging, seeking help) and prompt topic (e.g., mathematical models, security). Students primarily relied on LLMs for elaboration and help-seeking, while SRL strategies like effort regulation, critical thinking, and organization were used less frequently. Overreliance on LLMs for immediate support may hinder the development of deeper cognitive strategies and impede learning, suggesting a need for student support.

Keywords

Computer science education, LLM, Self-regulated learning, Taverne, Theoretical Computer Science, General Computer Science

Citation

Viberg, O, Wong, J, Feldman-Maggor, Y, Dunder, N & Epp, C D 2025, Chatting with Code : Exploring LLMs as Learning Partners in Programming Education. in A I Cristea, E Walker, Y Lu, O C Santos & S Isotani (eds), Artificial Intelligence in Education - 26th International Conference, AIED 2025, Proceedings. Lecture Notes in Computer Science, vol. 15882 LNAI, Springer, pp. 453-461, 26th International Conference on Artificial Intelligence in Education, AIED 2025, Palermo, Italy, 22/07/25. https://doi.org/10.1007/978-3-031-98465-5_57, conference