Mention what are the three functions required by LISP?



Mention what are the three functions required by LISP?..

Answer / chaitanya

For defining functions, macro named defun is used, it needs three arguments
• Name of the function
• Parameters of the function
• Body of the function

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More AI Languages Interview Questions

 Explain why matching variable is important in Prolog? What is the method to match variables?

1 Answers  


 What is the programming structure for LISP?

1 Answers  


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

1 Answers  


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

1 Answers  


Which forms can be constructed with the same primitives that manipulate lisp expressions? a) Lisp b) Macro c) Procedure d) Defun

1 Answers  






Which has a template that calls for particularly peculiar argument evaluation? a) COND b) Consequent c) Trigger d) Sphere

1 Answers  


 Explain why PROLOG language is stated as a procedural language?

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  


Which exploit the fact that lisp forms are just expressions meant to be evaluated? a) List b) Procedure c) Macro 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  


What is the output of the given statement in LISP? * (setf fact1 ‘(big computers are nice)) * (setf (first fact1) ‘fast) a) Big computers b) Fast c) Big computers are fast d) None of the mentioned

1 Answers  


 Explain what is SWI-Prolog?

1 Answers  


Categories