recategorized by
3,971 views
0 votes
0 votes

Which one of the following describes the syntax of prolog program?

  1. Rules and facts are terminated by full stop(.)
  2. Rules and facts are terminated by semi colon(;)
  3. Variables names must start with upper case alphabets.
  4. Variables names must start with lower case alphabets.
  1. I, II
  2. III, IV
  3. I, III
  4. II, IV
recategorized by

2 Answers

1 votes
1 votes

In Prolog Variables begin with an uppercase letter. Predicate names, function names, and the names for objects must begin with a lowercase letter. 
and Rules and facts are terminated by full stop (.)

ans is C

Answer:

Related questions

0 votes
0 votes
2 answers
2
0 votes
0 votes
2 answers
3
makhdoom ghaya asked Jul 9, 2016
2,272 views
Match the following $:$ $\begin{array}{cIcI} & \textbf{List – I} & & \textbf{List – II} \\ \text{a.} & \text{Expert systems}& \text{i.} & \text{Pragmatics} \\ \text{...
1 votes
1 votes
3 answers
4
makhdoom ghaya asked Oct 4, 2016
4,057 views
Which formal system provides the semantic foundation for Prolog ?Predicate calculusLambda calculusHoare logicPropositional logic