How many types of arguments are available in lisp?
1.2
2.3
3.4
4.5
Language model used in LISP is
1.Logic programming
2. Functional programming
3.Object oriented programming
4.All of the Above
Lists can be formed from ____
1.atoms
2.atoms and lists
3.lists
4.none of the mentioned
The files are specified as _ _ _ _ in LISP.
1.Strings
2.Characters
3.Booleans
4. All of the Above
What will be output of the following LISP program? (defun b(z) (+ z z) ) * (setq z 1) * (write b z)
1.Error
2.2
3.1
4. no output
What will be stored in Z at A & B? (defun b (z) z (Position A) (setf z '(u v)) ) * (setf z '(c d)) * (b z) * z (Position B)
1. (C D) (C D)
2. (C D) (U V)
3.(U V) (U V)
4. (U V (C D)
What will be the output of the following LISP statement?
1. “betterâ€â€betterâ€
2.“betterâ€
3. “better “betterâ€â€
4.error will occur
............. is the notation used for writing LISP Syntax.
1. Infix
2.Prefix
3.Postfix
4.None of above
Can write-line keyword be used for printing strings?
1.True
2.False
Does value of an actual parameter change in the procedure?
1.Yes
2.No
3.Sometimes
4.None of the mentioned
In lisp, what is meant by symbolic expression?
1.Atoms and list
2.Lists
3.Atoms
4.Numbers
In lisp, what is meant by symbolic expression?
1.Atoms and list
2.Lists
3.Atoms
4.Numbers
Is LISP a case sensitive language?
1.No
2.Yes
Symbol manipulation in LISP is called as _____
1. atoms
2.lists
3. list processing
4.none of the mentioned
The Lisp facilitates _ _ _ _ in computer science learning.
1.Clojure
2.Common LISP
3.Common LISP and Scheme
4.All of the Above
What can be used to print “yes, no�
1.(print “yes,noâ€)
2. (write “yes , no!â€)
3.(print “yes,â€)(print “,noâ€)
4.(print “yesâ€)(print “,â€)(print “noâ€)
What does Lisp stands for?
1. Like Processing
2.List Processing
3. Light Processing
4.None of above
What does Lisp stands for?
1. Like Processing
2.List Processing
3. Light Processing
4.None of above
What is the output of the following LISP program? (defun b(p) (+ p p) ) * (setq z 1) * (b z)
1.2
2.1
3.3
4.error
What is the output of the following LISP program? (defun raw(p) (if (equal p '(not cooked)) (setq q 'YES) (setq q 'NO))) (setq rice '(not cooked)) *(raw rice)
1.YES
2.NO
3.NIL
4.T
What will be the output of the following LISP statement?
1. “ABCâ€
2.ABC
3. ‘ABC
4.none of the mentioned
What will be the output of the following LISP statement?
1.|ABC|
2.ABC
3.“ABCâ€
4.None of the mentioned
What will be the output of the following LISP statement?
1.“betterâ€â€betterâ€
2.“betterâ€
3. error will occur
4.none of the mentioned
What will be the output of the following LISP statement?
1. welcome
2. “welcomeâ€
3.no output due to error
4.both welcome and “welcome†are possible
Which of the following are general-purpose dialects of LISP?
1.Clojure
2.Common LISP
3.Common LISP and Scheme
4. Clojure, Command LISP and Scheme
Which of the following is part of basic syntax in LISP programming?
1.+
2.#include
3.NULL
4.Primitive
Which of the following is the basic building blocks of S-expressions?
1.Lists
2.Atoms
3.Numbers
4.Predicates
Which of the following is used to build the lisp procedures?
1. Data
2. Definition
3.Primitives
4.All of the Above
Which of the following symbol is used to represent the prompt in lisp?
1. $
2.&
3. *
4.#
Which primitive is used to define a procedure?
1.defun
2.defpro
3.defin
4.def