Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » JavaScript Objective Questions

JavaScript Objective Questions Set-2 (48)

Showing 21 - 48 of 48


Question: 21

(A) 012345
(B) 01234
(C) 135
(D) 13

Level: Practitioner Category: arrays
[Posted by: Admin | Chicago, USA]


Question: 22

(A) Error
(B) Nothing is printed
(C) Javascript
(D) JavascriptJavascript

Level: Practitioner Category: arrays
[Posted by: Admin | Chicago, USA]


Question: 23

(A) It is Error
(B) Nothing is printed
(C) 0 is the output
(D) NaN is the output

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 24

(A) 1
(B) 0
(C) NaN
(D) None of the above

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 25

(A) <h1>Javascript Questions</h1>
(B) Javascript Questions
(C) Error
(D) "<h1>Javascript Questions</h1>"

Level: Practitioner Category: methods
[Posted by: Admin | Chicago, USA]


Question: 26

(A) 77.300000#77#123#2.34#
(B) 77.300000#77#123#2#
(C) 77.300000#77#123#234#
(D) 77.3#77#123#2.34#

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 27

(A) 350
(B) 25496
(C) 254-96
(D) Error

Level: Expert Category: regularexpressions
[Posted by: Admin | Chicago, USA]


Question: 28

(A) True
(B) False

Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]


Question: 29

(A) 9 & 12345
(B) 9 & 5
(C) 9 & 15
(D) 5 & 15

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 30

(A) join()
(B) concat()
(C) connect()
(D) add()

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 31

(A) True
(B) False

Level: Practitioner Category: arrays
[Posted by: Admin | Chicago, USA]


Question: 32

(A) True
(B) False

Level: Practitioner Category: arrays
[Posted by: Admin | Chicago, USA]


Question: 33

(A) Yes, it provides try, catch as well as throw key word for exception handling
(B) Yes, but it provides only try block
(C) Yes, but it provides only Try catch block, but does not allow throw exception
(D) No

Level: Expert Category: exceptions
[Posted by: Admin | Chicago, USA]


Question: 34

(A) True
(B) False

Level: Expert Category: exceptions
[Posted by: Admin | Chicago, USA]


Question: 35

(A) OnMouseKeyDown
(B) OnMouseKeyUp
(C) onMouseout
(D) onMouseover

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 36

(A) onkeyboardpress
(B) onkeydown
(C) onfocus
(D) onclick

Level: Practitioner Category: other
[Posted by: Admin | Chicago, USA]


Question: 37

(A) clearsetTimeout()
(B) stopTimeout()
(C) clearTimeout()
(D) cancelTimeout()

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 38

(A) Alert Box
(B) Prompt Box
(C) Confirm Box
(D) Message Box

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 39

(A) isNaN()
(B) nonNaN()
(C) NaN()
(D) None of the listed option

Level: Expert Category: methods
[Posted by: Admin | Chicago, USA]


Question: 40

(A) True
(B) False

Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]