Which creates reader procedures for getting things out of an instance fields?
a) Structure in LISP
b) Defstruct
c) Class
d) Object
What should be used with structure names with a combination? a) Make- b) Make c) Create d) Deploy
What is the output of the given statement? * (setf day-or-date ‘monday) * (if (symbolp day-or-date) ‘day ‘date) a) Monday b) Day c) Date d) None of the mentioned
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
Why LISP is used for Artificial Intelligence?
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
Why in prolog it is said that Program and Data are the same thing?
Explain what is List structures in Prolog?
What is the output of the following statement? * (defun (input-list) (if (endp input-list) nil (cons ( (first input-list)) ( (rest input-list))))) a) Procedure b) Transforming c) Input d) Error
What is meant by collection of methods the same name? a) Lisp class b) Class c) Generic function d) None of the mentioned
How many types of variables are available in lisp? a) 1 b) 2 c) 3 d) 4
Mention who is referred as a Member in Prolog?
Explain what is backtracking in Prolog?