Which abstractions have a prescribed behavior?
a) Auxiliary procedures
b) Procedure abstraction
c) Primary procedures
d) None of the mentioned
Name the sector where prolog programming language is used?
Why in prolog it is said that Program and Data are the same thing?
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
Mention what are the two pre-defined packages used in LISP?
What is the process of reserving a place in computer memory to store a value for a symbol? a) Storing b) Ranging c) Binding d) None of the mentioned
What is the output of the given statement? * (defstruct circle (radius 0)) * (defun area (figure) (cond ((circle-p figure) (* pi (expt (circle-radius figure) 2))))) * (setf circle (make-circle :radius 11)) * (area circle) a) 44 b) 380 c) 382 d) 380.132
Which primitive removes all but the last element from the list? a) Last b) First c) Remove d) Revoke
. 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
How many items are available in mapping primitives are there? a) 3 b) 4 c) 5 d) 6
Mention what is Cut (!) in Prolog and what is the advantage of ‘Cut’ and ‘Negation’?
Explain what is LISP? Give an example of some of the popular applications built in LISP?
Which can be represented in bytes in LISP? a) Boxes and pointers b) Lists c) Lisp d) None of the mentioned