借助 AI 助手应对编译器错误——在入门编程课程中对 GPT 提示的研究
Navigating Compiler Errors with AI Assistance -- A Study of GPT Hints in an Introductory Programming Course
AI总结:
本研究在大学入门编程课程中利用 GPT-4 生成编译器错误提示,发现该 AI 辅助显著提升了学生的专注度并降低了困惑与挫败感,且在无提示时实验组表现更好。
摘要:
我们在大学级别的入门编程课程中,通过使用 GPT-4 模型在编程作业自动评估平台上为编译器错误生成个性化提示,检验了 AI 辅助学习的有效性。对照组无法访问 GPT 提示。在实验条件下,当检测到编译器错误时,会为每个模块前半部分的问题提供 GPT 提示。对于模块的后半部分,则禁用提示。学生对 GPT 提示的实用性评价很高。在情感调查中,实验组报告的专注度显著高于对照组,而“困惑与挫败感”水平显著更低。对于六种最常见的错误类型,当实验组能够访问 GPT 提示时,我们在性能方面观察到了褒贬不一的结果。然而,在缺乏 GPT 提示的情况下,实验组在六种错误类型中有五种的表现超越了对照组。
英文摘要:
We examined the efficacy of AI-assisted learning in an introductory programming course at the university level by using a GPT-4 model to generate personalized hints for compiler errors within a platform for automated assessment of programming assignments. The control group had no access to GPT hints. In the experimental condition GPT hints were provided when a compiler error was detected, for the first half of the problems in each module. For the latter half of the module, hints were disabled. Students highly rated the usefulness of GPT hints. In affect surveys, the experimental group reported significantly higher levels of focus and lower levels of confrustion (confusion and frustration) than the control group. For the six most commonly occurring error types we observed mixed results in terms of performance when access to GPT hints was enabled for the experimental group. However, in the absence of GPT hints, the experimental group's performance surpassed the control group for five out of the six error types.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。