0 votes 0 votes 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 names must start with upper case alphabets. Variables names must start with lower case alphabets. I, II III, IV I, III II, IV Artificial Intelligence ugcnetjune2014iii artificial-intelligence prolog + – go_editor asked Jan 5, 2017 recategorized May 28, 2020 by soujanyareddy13 go_editor 4.0k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
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 Prasanjeet Ghosh answered May 12, 2018 Prasanjeet Ghosh comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Ans: C Clause (representing fact or rule) in Prolog is terminated by full stop (.) Variable names are formed similar to function and predicate names but it must start with upper case letter. Normally, we use X, Y, Z, ... for variables. ref: http://www.cse.iitd.ac.in/~saroj/LFP/LFP_2013/L8.pdf rishu_darkshadow answered Sep 3, 2017 rishu_darkshadow comment Share Follow See all 0 reply Please log in or register to add a comment.