What is the output of the following statement in LISP?
* (setf thing ‘point r 1)
* (case thing (circle (*pi r r))(sphere (* 4 pi r r)) (otherwise 0))
a) 1
b) 0
c) 12.566
d) None of the mentioned
Explain LISP-Vectors?
What is the output of the given statement? * (defmethod area ((figure rectangle)) (* (rectangle-width figure) (rectangle-height figure))) a) Area b) Rectangle c) Height d) Error
Which enables storage in procedurally indexed places in LISP? a) Defstruct b) Object c) Structure d) None of the mentioned
Which is used to represent the prompt in lisp? a) # b) $ c) & d) *
Mention what is the difference between = and = = in Prolog?
Which has a template that calls for particularly peculiar argument evaluation? a) COND b) Consequent c) Trigger d) Sphere
Which process helps to build a large and complicated programs in LISP? a) Abstraction b) Mapping c) Data abstraction d) None of the mentioned
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
Which is used to construct new lists by linking the right pointers? a) Links b) List c) Variables d) Right pointers
In “cuts” what is the Parent goal in Prolog?
Which do not evaluate their arguments in LISP? a) List b) Procedure c) Setf d) Macros
Which is used to seperate the abstraction layers? a) Abstraction boundaries b) Data c) Procedure d) All of the mentioned