Prolog quiz 4
The following Prolog program is consulted by the Prolog interpreter. colour(b1,red). colour(b2,blue). colour(b3,yellow). shape(b1,square). shape(b2,circle). shape(b3,square). size(b1,small). size(b2,small). size(b3,large). What will be the outcome of each of the following queries?
|
|
|