Wednesday, 17 June 2015

Q14,p3,j14. Which one of the following describes the syntax of prolog program ?



I. Rules and facts are terminated by full stop (.)
II. Rules and facts are terminatedby semicolon (;)
III. Variables names must start with upper case alphabets.
IV. Variables names must start  with lower case alphabets.
Codes :
(A) I, II (B) III, IV
(C) I, III (D) II, IV
 Answer C

No comments:

Post a Comment

Note: only a member of this blog may post a comment.