adplus-dvertising
frame-decoration

Question

What is the output of the following statement?
span class="sy0"> * (setf thing 'point r 1)
* (case thing (circle (*pi r r))(sphere (* 4 pi r r)) (otherwise 0))

a.

1

b.

0

c.

12.566

d.

None of the mentioned

Answer: (b).0

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 is bounded to a list of all unaccounted argument values?

Q. Which allow procedures to use themselves again?

Q. Which eliminate the need for many auxiliaries?

Q. Which can appear without an initial form?

Q. What value will assigned, if there is no argument marked by a matching keyword?

Q. Which process helps to build a large and complicated programs?

Q. What is partly embedded in the knowledge of your programming for manipulating applications?

Q. How many items are available in mapping primitives are there?

Q. Which makes it easy to identify the first entry encountered that satisfies a given predicate?

Q. How many access procedures are available in lisp?

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?