Explain what is the property list in LISP?



 Explain what is the property list in LISP?..

Answer / chaitanya

In LISP, a symbol represents a data-objects. It consists of component called Property list or plist. LISP enables to assign properties to symbols. A property list is executed as a list within an even numbers of elements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AI Languages Interview Questions

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

0 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  


 Which keyword embeds the initial element in an array in LISP? a) Initial b) Initial-content c) Initial-element d) None of the mentioned

1 Answers  


Mention what are the three functions required by LISP?

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 given statement in LISP? * (setf bins (make-array 2 :initial-element ‘e)) a) E b) E E c) E E E d) E E E E

1 Answers  


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

1 Answers  


Why LISP is used for Artificial Intelligence?

1 Answers  


 Mention what are the two pre-defined packages used in LISP?

1 Answers  


 What is the output of the given statement? * (setf day-or-date ‘monday) * (if (symbolp day-or-date) ‘day ‘date) a) Monday b) Day c) Date d) None of the mentioned

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)) * (person-personality person-instance-2) a) Female b) Nice c) Person d) Both a & b

1 Answers  


 What is the output of the following statement? * (setf breakfast ‘(eggs bacon toast tea)) * (cond ((> (length breakfast) 10) ‘glutton) ((not (endp breakfast)) ‘normal)(t ‘anorexic)) a) Anorexic b) Breakfast c) Eggs d) Normal

1 Answers  


Categories