What is the output of the following statement?
* (setf thing ‘point r 1)
* (case thing (circle (*pi r r))(sphere (* 4 pi r r)))
a) 1
b) 12.56637
c) NIL
d) T



What is the output of the following statement? * (setf thing ‘point r 1) * (case thing (circ..

Answer / chaitanya

c

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AI Languages Interview Questions

 Explain what is recursion in Prolog?

1 Answers  


What are the different nlp tasks deep learning can be applied?

0 Answers  


Explain what is the difference between bagof/3 and setof/3 predicate in Prolog?

1 Answers  


 What is the output of the following statement? * (cdr ‘(a b c)) a) a b) B c) (B C) D) None of the mentioned

1 Answers  


What does the language of fopl consist of?

0 Answers  






Explain with an example what is “Setof” predicate in Prolog?

1 Answers  


Why LISP is used for Artificial Intelligence?

1 Answers  


Explain what is Local Variables?

1 Answers  


 What is the output of the given statement in LISP? * (setf abc ‘(a b c) xyz ‘(x y z)) * (setf bc (rest abc)) * bc a) A b) B c) C d) BC

1 Answers  


How many types of variables are available in lisp? a) 1 b) 2 c) 3 d) 4

1 Answers  


 Which keyword embeds the initial element in an array in LISP? a) Initial b) Initial-content c) Initial-element d) None of the mentioned

1 Answers  


What will happen if the value of all the test-forms are nil? a) Nothing b) COND form is nil c) Both a & b d) None of the mentioned

1 Answers  


Categories