Question
span class="sy0"> * (defun current (n);
(if (= n 1)
1
(+ (minus-one n) (minus-two n))))
* (defun minus-one (n)
(current (- n 1)))
* (defun minus-two (n)
(current (- n 2)))
a.
Minus-one
b.
Minus-two
c.
Error
d.
None of the mentioned
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 given statement?
Similar Questions
Discover Related MCQs
Q. Which procedure is used to create data?
View solution
Q. How many values that a symbol may have?
View solution
Q. Which enables storage in symbolically indexed places?
View solution
Q. What is the collection of property names and values associated with a symbol?
View solution
Q. Which is used as writer for properties?
View solution
Q. Pick out the correct syntax in given order.
View solution
Q. What is a data type in which expressions are stored in places identified by integer indexes?
View solution
Q. Which symbol holds the first element and also an index?
View solution
Q. Which keyword is used to construct an array?
View solution
Q. Which is present in the writer procedure for arrays?
View solution
Q. Which keyword embeds the initial element in an array?
View solution
Q. Which uses their arguments to build intermediate forms and evaluating them to produce a value?
View solution
Q. Which keyword is used to define macro procedures?
View solution
Q. Which do not evaluate their arguments?
View solution
Q. What is the difference between the appearance of macro and ordinary definition?
View solution
Q. Which forms can be constructed with the same primitives that manipulate lisp expressions?
View solution
Q. Which exploit the fact that lisp forms are just expressions meant to be evaluated?
View solution
Q. Pick out the correct statement about macro.
View solution
Q. Which mechanism makes it easy to create and to complete template like expressions?
View solution
Q. Which isolates an entire expression from evaluation?
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!
Software Engineering
Learn about the systematic approach to developing software with our Software...
Cyber Security
Understand the fundamentals of safeguarding digital assets with our Cyber Security...