Research Article

Application Strategies of LLMs in Computer Programming Teaching

Zihan Lu*
High School Attached to HIT

* Corresponding author: [email protected]

Abstract

With the development of artificial intelligence, Large Language Models (LLMs) has some potential for natural language processing and education. Based on the practical experience of applying LLMs to computer programming, the paper develops a closed loop assistance system, "learning-training-tutoring-feedback" system, that can overcome the problems of traditional teaching (e.g., numerous knowledge points, vague concepts, insufficient training, poor personalized support, single feedback). In the learning stage, it helps students to grasp programming notions and logic by generating code examples, knowledge analysis frameworks and content explanations. In the training stage, the system adjusts the difficulty of exercises due to students' learning records and gives code hints and suggestions to construct algorithms. In TUT, it serves as the debugging partner for correcting errors and suggesting repair suggestions, which improves the debugging and solving abilities of students. In a feedback stage, the paper analyzes learning behavior records to learn knowledge of the knowledge to implement personalized learning adjustment and suggestions. This can improve the current situation, low learning efficiency and poor independent thinking ability of traditional programming teaching and increase the programming skills and independent thinking abilities of the students. The introduction of LLMs into programming can make teaching more personalized, dynamic, systematic and perform implementation for further improving the students' computational thinking and practical abilities.

Keywords: Large language models; Education programming learning; Feedback
Published: April 13, 2026
DOI: 10.54254/2755-2721/2026.GU32662
Volume: ACE Vol.227
pp. 119-126
Download PDF

References

  1. Song, T., Zhang, H., Xiao, Y. (2024). A high-quality generation approach for educational programming projects using LLM. IEEE Transactions on Learning Technologies, 17: 2296-2309.
  2. Bernik, A., Radosevic, D., Cep, A. (2025). A comparative study of large language models in programming education: accuracy, efficiency, and feedback in student assignment grading. Applied Sciences-Basel, 15(18).
  3. Fu, Q., Zhao, Y., Jia, Z., et al. (2025). Large language models (LLMs) in programming learning: the current research state and agenda. IEEE Transactions on Learning Technologies, 18: 942-961.
  4. Hu, L. S. (2025). Reform and exploration of program-based curriculum teaching based on large language models. Computer Knowledge and Technology, 21(30).
  5. Lubin, L. (2025). Leveraging large language models to support individualized learning. Preprint Book.
  6. Choi, S., Kim, H. (2025). The impact of a large language model-based programming learning environment on students' motivation and programming ability. Education and Information Technologies, 30(6): 8109-8138.
  7. Kumamoto, K., Cong, Y., Masuhara, H. (2025). An interactive learning environment for program design//Henz M, Hermans F, Patterson D. Proceedings of the 2025 ACM SIGPLAN International Symposium on SPLASH-E, SPLASH-E 2025. Singapore: Association for Computing Machinery, 66-74.
  8. Shin, J., Cruz-Castro, L., Yang, Z., et al. (2024). Understanding optimal interactions between students and a chatbot during a programming task//2024 Winter Simulation Conference, WSC. Orlando, FL: IEEE, 3106-3117.
  9. Liu, Z., Xing, W., Jiao, X., et al. (2025). What are the differences between student- and ChatGPT-generated pseudocode? Detecting AI-generated pseudocode in high school programming using explainable machine learning. Education and Information Technologies, 30(11): 14853-14892.
  10. Garcia, M. B. (2025). Teaching and learning computer programming using ChatGPT: a rapid review of literature amid the rise of generative AI technologies. Education and Information Technologies, 30(12): 16721-16745.
  11. Koutcheme, C., Hellas, A. (2024). Propagating large language models programming feedback//Proceedings of the Eleventh ACM Conference on Learning@Scale, L@S 2024. Atlanta, GA: Association for Computing Machinery, 366-370.