An LLM-Based Guided Programming Assistance System for Code Quality Feedback and Formative Assessment
Source abstract
Abstract
Recent advancements in Large Language Models (LLMs) hold significant promise for reshaping programming education. However, critical instructional challenges such as high failure and dropout rates, insufficient feedback, and inadequate support for students’ independent analytical thinking remain prevalent. Addressing these gaps, this study introduces the Guided Programming and Analysis System (GPAS), an innovative educational approach leveraging LLM-based technology to enhance programming instruction. GPAS is designed to support autonomous learning processes by integrating multi-turn interactive thought guidance, code polishing, semantic annotation generation, and structured scoring mechanisms across multiple programming languages. Experimental results demonstrate significant effects were observed in correlation analysis with expert evaluations (r=0.668, p=6.84×10−12) and paired-sample tests on code and report-level improvements (effect sizes Cohen’s d=0.92 and 1.56, respectively, p=3.56×10−6 and p=1.64×10−10). Additionally, findings revealed that the GPAS platform significantly improved code quality, particularly benefiting lower-achieving students, and effectively captured nuanced improvements in readability, structure, and boundary handling. Moreover, GPAS emphasizes the supportive role of educators, enabling them to focus more effectively on higher-order teaching tasks while the platform handles routine instructional feedback. Collectively, these results suggest that GPAS provides a promising framework for supporting learner-centered programming education and independent problem-solving processes.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Teaching and Learning Programming · Online Learning and Analytics · Software Engineering Research
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Integrated Circuits, Shandong University, Jinan 250101, China
Funding
Shandong University Education and Teaching Reform Research Project · General Project of Undergraduate Teaching Reform Research in Shandong Province · National Natural Science Foundation of China
References (23)
Show source-provided references
1. AI in the classroom: Exploring students’ interaction with ChatGPT in programming learning10.1007/s10639-025-13337-7 ↗
2. Singh, S. (2022). Identifying Learning Challenges faced by Novice/Beginner Computer Programming Students: An Action Research Approach. QuASoQ/SEED@ APSEC, CEUR-WS.org. CEUR Workshop Proceedings, Vol. 3330.
3. Kazemitabaar, M., Ye, R., Wang, X., Henley, A.Z., Denny, P., Craig, M., and Grossman, T. (2024, January 11–16). Codeaid: Evaluating a classroom deployment of an llm-based programming assistant that balances student and educator needs. Proceedings of the 2024 Chi Conference on Human Factors in Computing Systems, Honolulu, HI, USA.10.1145/3613904.3642773 ↗
4. Computing education in the era of generative AI10.1145/3624720 ↗
5. Achiam, J., Adler, S., Agarwal, S., Ahmad, L., Akkaya, I., Aleman, F.L., Almeida, D., Altenschmidt, J., Altman, S., and Anadkat, S. (2023). Gpt-4 technical report. arXiv.
6. Phung, T., Cambronero, J., Gulwani, S., Kohn, T., Majumdar, R., Singla, A., and Soares, G. (2023). Generating high-precision feedback for programming syntax errors using large language models. arXiv.
7. Zhang, J., Cambronero, J., Gulwani, S., Le, V., Piskac, R., Soares, G., and Verbruggen, G. (2022). Repairing bugs in python assignments using large language models. arXiv.
8. Bernik, A., Radošević, D., and Čep, A. (2025). A comparative study of large language models in programming education: Accuracy, efficiency, and feedback in student assignment grading. Appl. Sci., 15.10.3390/app151810055 ↗
9. Denny, P., Kumar, V., and Giacaman, N. (2023, January 15–18). Conversing with copilot: Exploring prompt engineering for solving cs1 problems using natural language. Proceedings of the 54th ACM Technical Symposium on Computer Science Education V. 1, Toronto, ON, Canada.10.1145/3545945.3569823 ↗
10. Savelka, J., Agarwal, A., An, M., Bogart, C., and Sakr, M. (2023, January 7–11). Thrilled by your progress! Large language models (GPT-4) no longer struggle to pass assessments in higher education programming courses. Proceedings of the 2023 ACM Conference on International Computing Education Research-Volume 1, Urbana-Champaign, IL, USA.10.1145/3568813.3600142 ↗
11. Codescore: Evaluating code generation by learning code execution10.1145/3695991 ↗
12. Kargupta, P., Agarwal, I., Hakkani-Tur, D., and Han, J. (2024). Instruct, not assist: LLM-based multi-turn planning and hierarchical questioning for socratic code debugging. arXiv.10.18653/v1/2024.findings-emnlp.553 ↗
13. Allen, J.M., Vahid, F., Downey, K., Miller, K., and Edgcomb, A.D. (2019, January 15–19). Many small programs in CS1: Usage analysis from multiple universities. Proceedings of the 2019 ASEE Annual Conference & Exposition, Tampa, FL, USA.
14. Finnie-Ansley, J., Denny, P., Becker, B.A., Luxton-Reilly, A., and Prather, J. (2022, January 11–13). The robots are coming: Exploring the implications of openai codex on introductory programming. Proceedings of the 24th Australasian Computing Education Conference, Hobart, Australia.10.1145/3511861.3511863 ↗
15. Brusilovsky, P., Ericson, B.J., Horstmann, C.S., Servin, C., Vahid, F., and Zilles, C. (2023). The future of computing education materials. CS2023: ACM/IEEECS/AAAI Computer Science Curricula, Curricula Practices, ACM.
16. Kazemitabaar, M., Chow, J., Ma, C.K.T., Ericson, B.J., Weintrop, D., and Grossman, T. (2023, January 23–28). Studying the effect of AI code generators on supporting novice learners in introductory programming. Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, Hamburg, Germany.10.1145/3544548.3580919 ↗
17. Azoulay, R., Hirst, T., and Reches, S. (2025). Large language models in computer science classrooms: Ethical challenges and strategic solutions. Appl. Sci., 15.10.3390/app15041793 ↗
18. Wang, J., Dai, Y., Zhang, Y., Ma, Z., Li, W., and Chai, J. (2025). Training turn-by-turn verifiers for dialogue tutoring agents: The curious case of llms as your coding tutors. Findings of the Association for Computational Linguistics: ACL 2025, Association for Computational Linguistics.10.18653/v1/2025.findings-acl.642 ↗
19. Liffiton, M., Sheese, B.E., Savelka, J., and Denny, P. (2023, January 14–17). Codehelp: Using large language models with guardrails for scalable support in programming classes. Proceedings of the 23rd Koli Calling International Conference on Computing Education Research, Koli, Finland.10.1145/3631802.3631830 ↗
20. Peláez-Sánchez, I.C., Velarde-Camaqui, D., and Glasserman-Morales, L.D. (2024). The impact of large language models on higher education: Exploring the connection between AI and Education 4.0. Front. Educ., 9.10.3389/feduc.2024.1392091 ↗
21. Students’ voices on generative AI: Perceptions, benefits, and challenges in higher education10.1186/s41239-023-00411-8 ↗
22. The impact of AI-assisted pair programming on student motivation, programming anxiety, collaborative learning, and programming performance: A comparative study with traditional pair programming and individual approaches10.1186/s40594-025-00537-3 ↗
23. Ning, Y.M., Zhang, C., Xu, B.Y., Zhou, Y., and Wijaya, T.T. (2024). Teachers’ AI-TPACK: Exploring the Relationship between Knowledge Elements. Sustainability, 16.10.3390/su16030978 ↗