Explore topic-wise MCQs in Technical MCQs.

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

1.

Some browsers do not allow spaces behind thecharacter.

A. Yes
B. No
C. Can be yes or no
D. Can not say
E.
Answer» B. No
2.

_________ cannot accept negative indexes.

A. slice()
B. substring()
C. both a and b
D. none of the above
Answer» C. both a and b
3.

JavaScript counts positions from?

A. 0
B. 1
C. -1
D. Can not say
Answer» B. 1
4.

_______ extracts a part of a string and returns the extracted part in a new string.

A. substring()
B. substr()
C. strlen()
D. slice()
Answer» E.
5.

Comparing two JavaScript objects always returns?

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
Answer» C. Can be true or false
6.

The _________ keyword complicates the code and slows down execution speed

A. this
B. let
C. new
D. none of the above
Answer» D. none of the above
7.

code is used for?

A. Backspace
B. Form Feed
C. New Line
D. Carriage Return
Answer» E.
8.

The ________ escape character turns special characters into string characters

A. \
B. /
C. |
D. #
Answer» B. /
9.

To find the length of a string, use the built-in _______ property.

A. size
B. length
C. area
D. strlen
Answer» C. area
10.

JavaScript strings are for ________ text.

A. storing
B. manipulating
C. both a and b
D. none of the above
Answer» D. none of the above