技术报告:给出逻辑编程示例的提示,但不揭示解决方案
Technical Report: Giving Hints for Logic Programming Examples without Revealing Solutions
摘要:
我们介绍了一个框架,支持学习程序的范式回答集编程(ASP),这是一个声明式逻辑编程形式主义。基于让学生完成小实例ASP程序的教学思想,介绍了一种在不透露实例正确解的情况下,对学生进行提示的三阶段教学法。我们将错误分类为(i)语法错误,(ii)意外但语法正确的输入,(iii)语义错误,描述这些错误的数学定义,并展示如何从这些定义计算提示。
英文摘要:
We introduce a framework for supporting learning to program in the paradigm of Answer Set Programming (ASP), which is a declarative logic programming formalism. Based on the idea of teaching by asking the student to complete small example ASP programs, we introduce a three-stage method for giving hints to the student without revealing the correct solution of an example. We categorize mistakes into (i) syntactic mistakes, (ii) unexpected but syntactically correct input, and (iii) semantic mistakes, describe mathematical definitions of these mistakes, and show how to compute hints from these definitions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。