Which keyword is used to define the method?
a) Defun
b) Destruct
c) Demake
d) Defmethod
How many access procedures are avilable in lisp? a) 1 b) 2 c) 3 d) 4
What is the output of the following statement? * (setf p .6) * (cond ((> p .75) ‘very-likely)((> p .5) ‘likely)((> p .25) ‘unlikely)(t ‘very-unlikely)) a) Very-likely b) Likely c) Unlikely d) Very-unlikely
Explain LISP-Vectors?
What is the value of last consequent form in the triggered clause? a) Value of the entire COND b) Trigger c) Consequent d) All of the mentioned
What is the output of the following statement? * (first ‘( p h w)) a) P b) H c) W d) phw
Which enables storage in procedurally indexed places in LISP? a) Defstruct b) Object c) Structure d) None of the mentioned
Which primitive removes all but the last element from the list? a) Last b) First c) Remove d) Revoke
What is the output of the given statement? * (defstruct person (sex nil) (personality ‘nice)) * (setf person-instance-1 (make-person)) * (setf person-instance-2 (make-person :sex ‘female)) * (person-personality person-instance-2) a) Female b) Nice c) Person d) Both a & b
Explain List of programming languages for artificial intelligence?
Which class can help to select a method? a) Nonoptional argument b) Class c) Method d) None of the method
Explain what is the difference between bagof/3 and setof/3 predicate in Prolog?
What is the other name of boxes in LISP? a) Cons cells b) Conses c) Both a & b d) None of the mentioned