Question
a.
returns a new list that is equal to <list> by copying the top-level element of <list>
b.
returns the length of <list>
c.
returns t if <list> is empty.
d.
All of the above
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. In LISP, the function (list-length <list>)
Similar Questions
Discover Related MCQs
Q. ART (Automatic Reasoning Tool) is designed to be used on:
View solution
Q. Which of the following function returns t If the object is a symbol m LISP?
View solution
Q. The symbols used in describing the syntax of a programming language are
View solution
Q. What S-expression consists of?
View solution
Q. All program statements and data in LISP are represented by S-expressions?
View solution
Q. What are the basic building blocks of S-expressions?
View solution
Q. If X and Y are S-expression then (X.Y) is a/an ____
View solution
Q. Atoms are considered as S-expressions.
View solution
Q. If S1, S2, S3… are S-expressions then list: (S1 S2 S3 ….) is a/an ____
View solution
Q. What are examples of some of the atoms?
View solution
Q. Which of the following can be considered as List?
View solution
Q. Is LISP a case sensitive language.
View solution
Q. What is the use of (WRITE ‘Argument)?
View solution
Q. Which of the following is part of basic syntax in LISP programming?
View solution
Q. Arguments are ____ a part of LISP Syntax.
View solution
Q. How many arguments do a single LISP program has?
View solution
Q. What is the basic syntax of LISP? (Note: arg means argument here)
View solution
Q. Can LISP programs be nested?
View solution
Q. Think of a way to write addition of four numbers using maximum possible braces?
View solution
Q. In the syntax (setf arg1 arg2), what is arg1?
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!