Question: Explain the result obtained (PROLOG CODE) 1. Try the following queries and explain the result obtained ( 0.5 marks) - Y=3,X=Y ANSWER: X=Y,Y=3 - Y=3,X=Y

Explain the result obtained (PROLOG CODE) Explain the result obtained (PROLOG CODE) 1. Try the following queries and

1. Try the following queries and explain the result obtained ( 0.5 marks) - Y=3,X=Y ANSWER: X=Y,Y=3 - Y=3,X=Y ANSWER: false - X+3=:=X+3 ANSWER: Arguments are not sufficiently instantiated - X+3=Y+3 ANSWER: false - X+3=Y+3 ANSWER: X=Y - X4=4Y ANSWER: X=Y,Y=4

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!