Mention what is the difference between Prolog and normal programming language?
Answer / chaitanya
Prolog: It is a “declarative programming” language which means that you have to specify the goals, but not the strategy to reach the goal. It figures it out on its own.
Normal Programming language: Languages like C/C++/Java/Python are imperative (IP) languages that does specify instructions of how to reach some goal, but leaving the real goal implicit
| Is This Answer Correct ? | 4 Yes | 0 No |
Explain List of artificial intelligence projects?
What is the output of the following statement? * (setf meals ‘(breakfast lunch tea dinner)) * (cons (first meals) (last meals)) a) Breakfast b) Lunch c) Dinner d) Both a & c
Is it possible to call LISP functions from other languages?
Explain what is LISP constants?
Which exploit the fact that lisp forms are just expressions meant to be evaluated? a) List b) Procedure c) Macro d) None of the mentioned
Mention what are the three functions required by LISP?
What is the output of the following statement? * (+ 3.14 2.71) a) 3.14 b) 2.71 c) 5.84 d) 5.85
What is the output of the given statement? * (endp ‘(this is not empty)) a) T b) NIL c) Error d) None of the mentioned
Which primitive removes all but the last element from the list? a) Last b) First c) Remove d) Revoke
Which can build new lists by depositing pointers in free boxes? a) Do b) Dobuild c) Cons d) None of the mentioned
What is the difference between the appearance of macro and ordinary definition in LISP? a) Argument list b) Reture value c) Just the defining keyword d) None of the mentioned
Why LISP is used for Artificial Intelligence?
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)