What is the output of the following statement?
* (setf meals ‘(breakfast lunch tea dinner))
* (cons (first meals) (last meals))
a) Breakfast
b) Lunch
c) Dinner
d) Both a & c
Which can build new lists by depositing pointers in free boxes? a) Do b) Dobuild c) Cons d) None of the mentioned
Which is used to build the lisp procedures?
Explain what is setq is used for in LISP?
What is the output of the following statement? * (cdr ‘(a b c)) a) a b) B c) (B C) D) None of the mentioned
Explain List of programming languages for artificial intelligence?
What should be used with structure names with a combination? a) Make- b) Make c) Create d) Deploy
What is the output of the following statement? * (defun both-ends-with-special ()(setf whole-list (cons (first whole-list) (last whole-list)))) * (setf whole-list ‘(monday tuesday wednesday thursday friday)) * (both-ends-with-special) a) Monday b) Friday c) Wednesday d) Both a & b
Why in prolog it is said that Program and Data are the same thing?
Demonstrate with an example how you can code in LISP?
Explain List of artificial intelligence projects?
What is the output of the given statement in LISP? * (setf l1 (list ‘a ‘b ‘c)) * (setf l2 (list ‘a ‘b)) * (setf l1 l2) a) A B b) A B C c) B C d) None of the mentioned
Which is used to construct new lists by linking the right pointers? a) Links b) List c) Variables d) Right pointers