Which do not evaluate their arguments in LISP?
a) List
b) Procedure
c) Setf
d) Macros
Which is the primitive that creates new structure types in LISP? a) Defnum b) Deftype c) Defstruct d) None of the mentioned
What is partly embedded in the knowledge of your programming for manipulating applications? a) Programming cliches b) Procedures c) Abstraction d) Data
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
What is the output of the following statement? * (setf breakfast ‘(eggs bacon toast tea)) * (cond ((> (length breakfast) 10) ‘glutton) ((not (endp breakfast)) ‘normal)(t ‘anorexic)) a) Anorexic b) Breakfast c) Eggs d) Normal
Explain why PROLOG language is stated as a procedural language?
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?
Which require sophisticated precedence compputation? a) Superclass b) Multiple Superclass c) Subclass d) None of the mentioned
In “cuts” what is the Parent goal in Prolog?
How many access procedures are avilable in lisp? a) 1 b) 2 c) 3 d) 4
Mention what is the difference between = and = = in Prolog?
Pick out the correct statement about macro. a) Macro is dependant. b) Macro is interoperable c) Macro is complex d) Macro deserve their own file