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



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

Answer / chaitanya

c

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More AI Languages Interview Questions

Explain List of artificial intelligence projects?

0 Answers  


Mention how many types of variables available is LISP? Explain what are the variables that are bound, and that have values assigned to them?

1 Answers  


What is the output of the given statement? * (defstruct person (sex nil) (personality ‘nice)) * (setf person-instance-1 (make-person)) * (setf person-instance-2 (make-person :sex ‘female)) a) Person :sex female :personality nice b) Person :sex c) Sex:Female d) None of the mentioned

1 Answers  


What is the output of the given statement? * (setf toss ‘(heads tails tails tails heads tails)) * (delete ‘heads toss) * toss a) Heads tails b) Heads tails tails tails tails c) Heads d) None of the mentioned

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  






 What is the process of reserving a place in computer memory to store a value for a symbol? a) Storing b) Ranging c) Binding d) None of the mentioned

1 Answers  


 What is the output of the given statement in LISP? * (Setf part-bins (make-array ‘(4))) a) #Done b) #4 c) #(0 0 0 0) d) None of the mentioned

1 Answers  


 What is the output of the given statement in LISP? * (setf bins (make-array 4 :initial-element ‘e)) * (aref bins 0) a) E b) 0 c) 4 d) None of the mentioned

1 Answers  


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

0 Answers  


 Explain what is the property list in LISP?

1 Answers  


Which keyword is used to define the method? a) Defun b) Destruct c) Demake d) Defmethod

1 Answers  


 What is the output of the given statement? * (endp ‘(this is not empty)) a) T b) NIL c) Error d) None of the mentioned

1 Answers  


Categories