Question
(defun multiply(p q) (* p q))
*(cons 4 (multiply 2 4))
a.
(8 . 8)
b.
(4 . 4)
c.
(4 . 8)
d.
(8 . 4)
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 value of (cons q 4) after the execution of this LISP program?
Similar Questions
Discover Related MCQs
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
Q. What is the value of last consequent form in the triggered clause?
View solution
Q. What will happen if the value of all the test-forms are nil?
View solution
Q. Which has a template that calls for particularly peculiar argument evaluation?
View solution
Q. Which checks the evaluated key form against the unevaluated keys using EQL?
View solution
Q. Which process helps to build large and complicated programs?
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!