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 following statement? * (setf meals ‘(breakfast lunch tea dinner)) * (first meals) a) Breakfast b) Lunch c) Tea d) Dinner
How many items are available in mapping primitives are there? a) 3 b) 4 c) 5 d) 6
Which enables storage in procedurally indexed places in LISP? a) Defstruct b) Object c) Structure d) None of the mentioned
What is a data type in which expressions are stored in places identified by integer indexes in LISP? a) Structure b) List c) Array d) None of the mentioned
Explain what is List structures in Prolog?
What is the output of the given statement? * (setf pressure 3) * (when-plusp pressure (print ‘alarm)); a) Alarm b) Alarm Alarm c) 1 d) Nil
Explain what is CLOS in LISP? What are the goals of the common lisp object system?
Explain what is the difference between bagof/3 and setof/3 predicate in Prolog?
What is the process of creating new data types in lisp? a) List b) Structures c) Procedures d) None of the mentioned
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
Which can build new lists by depositing pointers in free boxes? a) Do b) Dobuild c) Cons d) None of the mentioned
What is the difference between the appearance of macro and ordinary definition in LISP? a) Argument list b) Reture value c) Just the defining keyword d) None of the mentioned