arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1204.1751cs.PLcs.AI
收藏

介绍性程序设计的自动反馈生成

Automated Feedback Generation for Introductory Programming Assignments

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);Microsoft Research(微软研究院)

Rishabh Singh, Sumit Gulwani, Armando Solar-Lezama

摘要:

我们提出了一种新的方法,自动提供反馈的介绍性编程问题。为了使用这种方法,我们需要一个作业的参考实现,以及一个错误模型,该模型由学生可能犯的错误的潜在纠正组成。使用这些信息,系统会自动对学生的错误答案进行最小限度的纠正,为他们提供一个量化的测量,以准确地衡量给定的解决方案有多不正确,以及反馈他们做错了什么。我们介绍了一个简单的语言描述错误模型的校正规则,并正式定义了一个规则导向的翻译策略,减少了在一个不正确的程序中找到最小的更正的问题,从草图合成一个正确的程序的问题。我们已经评估了我们的系统从6.00和6.00x获得的数千个真实的学生尝试。我们的研究结果表明,相对简单的错误模型可以纠正平均65%的所有不正确的提交。

英文摘要:

We present a new method for automatically providing feedback for introductory programming problems. In order to use this method, we need a reference implementation of the assignment, and an error model consisting of potential corrections to errors that students might make. Using this information, the system automatically derives minimal corrections to student's incorrect solutions, providing them with a quantifiable measure of exactly how incorrect a given solution was, as well as feedback about what they did wrong. We introduce a simple language for describing error models in terms of correction rules, and formally define a rule-directed translation strategy that reduces the problem of finding minimal corrections in an incorrect program to the problem of synthesizing a correct program from a sketch. We have evaluated our system on thousands of real student attempts obtained from 6.00 and 6.00x. Our results show that relatively simple error models can correct on average 65% of all incorrect submissions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑