Question plugin based jQuery quiz

Which of the following is correct?
  • jQuery is a JSON Library
  • jQuery is a JavaScript Library
jQuery uses CSS selectors to select elements?
  • False
  • True
Which sign does jQuery use as a shortcut for jQuery?
  • the % sign
  • the ? sign
  • the $ sign
With jQuery, look at the following selector: $("div"). What does it select?
  • First Div Element
  • All div elements
Is jQuery a library for client scripting or server scripting?
  • Client Scripting
  • Server Scripting
Is it possible to use jQuery together with AJAX?
  • Yes
  • No
The jQuery html() method works for both HTML and XML documents
  • False
  • True
What is the correct jQuery code to set the background color of all p elements to red?
  • $("p").css("background-color","red");
  • $("p").layout("background-color","red");
  • $("p").style("background-color","red");
  • $("p").manipulate("background-color","red");
With jQuery, look at the following selector: $("div.intro"). What does it select?
  • The first div element with id="intro"
  • All div elements with class="intro"
  • The first div element with class="intro"
  • All div elements with id="intro"
Which jQuery method is used to hide selected elements?
  • display(none)
  • hidden()
  • visible(false)
  • hide()
Which jQuery method is used to set one or more style properties for selected elements?
  • style()
  • css()
  • html(false)
Which jQuery method is used to perform an asynchronous HTTP request?
  • jQuery.ajax()
  • jQuery.ajaxAsync()
  • jQuery.ajaxSetup()
What is the correct jQuery code for making all div elements 100 pixels high?
  • $("div").yPos(100)
  • $("div").height = "100"
  • $("div").height(100)
Which statement is true?
  • To use jQuery, you must buy the jQuery library at www.jquery.com
  • To use jQuery, you do not have to do anything. Most browsers (Internet Explorer, Chrome, Firefox and Opera) have the jQuery library built in the browser
  • To use jQuery, you can refer to a hosted jQuery library at Google
What scripting language is jQuery written in?
  • C++
  • VBScript
  • JavaScript
  • C#
Which jQuery function is used to prevent code from running, before the document is finished loading?
  • $(document).ready()
  • $(body).onload()
  • $(document).load()
Which jQuery method should be used to deal with name conflicts?
  • noConflict()
  • nameConflict()
  • noNameConflict()
  • conflict()
Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?
  • toggleClass()
  • switch()
  • switchClass()
  • altClass()
Look at the following jQuery selector: $("div#intro .head"). What does it select?
  • The first element with id="head" inside any div element with class="intro"
  • All div elements with id="intro" or class="head"
  • All elements with class="head" inside the first div element with id="intro"
Is jQuery a W3C standard?
  • Yes
  • No