Explore topic-wise MCQs in Lisp.

This section includes 19 Mcqs, each offering curated multiple-choice questions to sharpen your Lisp knowledge and support exam preparation. Choose a topic below to get started.

1.

What is the return type of the substr() function?

A. int
B. long
C. byte
D. string
Answer» E.
2.

Which of these functions are used to partially or fully substitute a string?

A. replace()
B. size()
C. subs()
D. substring()
Answer» B. size()
3.

How many arguments does the at() function take?

A. 0
B. 1
C. 2
D. 3
Answer» C. 2
4.

How many arguments does the back() function take?

A. 0
B. 1
C. 2
D. 3
Answer» B. 1
5.

What is the return type of the front() function?

A. char
B. int
C. long
D. short
Answer» B. int
6.

Which of the following escape sequences placed at the end of a string makes the string a Null Terminated String?

A. ‘\p’
B. ‘\u’
C. ‘\0’
D. ‘\1’
Answer» D. ‘\1’
7.

What is the function of the strcmp() function?

A. To compare two strings
B. To compile two strings
C. To concatenate two strings
D. To converge two strings
Answer» B. To compile two strings
8.

What is the minimum number of arguments that the strcpy() function accept?

A. 4
B. 3
C. 2
D. 1
Answer» D. 1
9.

What is the special escape sequence for newline in C++?

A. ‘\b’
B. ‘\m’
C. ‘\n’
D. ‘\\’
Answer» D. ‘\\’
10.

WHICH_IS_INCLUDED_IN_COMMON_LISP_TO_AVAIL_THE_FEATURE_OF_OBJECT_ORIENTED_PROGRAMMING??$

A. CLOS
B. Object
C. Data
D. None of the mentioned
Answer» B. Object
11.

What_does_the_Lisp_facilitates_in_computer_science_learning?$

A. Procedure abstraction
B. Data abstraction
C. Both Procedure & Data abstraction
D. None of the mentioned
Answer» D. None of the mentioned
12.

How many types of arguments are available in lisp?

A. 1
B. 2
C. 3
D. 4
Answer» E.
13.

Which have the same form on lisp?

A. Lisp data and procedures
B. Types
C. Form
D. None of the mentioned
Answer» B. Types
14.

In which computer aspects does the lisp language is used?

A. Application programming
B. System programming
C. Computer science education
D. All of the mentioned
Answer» E.
15.

Which language is used when computer intelligence is not involved?

A. C
B. C++
C. Java
D. Lisp
Answer» E.
16.

Which uses symbolic expressions in lisp to work with datas?

A. Symbol manipulation program
B. Procedures
C. Lists
D. None of the mentioned
Answer» B. Procedures
17.

What is meant by symbolic expression in lisp?

A. Atoms
B. List
C. Atoms and list
D. Words
Answer» D. Words
18.

How the fundamental things are called in lisp?

A. Bits
B. Word
C. Atoms
D. None of the mentioned
Answer» D. None of the mentioned
19.

What is the full form of LISP?

A. Light Processing
B. List Processing
C. Like Processing
D. None of the mentioned
Answer» C. Like Processing