Explain what is CLOS in LISP? What are the goals of the common lisp object system?
Answer / chaitanya
For writing object oriented programs, common LISP includes a set of operators, collectively they are called CLOS or Common Lisp Object System.
The common objective of LISP is to
• To fit common lisp in a natural way, in terms of functional notation and extending common LISP type
• To provide a smooth growth path and easy transitions for current users of flavors and common loops
• To provide a layered approach
• To provide both platforms for the efficient delivery of applications and language for powerful programing environment
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell Me In Autocad Software How Can U Find All Command List And How Can You Change Them Like L For Line After Changing You Can Use LLP As a Line Command
In “cuts” what is the Parent goal in Prolog?
Which is used to seperate the abstraction layers? a) Abstraction boundaries b) Data c) Procedure d) All of the mentioned
What is the output of the following statement in LISP? * (setf thing ‘point r 1) * (case thing (circle (*pi r r))(sphere (* 4 pi r r)) (otherwise 0)) a) 1 b) 0 c) 12.566 d) None of the mentioned
What is the difference between the appearance of macro and ordinary definition in LISP? a) Argument list b) Reture value c) Just the defining keyword d) None of the mentioned
Which makes it possible to define generic functions? a) Lisp b) CLOS c) Class d) Object-Oriented programming
How many access procedures are avilable in lisp? a) 1 b) 2 c) 3 d) 4
Demonstrate with an example how you can code in LISP?
Which do not evaluate their arguments in LISP? a) List b) Procedure c) Setf d) Macros
How many items are available in mapping primitives are there? a) 3 b) 4 c) 5 d) 6
Which keyword is used to define the method? a) Defun b) Destruct c) Demake d) Defmethod
Mention what is the difference between = and = = in Prolog?
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)