Demonstrate with an example how you can code in LISP?



Demonstrate with an example how you can code in LISP?..

Answer / chaitanya

Almost everything in LISP is a function, even the mathematical operators.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AI Languages Interview Questions

What does the language of fopl consist of?

0 Answers  


 Which can be represented in bytes in LISP? a) Boxes and pointers b) Lists c) Lisp d) None of the mentioned

1 Answers  


 Which primitive removes all but the last element from the list? a) Last b) First c) Remove d) Revoke

1 Answers  


 What is the output of the given statement? * (evenp (* 10 8 6 4 2)) a) T b) F c) NIL d) All of the mentioned

1 Answers  


Which is used to build the lisp procedures?

1 Answers  






 What is the output of the following statement? * (setf book (book=author-writer book ‘(guy steele))) a) Guy b) Steele c) Error d) None of the mentioned

1 Answers  


 Which symbol holds the first element and also an index in LISP? a) Nail b) Tail c) Initial d) All of the mentioned

1 Answers  


Which creates reader procedures for getting things out of an instance fields? a) Structure in LISP b) Defstruct c) Class d) Object

1 Answers  


 What is the output of the given statement? * (setf pressure 3) * (when-plusp pressure (print ‘alarm)); a) Alarm b) Alarm Alarm c) 1 d) Nil

1 Answers  


Explain what is CLOS in LISP? What are the goals of the common lisp object system?

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  


Explain what is List structures in Prolog?

1 Answers  


Categories