Question
span class="sy0"> * (setf whole-list '(monday tuesday wednesday thursday friday))
* (defun both-ends ()(setf whole-list (cons (first whole-list) (last whole-list))))
a.
Monday
b.
BOTH-ENDS
c.
Friday Monday
d.
Monday Friday
Posted under Artificial Intelligence
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. In LISP, symbol represents a _____
View solution
Q. Which primitive is used to define a procedure?
View solution
Q. Can the parameters be passed to procedures in LISP?
View solution
Q. Can the actual parameters and formal parameters be of same name?
View solution
Q. Does value of an actual parameter change in the procedure?
View solution
Q. Which arranges for parameters to be bound on entering a procedure?
View solution
Q. How does LET generally begins with?
View solution
Q. What will happen if a variable had not assigned a value by SETF form?
View solution
Q. What is the alternative of LET for parameter binding?
View solution
Q. Which helps you to write procedures on complicated things?
View solution
Q. What is a procedure that returns a value that signals true or false?
View solution
Q. Which primitive tests two arguments to see if their values are the same expression?
View solution
Q. Which predicate tests to see if its first argument is an element of its second argument?
View solution
Q. What is meant by keyword argument?
View solution
Q. Which is used to produce a procedure object from a procedure name?
View solution
Q. Which of the following is used by member primitive to compare arguments?
View solution
Q. Which among these are the data type predicates?
View solution
Q. What is the use of zerop?
View solution
Q. Integerp and Zerop will be same __
View solution
Q. In clause what the zero or more additional forms are called?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Artificial Intelligence? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!