Which require sophisticated precedence compputation?
a) Superclass
b) Multiple Superclass
c) Subclass
d) None of the mentioned
Explain what is the importance of the hash table in LISP?
Which is used to construct new lists by linking the right pointers? a) Links b) List c) Variables d) Right pointers
Which makes it easy to identify the first entry encountered that satisfies a given predicate? a) Reusing b) Revoking c) Template d) Filtering
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 types of variables are available in lisp? a) 1 b) 2 c) 3 d) 4
Which is present in the writer procedure for arrays in LISP? a) Setf b) Aref c) Fref d) Both a & b
Explain what is SWI-Prolog?
What is the output of the given statement in LISP? * (Setf part-bins (make-array ‘(4))) * (setf (aref part-bins 0) ‘nails); * (setf (aref part-bins 1) ‘nuts); * (setf (aref part-bins 2) ‘bolts) * (setf (aref part-bins 3) ‘bike) * (aref part-bins 2) * (setf (aref part-bins 4) ‘car) a) Nails b) Nuts c) 2 d) Error
Explain List of artificial intelligence projects?
What are the variables that are bound and that have values assigned to them? a) Data b) Variable c) Parameters d) None of the mentioned
What is the output of the following statement? * (cdr ‘(a b c)) a) a b) B c) (B C) D) None of the mentioned
Which checks the evaluated key form against the unevaluated keys using EQL? a) COND b) CASE c) NIL d) SETF