What is the output of the given statement in LISP?
* (setf part (make-array ‘(8 8)))
a) 8
b) 0 0 0 0 0 0 0 0
c) 0 0 0 0
d) 8 rows of 0
What is the output of the given statement in LISP? * (setf bins (make-array 2 :initial-element ‘e)) a) E b) E E c) E E E d) E E E E
What is the output of the given statement in LISP? * (setf bins (make-array 4 :initial-element ‘e)) * (aref bins 0) a) E b) 0 c) 4 d) None of the mentioned
Mention what is Cut (!) in Prolog and what is the advantage of ‘Cut’ and ‘Negation’?
What is meant by collection of methods the same name? a) Lisp class b) Class c) Generic function d) None of the mentioned
Which is used to build the lisp procedures?
What is the output of the following statement? *(setf thing ‘sphere r 1) * (cond ((eq thing ‘circle) (* pi r r)) ((* 4 pi r r))) a) 10.566 b) 11.5683 c) 12.56637 d) 13
How many items are available in mapping primitives are there? a) 3 b) 4 c) 5 d) 6
Is it possible to call LISP functions from other languages?
Which has a template that calls for particularly peculiar argument evaluation? a) COND b) Consequent c) Trigger d) Sphere
Why in prolog it is said that Program and Data are the same thing?
Mention what is the difference between Prolog and normal programming language?
Mention what is the difference between = and = = in Prolog?