adplus-dvertising
frame-decoration

Question

What is the output of the following statement?
span class="sy0"> * (defun make (title author) (list (list 'title title) (list 'author author)))
* (setf book (make '(Common Lisp) '(Guy steele)))

a.

Common Lisp

b.

Guy steele

c.

Make

d.

((TITLE (COMMON LISP)) (AUTHOR (GUY STEELE)))

Answer: (d).((TITLE (COMMON LISP)) (AUTHOR (GUY STEELE)))

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following statement?

Similar Questions

Discover Related MCQs

Q. Which makes the data to easily transform lists?

Q. To which procedure does mapcar is not restricted?

Q. Which forms offer an alternative to the recursive transformation cliche?

Q. How many procedures are available in lists to filter them?

Q. Which enables to define procedures that have procedure arguments?

Q. Which is a general strategy for controlling how a computation evolves?

Q. Which provides a way to write simple counting-oriented iteration procedures?

Q. What will happen if a dotimes form has no result form?

Q. What will be occupied in the first part of DO?

Q. Which are evaluated before initial binding?

Q. Which translate the procedures into equivalent computer instructions?

Q. Which primitive is used to create or modify a specified file?

Q. How the files are specified in lisp?

Q. Which has its own convention for doing the basic maneuvers?

Q. To which value does the lisp compiler is evaluated?

Q. What is produced from compile-file?

Q. What is the correct syntax form of the given statement?

Q. Which is used to compile individual procedures?

Q. Which can read expressions from data-files one at a time?

Q. Which evaluates the single argument and prints it on a new line?