Mention why you have to use “is” instead of “=” in Prolog when it comes to applying calculation logic?
Answer Posted / chaitanya
“=” triggers unification in Prolog
“is” triggers arithmetic evaluation in Prolog
So, in Prolog you cannot use “=” when you want to calculate something like 2+4=6, but instead you have to use 2+4 is 6.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the output of the given statement? * (defclass article() ((title :accessor article-title :initarg :title) (author :accessor article-author :initarg :author))) * (defclass computer-article (article) ()) * (defclass business-article (article) ()) * (defclass political-article (article) ()) * (setf articles (list (make-instance ‘business-article :title “Memory Prices down”))) a) Business article b) Political article c) Business article
What does the language of fopl consist of?
Explain List of programming languages for artificial intelligence?
Explain List of artificial intelligence projects?
What are the different nlp tasks deep learning can be applied?