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 |
Mention what are the three functions required by LISP?
Which process helps to build large and complicated programs in LISP? a) Macros b) Procedure abstraction c) Defun d) None
Which makes it possible to define generic functions? a) Lisp b) CLOS c) Class d) Object-Oriented programming
How many types of variables are available in lisp? a) 1 b) 2 c) 3 d) 4
Explain what is slot and what are the most commonly used slot options?
Explain why matching variable is important in Prolog? What is the method to match variables?
What is the output of the following statement? * (setf meals ‘(breakfast lunch tea dinner)) * (cons (first meals) (last meals)) a) Breakfast b) Lunch c) Dinner d) Both a & c
Which has a template that calls for particularly peculiar argument evaluation? a) COND b) Consequent c) Trigger d) Sphere
Explain what is backtracking in Prolog?
What is the programming structure for LISP?
Mention who is referred as a Member in Prolog?
Which is uses their arguments to build intermediate forms and evaluating them to produce a value? a) Backquote b) Macros c) List d) Procedures
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)