Thursday 3 September 2015

Latest Top jQuery Multiple Choice Questions And Answers

41.  What is jQuery?
a) jQuery is a library of JavaScript Functions.
b) jQuery stands for Structured Query Language
c) jQuery stands for Cascading Style Sheets.
d) jQuery communication between computers on the Internet.
Ans: A
42) The jQuery library contains the following features
a)  HTML element selections. HTML element manipulation .HTML event functions
b)  CSS manipulation. JavaScript Effects and animations. HTML DOM traversal and modification
c)  JavaScript Effects and animations. HTML DOM traversal and modification. AJAX. Utilities
d)  all of the above
Ans:D
43) AJAX and jQuery
a) jQuery provides a rich set of methods (functions) for AJAX web development.
b) With jQuery AJAX, you can request TXT, HTML, XML or JSON data from a remote server using both HTTP Get and HTTP Post.
c) a and b
d) AJAX and jQuery are cross-platform (you can develop in Windows and serve on a Unix platform)
Ans: C

44) Load remote data using HTTP GET
a) $.get(url,data,callback,type)
b) $.ajax(options)
c) $.post(url,data,callback,type)
d) $.getScript(url,callback)
Ans: A

45) Triggers, or binds a function to the error event of selected elements.
a) click()
b) error()
c) event.pageX
d) click.error()
Ans: B

46. What are the :odd and :even filters?
a) They allow you to determine if a number is odd or even.
b) They  allow you to determine if a specific element is in an odd or even position.
c) None of the above.
Ans: B
47. When referencing an HTML element preceded by a # (pound or hash), what javascript function is this equivalent to?
a) getElementById
b) getElementByClassName
c) getElementByTagName
d) None of the above
Ans: A

48. When referencing an HTML element preceded by a . (dot), what javascript function is this equivalent to?
a) getElementById
b) getElementByClassName
c) getElementByTagName
d) None of the above
Ans: D

49. What is the each function used for?
a) The Each function allows you to loop though every element in a parent element.
b) The Each function allows you to put the word "Each" into each element
c) The Each function allows you to loop through different elements with a class or ID.
d) None of the above.
Ans: C

50. What is the difference between Hover and Mouseover
a) Mouseover allows you to specify an optional function to use for the mouseout event
b) Hover allows you to specify an optional function to use for the mouseout event
c) No Difference; Mouseover and Hover are the same
Ans: B

More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6

No comments:

Post a Comment