Time remaining
:
:
Test Status
JSJQUERYTEST6
Ques 1 :
JavaScript entities start with _______ and end with _________.
(A) Semicolon, colon
(B) Semicolon, Ampersand
(C) Ampersand, colon
(D) Ampersand, semicolon
Ques 2 :
var array1 = ["value"]; var array2 = ["value"]; array1 == array2
(A) True
(B) False
Ques 3 :
The ______ Method acts as explicit iterator.
(A) .hover()
(B) .all()
(C) .toggle()
(D) .each()
Ques 4 :
Which of the following best describes JavaScript?
(A) a low-level programming language.
(B) a scripting language pre-compiled in the browser.
(C) a compiled scripting language.
(D) an object-oriented scripting language.
Ques 5 :
Which of the following methods are array methods?
(A) reverse()
(B) join()
(C) slice()
(D) All of them
Ques 6 :
The .each method is the more convenient form of _______ loop.
(A) do while
(B) for
(C) for each
(D) None of these
Ques 7 :
Choose the server-side JavaScript object?
(A) FileUpLoad
(B) Function
(C) File
(D) Date
Ques 8 :
What is the output of the following code snippet?
typeof ([]), typeof (new Array())
(A) "array", "object"
(B) "object", "array"
(C) "array", "array"
(D) "object", "object"
Ques 9 :
jquery has _______ method for inserting element before other element.
(A) One
(B) Two
(C) Three
(D) Four
Ques 10 :
______method evaluates a string of JavaScript code in the context of the specified object.
(A) Eval
(B) ParseInt
(C) ParseFloat
(D) Efloat
Ques 11 :
__ returns true if a variable is an array, if not false.
(A) Array.isArray()
(B) Array.of()
(C) Array.from()
(D) Array.observe()
Ques 12 :
For coping the element ________ method is used.
(A) .copy()
(B) .clone()
(C) .coping()
(D) None of these
Ques 13 :
Which of the following is not considered a JavaScript operator?
(A) new
(B) this
(C) delete
(D) typeof
Ques 14 :
What is the output of the following code snippet?
var a = [1,2,3,4,5]; a.slice(0,3);
(A) [1,2,3]
(B) [4,5]
(C) [1,2,3,4]
(D) [1,2,3,4,5]
Ques 15 :
By default .clone() method copy any event.
(A) Yes
(B) No
Ques 16 :
Which of the following event fires when the form element loses the focus: <button>, <input>, <select>, <textarea>?
(A) onfocus
(B) onblur
(C) onclick
(D) ondblclick
Ques 17 :
The __ method of an Array object adds and/or removes elements from an array.
(A) reverse
(B) shift
(C) slice
(D) splice
Ques 18 :
AJAX stand for____________
(A) Alternate java script and XML
(B) Asynchronous java script and XML
(C) Asynchronous java and XML
(D) None of these
Ques 19 :
What does pop() method of the array do?
(A) removes the first element
(B) removes the last element
(C) adds the element to the array at the first position
(D) adds the element to the array at the last position
Ques 20 :
Using _______ statement is how you test for a specific condition.
(A) Select
(B) If
(C) Switch
(D) For
Submit Answer
Don't Refresh the Page !! ...