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))
* (setf (person-surname person-instance-1) ‘winston)
a) Winston
b) Nil
c) T
d) Error
Mention what are the two pre-defined packages used in LISP?
Which is used to represent the prompt in lisp? a) # b) $ c) & d) *
What is the process of arranging procedures into layers? a) Procedure b) Abstraction c) Abstraction layers d) Procedure abstraction
Explain List of programming languages for artificial intelligence?
Which enables storage in procedurally indexed places in LISP? a) Defstruct b) Object c) Structure d) None of the mentioned
How data types are categorized in LISP?
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)) * (setf (person-surname person-instance-1) ‘winston) a) Winston b) Nil c) T d) Error
Why LISP is used for Artificial Intelligence?
Explain what is SWI-Prolog?
What is partly embedded in the knowledge of your programming for manipulating applications? a) Programming cliches b) Procedures c) Abstraction d) Data
Which keyword is used to construct an array in LISP? a) Array b) Make-array c) Bins d) Make
What is the output of the given statement in LISP? * (Setf part-bins (make-array ‘(4))) a) #Done b) #4 c) #(0 0 0 0) d) None of the mentioned