Time remaining
:
:
Test Status
JSJQUERYRANDOMTEST
Ques 1 :
What should appear at the very end of your JavaScript?
The
(A) The <script>
(B) The </script>
(C) The END statement
(D) None of the above
Ques 2 :
Which of the following is not a JavaScript datatype?
(A) Boolean
(B) Number
(C) String
(D) Function
Ques 3 :
To deal with cookies in JQuery we have to use ______ cookie plugin
(A) Dough
(B) Session
(C) Dazzler
(D) None of these
Ques 4 :
Which built-in method returns the character at the specified index?
(A) characterAt()
(B) getCharAt()
(C) charAt()
(D) None of the above.
Ques 5 :
Which sign does jQuery use as a shortcut for jQuery?
(A) the $ sign
(B) the ? Sign
(C) the % sign
Ques 6 :
What is the output? x = 100 / "Mango";
(A) null
(B) undefined
(C) NaN
(D) Infinity
Ques 7 :
What does the $('#myDiv').hover() method do?
(A) It binds the functions you pass as parameters, to the mouseenter and mouseleave events.
(B) Converts the element upon which it was called, into a hoverable menu.
Ques 8 :
Which JQuery function is used to prevent code from running, before the document is finished loading?
(A) $(document).load()
(B) $(document).ready()
(C) $(body).onload()
Ques 9 :
Which of the following type of variable is visible everywhere in your JavaScript code?
(A) global variable
(B) local variable
(C) Both of the above.
(D) None of the above.
Ques 10 :
Which of the following methods are array methods?
(A) reverse()
(B) join()
(C) slice()
(D) All of them
Ques 11 :
$('p').click(function(){
// Code here
});
Inside the commented section, the value of the variable this is a..
(A) Array
(B) String
(C) Reference to the DOM node
(D) jQuery object
Ques 12 :
Which of the following is not a valid JavaScript variable name?
(A) 2names
(B) _first_and_last_names
(C) FirstAndLast
(D) None of the above
Ques 13 :
Is JQuery a library for client scripting or server scripting?
(A) Client scripting
(B) Server scripting
Ques 14 :
__ statement is used to test for a specific condition.
(A) Select
(B) If
(C) Switch
(D) For
Ques 15 :
Which of the following is a valid type of function javascript supports?
(A) named function
(B) anonymous function
(C) Both of the above.
(D) None of the above.
Ques 16 :
Which of the following attribute can hold the JavaScript version?
(A) language
(B) script
(C) version
(D) none of the above
Ques 17 :
Which built-in method returns the calling string value converted to upper case?
(A) toUpperCase()
(B) toUpper()
(C) changeCase(case)
(D) None of the above.
Ques 18 :
Which of the following jQuery method remove all or the specified class(es) from the set of matched elements?
(A) removeClass( class )
(B) removeStyleClass( class )
(C) removeCSSClass( class )
(D) None of the above.
Ques 19 :
$('#masterList').find('li').width(500).addClass('selected');
The phenomena occurring in the above code is called?
(A) Chaining
(B) Event bubbling
(C) AJAX
(D) Animating
Ques 20 :
What is the correct JQuery code for making all div elements 100 pixels high?
(A) $("div").height="100"
(B) $("div").height(100)
(C) $("div").yPos(100)
Submit Answer
Don't Refresh the Page !! ...