This study investigates the application of large language models, specifically GPT-4, to enhance programming education. The research outlines the design of a web application that uses GPT-4 to provide feedback on programming tasks, without giving away the solution. A web application for working on programming tasks was developed for the study and evaluated with 51 students over the course of one semester. The results show that most of the feedback generated by GPT-4 effectively addressed code errors. However, challenges with incorrect suggestions and hallucinated issues indicate the need for further improvements.
翻译:本研究探究了大语言模型(特别是GPT-4)在提升编程教育中的应用。研究概述了一款网络应用程序的设计,该应用利用GPT-4为编程任务提供反馈,同时避免直接给出解决方案。为开展研究,开发了一款用于完成编程任务的网络应用,并在一学期内对51名学生进行了评估。结果表明,GPT-4生成的多数反馈有效指出了代码错误。然而,错误建议和虚构问题等挑战表明仍需进一步改进。