What is the output of the given statement in LISP?
* (setf bins (make-array 4 :initial-element ‘e))
* (aref bins 0)
a) E
b) 0
c) 4
d) None of the mentioned
Which is used to build the lisp procedures? a) Data b) Primitives c) Definition d) None of the mentioned
What should be used with structure names with a combination? a) Make- b) Make c) Create d) Deploy
Which has a template that calls for particularly peculiar argument evaluation? a) COND b) Consequent c) Trigger d) Sphere
What is the output of the given statement in LISP? * (setf l1 (list ‘a ‘b ‘c)) * (setf l2 (list ‘a ‘b)) * (setf l1 l2) a) A B b) A B C c) B C d) None of the mentioned
Which keyword is used to define macro procedures in LISP? a) Defun b) Demacro c) Defmacro d) None of the mentioned
Why in prolog it is said that Program and Data are the same thing?
Which is a procedures supplied by user in terms of primitives? a) Custom b) User-defined c) Definite d) All of the mentioned
Which process helps to build large and complicated programs in LISP? a) Macros b) Procedure abstraction c) Defun d) None
How the clause is called if it contains a test, as well as zero or more additional forms in LISP? a) Conditional b) Consequents c) Clause d) None of the mentioned
Which checks the evaluated key form against the unevaluated keys using EQL? a) COND b) CASE c) NIL d) SETF
Which is the primitive that creates new structure types in LISP? a) Defnum b) Deftype c) Defstruct d) None of the mentioned
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
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)