首页> 外文期刊>International journal of human-computer studies >Guided programming and automated error analysis in an intelligent Prolog tutor
【24h】

Guided programming and automated error analysis in an intelligent Prolog tutor

机译:智能Prolog导师指导的编程和自动错误分析

获取原文
获取原文并翻译 | 示例
       

摘要

We present a Prolog programming technique-based approach to guided programming and automated error analysis in Prolog tutoring. The concept of Prolog programming technique is used to characterize and classify programs. Each class of programs use the same programming technique and share the common pattern of code. A set of programming technique grammar rules are defined for each class of programs. These rules are used for programming technique recognition, program construction, and program parsing. A programming technique frame is used to represent the programming technique-related knowledge for each class of programs. A program frame is used to represent the coding-related knowledge for the reference program of each of the most specialized programming techniques. The representation of the programming technique grammar rules, programming technique-related knowledge, and coding-related knowledge provides the basis for guided programming and automated error analysis in tutoring. Our approach to error analysis however does not rely on the representation of buggy versions of the program. Automated error analysis in our approach is done on the basis of comparing the parsings of both the student program and the reference program. Our approach has been implemented in a Prolog tutoring system called the Prolog Tutor, which has been tested on a collection of 125 programs for list reversal. The Prolog Tutor performs well on these tests in terms of programming technique recognition, error detection, and error correction. (C) 2004 Elsevier Ltd. All rights reserved.
机译:我们介绍了一种基于Prolog编程技术的方法,用于Prolog辅导中的引导编程和自动错误分析。 Prolog编程技术的概念用于表征和分类程序。每一类程序都使用相同的编程技术,并共享通用的代码模式。为每类程序定义了一组编程技术语法规则。这些规则用于编程技术识别,程序构造和程序解析。编程技术框架用于表示每一类程序的与编程技术相关的知识。程序框架用于表示每种最专门的编程技术的参考程序的与编码有关的知识。编程技术语法规则,与编程技术有关的知识以及与编码有关的知识的表示,为指导式编程和补习中的自动错误分析提供了基础。但是,我们进行错误分析的方法并不依赖于程序错误版本的表示。在我们的方法中,自动错误分析是在比较学生程序和参考程序的解析的基础上进行的。我们的方法已在称为Prolog辅导员的Prolog辅导系统中实施,该系统已在125个程序的列表反转测试中进行了测试。 Prolog导师在编程技术识别,错误检测和错误纠正方面在这些测试中表现良好。 (C)2004 Elsevier Ltd.保留所有权利。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号