Explain what is LISP? Give an example of some of the popular applications built in LISP?
Answer / chaitanya
LISP stands for List Processing, it is also a high-level programming language based on formal functional calculus. This language is used for easy manipulation of data strings. It is used for Artificial Intelligence.
Some of the popular applications built in LISP are
• Yahoo Store
• AutoCad
• G2
Is This Answer Correct ? | 1 Yes | 0 No |
How data types are categorized in LISP?
Mention what are the three functions required by LISP?
Is it possible to call LISP functions from other languages?
Explain what is a predicate in LISP?
Mention what is the difference between Prolog and normal programming language?
What is the output of the given statement in LISP? * (Setf part-bins (make-array ‘(4))) * (setf (aref part-bins 0) ‘nails); * (setf (aref part-bins 1) ‘nuts); * (setf (aref part-bins 2) ‘bolts) * (setf (aref part-bins 3) ‘bike) * (aref part-bins 2) * (setf (aref part-bins 4) ‘car) a) Nails b) Nuts c) 2 d) Error
What is the output of the given statement? * (setf day-or-date ‘monday) * (if (symbolp day-or-date) ‘day ‘date) a) Monday b) Day c) Date d) None of the mentioned
What is the general pattern that shows how the various parts of an expression fit together? a) Template b) Pattern c) Match d) Both a & b
What is the output of the following statement? * (setf x ‘outside) * (let ((x ‘inside) (y x)) (list x y)) a) Outside b) Inside c) Inside Outside d) Outside Inside
Which is a procedures supplied by user in terms of primitives? a) Custom b) User-defined c) Definite d) All of the mentioned
Explain what is recursion in Prolog?
What is the output of the following statement? * ( first (rest (first ‘((a b) (c d))))) a) a b) b c) c d) d