CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL Javascript Linux Forum

You are here : Home » Javascript Objective Questions

Javascript Objective Questions - 48


Question: 1

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

DiscussOnForum
Beginner methods[Posted by: Admin | Chicago, USA]



Question: 2

(A) True
(B) False

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



Question: 3

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

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



Question: 4

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

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



Question: 5

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

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



Question: 6

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

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



Question: 7

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

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



Question: 8

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

DiscussOnForum
Beginner variables[Posted by: Admin | 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

DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 10

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

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



Question: 11

(A) True
(B) False

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



Question: 12

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

DiscussOnForum
Expert other[Posted by: Admin | Chicago, USA]



Question: 13

(A) Yes
(B) No

DiscussOnForum
Practitioner operators[Posted by: Admin | Chicago, USA]



Question: 14

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

DiscussOnForum
Beginner conditional[Posted by: Admin | Chicago, USA]



Question: 15

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

DiscussOnForum
Practitioner conditional[Posted by: Admin | Chicago, USA]



Question: 16

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

DiscussOnForum
Practitioner conditional[Posted by: Admin | Chicago, USA]



Question: 17

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

DiscussOnForum
Beginner loops[Posted by: Admin | Chicago, USA]



Question: 18

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

DiscussOnForum
Practitioner loops[Posted by: Admin | Chicago, USA]



Question: 19

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

DiscussOnForum
Practitioner loops[Posted by: Admin | Chicago, USA]



Question: 20

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

DiscussOnForum
Practitioner loops[Posted by: Admin | Chicago, USA]



Question: 21

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

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



Question: 22

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

DiscussOnForum
Practitioner 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

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



Question: 24

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

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



Question: 25

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

DiscussOnForum
Practitioner 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#

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



Question: 27

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

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



Question: 28

(A) True
(B) False

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



Question: 29

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

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



Question: 30

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

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



Question: 31

(A) True
(B) False

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



Question: 32

(A) True
(B) False

DiscussOnForum
Practitioner 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

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



Question: 34

(A) True
(B) False

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



Question: 35

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

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



Question: 36

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

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



Question: 37

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

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



Question: 38

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

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



Question: 39

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

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



Question: 40

(A) True
(B) False

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



Question: 41

(A) True
(B) False

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



Question: 42

(A) replace()
(B) append()
(C) slice()
(D) search()

DiscussOnForum
Practitioner variables[Posted by: Admin | Chicago, USA]



Question: 43

(A) Throws Error
(B) It returns the decimal values in string form
(C) If returns only the integer portion of the number
(D) None of the listed option

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



Question: 44

(A) Throws Error
(B) object
(C) Displays Nothing
(D) Current Date

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



Question: 45

(A) onclick
(B) onsubmit
(C) focuschange
(D) onchange

DiscussOnForum
Practitioner event[Posted by: Admin | Chicago, USA]



Question: 46

(A) Image
(B) Canvas
(C) MoveCursor
(D) Draw

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



Question: 47

(A) True
(B) False

DiscussOnForum
Beginner operators[Posted by: Admin | Chicago, USA]



Question: 48

(A) True
(B) False

DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



[Contribute Here]