Question: Given the logic program and the goal as below Logic program p ( X , Y ) : - X is 1 0 , Y

Given the logic program and the goal as below
Logic program
p(X, Y) :- X is 10, Y = X, Y is 20.
Goal
?_ p(X, Y).
What is the output?
Question 6Answer
a.
false
b.
true
c.
Y =20
d.
X =10
e.
none of these.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!