Recent questions tagged prolog

0 0 votes
2 2 answers
4.9k
4.9k views
Which one of the following describes the syntax of prolog program?Rules and facts are terminated by full stop(.)Rules and facts are terminated by semi colon(;)Variables n...
1 1 vote
3 3 answers
4.8k
4.8k views
Which formal system provides the semantic foundation for Prolog ?Predicate calculusLambda calculusHoare logicPropositional logic
4 4 votes
1 1 answer
4.0k
4.0k views
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(Sall...
3 3 votes
1 answers 1 answer
1.5k
1.5k views
Match the following control strategies of protocol $:$$\begin{array}{} & \textbf{List – I} && \textbf{List – II} \\ \text{a.} & \text{Forward movement} & \text{i.} & \t...
3 3 votes
0 0 answers
1.7k
1.7k views
Which one of the following is the correct implementation of the meta-predicate “not” in PROLOG (Here G represents a goal)?not(G):- !, call(G), fail. not(G).no...
1 1 vote
0 0 answers
1.3k
1.3k views
The tracing model in Prolog describes program execution in terms of certain events. These events arecall and exitcall and failcall, exit and redocall, exit, redo and fail
To see more, click for the full list of questions or popular tags.