adplus-dvertising
frame-decoration

Question

What is the output of the given statement?
span class="sy0"> * (let ((p nil));
(print '(please type a patient name)) (setf p (read));
(print (append '(ok the name is) (list p)))p);

a.

Nil

b.

T

c.

Error

d.

The value you entered

Answer: (d).The value you entered

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 given statement?

Similar Questions

Discover Related MCQs

Q. Which primitive is used to connect the files with the streams?

Q. How many types of streams are available in lisp?

Q. Which stream is involved with print and format forms?

Q. What will happen if nil is supplied as second argument in read form?

Q. How many types of read forms are available in file manipulation?

Q. Which arranges for one object to be placed on another?

Q. How the put-on will succeed in lisp?

Q. Which should report when lisp is encountered with unexpected situations?

Q. Which causes procedures to print their arguments and values?

Q. Which stops evaluation so that you can evaluate forms?

Q. Which procedure is used to create data?

Q. How many values that a symbol may have?

Q. Which enables storage in symbolically indexed places?

Q. What is the collection of property names and values associated with a symbol?

Q. Which is used as writer for properties?

Q. Pick out the correct syntax in given order.

Q. What is a data type in which expressions are stored in places identified by integer indexes?

Q. Which symbol holds the first element and also an index?

Q. Which keyword is used to construct an array?

Q. Which is present in the writer procedure for arrays?