edited by
3,395 views
4 votes
4 votes

Given the following set of prolog clauses:

father(X,Y) :
parent(X,Y),
male(X),
parent(Sally, Bob),
parent(Jim, Bob),
parent(Alice, Jane),
male(Bob),
male(Jim),
female(Salley),
female(Alice)

How many atoms are matched to the variable 'X' before the query father(X, Jane) reports a Result?

  1. $1$
  2. $2$
  3. $3$
  4. $4$
edited by

1 Answer

0 votes
0 votes
No options is correct/
Answer:

Related questions

3 votes
3 votes
5 answers
1
go_editor asked Aug 11, 2016
3,327 views
In propositional logic, given $P$ and $P \rightarrow Q$, we can infer ________$\sim Q$$Q$$P \wedge Q$$\sim P \wedge Q$
2 votes
2 votes
2 answers
2
go_editor asked Aug 11, 2016
2,215 views
What will be the output of the following Unix command?$\text{\$ rm chap0[1-3]}$Remove file $\text{chap0[1-3]}$Remove file $\text{chap01, chap02, chap03}$Remove file $\tex...
2 votes
2 votes
1 answer
3
go_editor asked Aug 11, 2016
3,454 views
In Unix, the command to enable execution permission for file "mylife" by all is_____Chmod ugo $+$ X mylifeChmod a $+$ X mylifeChmod $+$ X mylifeAll of the above
2 votes
2 votes
1 answer
4
go_editor asked Aug 11, 2016
1,588 views
The character set used in Windows $2000$ operating system is$8$ bit ASCIIExtended ASCII$16$ bit UNICODE$12$ bit UNICODE