Technical Report: Giving Hints for Logic Programming Examples without Revealing Solutions

07/26/2016
by   Gokhan Avci, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/26/2023

The Logic of Logic Programming

Our position is that logic programming is not programming in the Horn cl...
research
09/22/2020

A Machine Learning guided Rewriting Approach for ASP Logic Programs

Answer Set Programming (ASP) is a declarative logic formalism that allow...
research
10/16/2019

On the Relation between Weak Completion Semantics and Answer Set Semantics

The Weak Completion Semantics (WCS) is a computational cognitive theory ...
research
09/22/2021

Reactive Answer Set Programming

Logic Production System (LPS) is a logic-based framework for modelling r...
research
12/23/2018

Optimizing Answer Set Computation via Heuristic-Based Decomposition

Answer Set Programming (ASP) is a purely declarative formalism developed...
research
08/05/2022

A Preliminary Data-driven Analysis of Common Errors Encountered by Novice SPARC Programmers

Answer Set Programming (ASP), a modern development of Logic Programming,...
research
11/15/2020

Model-Driven Synthesis for Programming Tutors

When giving automated feedback to a student working on a beginner's exer...

Please sign up or login with your details

Forgot password? Click here to reset