09th
Jun
LISP MCQ

LISP MCQ

  • Admin
  • 09th Jun, 2022
  • 307 Followers

LISP MCQ

Following are mostly asked Lisp MCQ test that are designed for professionals like you to crack you interviews. You can take this Lisp online test before appearing to you real interview. This Lisp quiz there are around 30+ multiple choice questions on Lisp with four options.

1) LISP is an acronym for "___".

  • A. List Processing
  • B. Level Processing
  • C. Lite system processing
  • D. None of the above

2) What is LISP?

  • A. It is a programming language that is used for manipulation of data strings.
  • B. It is a framework that was designed for easy manipulation of data strings.
  • C. It is a platform that is used for manipulation of data strings.
  • D. None of the above

3) LISP was developed in ___.

  • A. 1959
  • B. 1980
  • C. 1956
  • D. None of the above

4) LISP was developed by ___.

  • A. James Gosling
  • B. John McCarthy
  • C. Lady Ada
  • D. Dennis Richei

5) LISP is a commonly used language for artificial intelligence (AI) programming.

  • A. True
  • B. False
Download Free : LISP MCQ PDF

6) What will happen if a variable had not assigned a value by SETF form?

  • A. Warning
  • B. Nothing will happen
  • C. Error message
  • D. Crash

7) What is the alternative of LET for parameter binding?

  • A. Let
  • B. Let*
  • C. Let^
  • D. Let%

8) How does LET generally begins with?

  • A. Parameter list
  • B. Data
  • C. Fence
  • D. None of the mentioned

9) What are the three functions required by LISP?

  • A. Name of the function
  • B. Parameters of the function
  • C. Body of the function
  • D. All of these

10) Which is used to produce a procedure object from a procedure name?

  • A. EQ
  • B. #
  • C. EQUAL
  • D. None of the above

11) The original LISP machines produced by both LMI and Symbolics were based on research performed at __.

  • A. CMU
  • B. MIT
  • C. Stanford University
  • D. RAMD

12) Which predicate tests to see if its first argument is an element of its second argument?

  • A. EQ
  • B. =
  • C. MEMBER
  • D. None of the above

13) What is the programming structure for LISP?

  • A. Atom
  • B. Lists
  • C. String
  • D. All of the above

14) Which forms offer an alternative to the recursive transformation cliche?

  • A. Mapcar
  • B. Maplist
  • C. Mapdata
  • D. All of the above

15) Which one of the following is not the feature of LISP programming language?

  • A. It allows updating the programs dynamically.
  • B. It is machine-independent.
  • C. It provides high level debugging.
  • D. None of the above

16) Which symbol is used for indicating a comment line in LISP?

  • A. ;
  • B. :
  • C. //
  • D. '

17) The ___ function returns the data type of a given object.

  • A. type-of
  • B. typep
  • C. defvar
  • D. None of the above

18) Global variables in LISP are generally declared using the ___ construct.

  • A. prog
  • B. format
  • C. defvar
  • D. All of the above

19) In LISP, Constants are declared using the ___ construct.

  • A. defconstant
  • B. defvar
  • C. terpri
  • D. None of the above

20) The macro named __ is used to define functions in LISP.

  • A. defun
  • B. devar
  • C. defunction
  • D. None of the above

21) What is meant by keyword argument?

  • A. Arguments that follows a keyword
  • B. Lists
  • C. Data
  • D. Procedure

22) What is a procedure that returns a value that signals true or false?

  • A. List
  • B. Predicates
  • C. Data
  • D. None of the above

23) Is LISP case-insensitive language?

  • A. Yes
  • B. No

24) Which primitive tests two arguments to see if their values are the same expression?

  • A. Equal
  • B. Eql
  • C. Eq
  • D. =

25) Which is the commonly used programming language for AI?

  • A. LISP
  • B. Java
  • C. Perl
  • D. Java script

26) The expert system developed at MIT to solve mathematical problems is known as ___.

  • A. RAND
  • B. ISIS
  • C. MACSYMA
  • D. MOLGEN

27) ___ language is used in the areas of pattern recognition, artificial intelligence & simulation of games.

  • A. APL
  • B. FORTH
  • C. LISP
  • D. CORAL

28) LISP machines also are known as __.

  • A. AI workstations
  • B. time-sharing terminals
  • C. super mini computers
  • D. All of the above

29) __ company offers the LISP machine considered to be "the most powerful symbolic processor available".

  • A. LMI
  • B. Symbolics
  • C. Xerox
  • D. Texas Instruments

30) Which of the following is the function evaluates both <variable> and <object> in LISP?

  • A. set
  • B. setq
  • C. add
  • D. eva

31) In AI programming, a list may contain __.

  • A. cells
  • B. fields
  • C. pointers
  • D. All of the above

32) Which of the following is a special program that assist programmers?

  • A. heuristic processors
  • B. symbolic programmers
  • C. intelligent programming tools
  • D. program recognizers

33) Which of the following function returns t if is even and nil otherwise in LISP?

  • A. (evenp <integer>)
  • B. (even <integer>)
  • C. (numeven <integer>)
  • D. (numnevenp <integer>)

34) Which of the following is the atom that stands for "true"?

  • A. ml
  • B. y
  • C. t
  • D. time

35) ART (Automatic Reasoning Tool) is designed to be used on ___.

  • A. LISP machines
  • B. personal computers
  • C. microcomputers
  • D. All of the above

36) ART stands for ___.

  • A. Automatic Reason Tool
  • B. Auto Reasoning Tool
  • C. Automatic Reasoning Tool
  • D. All of the above

37) Which of the following symbol is used in describing the syntax of a programming language LISP?

  • A. ()
  • B. ""
  • C. <>
  • D. None of the above

38) Which function assigns the value of a to b in LISP?

  • A. (setq a b)
  • B. (setq b a )
  • C. (b = a)
  • D. (set b equal a)
  • E. (set b = a)

39) Which of the following is renders as the function X (x).(2x+l)?

  • A. (+ lambda (x) 1 (*2x))
  • B. (lambda (x) (+1 (* 2x)
  • C. (lambda (x) (+(*2 x)l))
  • D. (* lambda(x) (+2x1)

40) Which of the following function returns t if the object is a number in LISP?

  • A. (number <object>)
  • B. (numericp <object>)
  • C. (numberp <object>)
  • D. (numeric <object>)

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Jun
Html5 MCQ
01st
Jun
MongoDB MCQ
01st
Jun
JSF MCQ
01st
May
AutoCAD MCQ