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
Explain why PROLOG language is stated as a procedural language?
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
Mention what is the difference between Prolog and normal programming language?
How many access procedures are avilable in lisp? a) 1 b) 2 c) 3 d) 4
Mention what are the two pre-defined packages used in LISP?
Which primitive removes all but the last element from the list? a) Last b) First c) Remove d) Revoke
Is it possible to call LISP functions from other languages?
Which is uses their arguments to build intermediate forms and evaluating them to produce a value? a) Backquote b) Macros c) List d) Procedures
Which require sophisticated precedence compputation? a) Superclass b) Multiple Superclass c) Subclass d) None of the mentioned
What is the value of last consequent form in the triggered clause? a) Value of the entire COND b) Trigger c) Consequent d) All of the mentioned
. What is the output of the given statement? * (setf high 98 temperature 102) * (when (> temperature high) (setf high temperature) ‘new-record) * high a) 98 b) 102 c) new d) Error
What is the output of the following statement? * (setf p .6) * (cond ((> p .75) ‘very-likely)((> p .5) ‘likely)((> p .25) ‘unlikely)(t ‘very-unlikely)) a) Very-likely b) Likely c) Unlikely d) Very-unlikely