Question: 2. [6 pts] PROLOG Programming Indicate Yes if the below pairs match No otherwise. a. eats(john,oranges) eats(Whom,What) b. eats(john,Food) eats(Person,jim) c. cd(29,beatles,sgt_pepper) cd(A,B,help). d. f(X,a)
2. [6 pts] PROLOG Programming Indicate Yes if the below pairs match No otherwise. a. eats(john,oranges) eats(Whom,What) b. eats(john,Food) eats(Person,jim) c. cd(29,beatles,sgt_pepper) cd(A,B,help). d. f(X,a) f(a,X) e. likes(jim,X) likes(X,jane) f. likes(X,Y) likes(A,B)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
