Prolog quiz 3

The following Prolog program is consulted by the Prolog interpreter.

parent(pat,jim).
parent(pam,bob).
parent(bob,ann).
parent(bob,pat).
parent(tom,liz).
parent(tom,bob).


What will be the outcome of each of the following queries?




This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities