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
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
Get step-by-step solutions from verified subject matter experts
