bidezones.com /Common Lisp/Common Lisp MCQ Interview Questions for Freshers Sample Test,Sample questions

Question:
 How many types of arguments are available in lisp? 

1.2

2.3

3.4

4.5

Posted Date:-2021-11-29 13:32:02


Question:
 Language model used in LISP is 

1.Logic programming

2. Functional programming

3.Object oriented programming

4.All of the Above

Posted Date:-2021-11-29 13:36:48


Question:
 Lists can be formed from ____

1.atoms

2.atoms and lists

3.lists

4.none of the mentioned

Posted Date:-2021-11-29 13:15:47


Question:
 The files are specified as _ _ _ _ in LISP. 

1.Strings

2.Characters

3.Booleans

4. All of the Above

Posted Date:-2021-11-29 13:37:32


Question:
 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

Posted Date:-2021-11-29 13:43:24


Question:
 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)

Posted Date:-2021-11-29 13:44:13


Question:
 What will be the output of the following LISP statement?

1. “better””better”

2.“better”

3. “better “better””

4.error will occur

Posted Date:-2021-11-29 13:19:54


Question:
............. is the notation used for writing LISP Syntax. 

1. Infix

2.Prefix

3.Postfix

4.None of above

Posted Date:-2021-11-29 13:26:37


Question:
Can write-line keyword be used for printing strings?

1.True

2.False

Posted Date:-2021-11-29 13:17:58


Question:
Does value of an actual parameter change in the procedure?

1.Yes

2.No

3.Sometimes

4.None of the mentioned

Posted Date:-2021-11-29 13:41:32


Question:
In lisp, what is meant by symbolic expression?

1.Atoms and list

2.Lists

3.Atoms

4.Numbers

Posted Date:-2021-11-29 13:29:46


Question:
In lisp, what is meant by symbolic expression?

1.Atoms and list

2.Lists

3.Atoms

4.Numbers

Posted Date:-2021-11-29 13:30:12


Question:
Is LISP a case sensitive language?

1.No

2.Yes

Posted Date:-2021-11-29 13:13:12


Question:
Symbol manipulation in LISP is called as _____

1. atoms

2.lists

3. list processing

4.none of the mentioned

Posted Date:-2021-11-29 13:15:02


Question:
The Lisp facilitates _ _ _ _ in computer science learning. 

1.Clojure

2.Common LISP

3.Common LISP and Scheme

4.All of the Above

Posted Date:-2021-11-29 13:34:00


Question:
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”)

Posted Date:-2021-11-29 13:17:37


Question:
What does Lisp stands for? 

1. Like Processing

2.List Processing

3. Light Processing

4.None of above

Posted Date:-2021-11-29 13:27:57


Question:
What does Lisp stands for? 

1. Like Processing

2.List Processing

3. Light Processing

4.None of above

Posted Date:-2021-11-29 13:28:13


Question:
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

Posted Date:-2021-11-29 13:42:36


Question:
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

Posted Date:-2021-11-29 13:45:05


Question:
What will be the output of the following LISP statement?

1. “ABC”

2.ABC

3. ‘ABC

4.none of the mentioned

Posted Date:-2021-11-29 13:18:36


Question:
What will be the output of the following LISP statement?

1.|ABC|

2.ABC

3.“ABC”

4.None of the mentioned

Posted Date:-2021-11-29 13:19:15


Question:
What will be the output of the following LISP statement?

1.“better””better”

2.“better”

3. error will occur

4.none of the mentioned

Posted Date:-2021-11-29 13:23:33


Question:
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

Posted Date:-2021-11-29 13:24:18


Question:
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

Posted Date:-2021-11-29 13:16:26


Question:
Which of the following is part of basic syntax in LISP programming?

1.+

2.#include

3.NULL

4.Primitive

Posted Date:-2021-11-29 13:14:06


Question:
Which of the following is the basic building blocks of S-expressions?

1.Lists

2.Atoms

3.Numbers

4.Predicates

Posted Date:-2021-11-29 13:12:21


Question:
Which of the following is used to build the lisp procedures? 

1. Data

2. Definition

3.Primitives

4.All of the Above

Posted Date:-2021-11-29 13:35:21


Question:
Which of the following symbol is used to represent the prompt in lisp?

1. $

2.&

3. *

4.#

Posted Date:-2021-11-29 13:34:39


Question:
Which primitive is used to define a procedure?

1.defun

2.defpro

3.defin

4.def

Posted Date:-2021-11-29 13:40:30


More MCQS[bidezones.com ]

  1. Common Lisp MCQ Interview Questions for Freshers