Interview Questions on C C++

Home  |  About Us  |  Contact
View Questions Contribute Training Misc..

Java Script Objective Questions - 24 Questions

You are here : Home » Java Script Objective Questions


Question: 1

(A) window.alert("cppbuzz");
(B) alert("cppbuzz");
(C) window("cppbuzz");
(D) alert("cppbuzz")

[Posted by: Admin | Location: Chicago, USA]



Question: 2

(A) True
(B) False

[Posted by: Admin | Location: Chicago, USA]



Question: 3

(A) cppbuzz
(B) cpp/buzz
(C) NaN
(D) None of the above

[Posted by: Admin | Location: Chicago, USA]



Question: 4

(A) Error in Script
(B) '10'20
(C) 1020
(D) 40

[Posted by: Admin | Location: Chicago, USA]



Question: 5

(A) Nothing is printed
(B) 0 is printed
(C) Infinity is printed
(D) Some Garbage Value

[Posted by: Admin | Location: Chicago, USA]



Question: 6

(A) 0
(B) undefined
(C) error
(D) NaN

[Posted by: Admin | Location: Chicago, USA]



Question: 7

(A) 1111
(B) 1110
(C) 1010
(D) 1011

[Posted by: Admin | Location: Chicago, USA]



Question: 8

(A) Error
(B) Nothing is printed
(C) 10
(D) 20

[Posted by: Admin | Location: Chicago, USA]



Question: 9

(A) 4
(B) 2 plus 2 is 4
(C) 2 plus 2 is 22
(D) 2 plus 2 is 2 + 2

[Posted by: Admin | Location: Chicago, USA]



Question: 10

(A) 2+2+ = 2 plus 2
(B) 4 + = 2 plus 2
(C) 4 = 2 plus 2
(D) Syntax Error

[Posted by: Admin | Location: Chicago, USA]



Question: 11

(A) True
(B) False

[Posted by: Admin | Location: Chicago, USA]



Question: 12

(A) Nothing is printed
(B) human
(C) Error
(D) NaN

[Posted by: Admin | Location: Chicago, USA]



Question: 13

(A) Yes
(B) No

[Posted by: Admin | Location: Chicago, USA]



Question: 14

(A) Error
(B) Nothing is printed
(C) 20
(D) 10

[Posted by: Admin | Location: Chicago, USA]



Question: 15

(A) Error
(B) Nothing is printed
(C) 10
(D) 11

[Posted by: Admin | Location: Chicago, USA]



Question: 16

(A) 10
(B) 11
(C) Nothing is printed
(D) Error

[Posted by: Admin | Location: Chicago, USA]



Question: 17

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

[Posted by: Admin | Location: Chicago, USA]



Question: 18

(A) 024
(B) 135
(C) Compilation Error
(D) 5

[Posted by: Admin | Location: Chicago, USA]



Question: 19

(A) 01234
(B) 12345
(C) 1234
(D) Compilation Error

[Posted by: Admin | Location: Chicago, USA]



Question: 20

(A) 01234
(B) 12345
(C) 1234
(D) Compilation Error

[Posted by: Admin | Location: Chicago, USA]



Question: 21

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

[Posted by: Admin | Location: Chicago, USA]



Question: 22

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

[Posted by: Admin | Location: Chicago, USA]



Question: 23

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

[Posted by: Admin | Location: Chicago, USA]



Question: 24

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

[Posted by: Admin | Location: Chicago, USA]



[Contribute Here]