Sail E0 Webinar

MCQs

Total Questions : 25 | Page 3 of 3 pages
Question 21. Which of the following is a single global function defined in the jQuery library?
  1.    jQuery()
  2.    $()
  3.    Queryanalysis()
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> jQuery()




Question 22. Look at the following jQuery selector: $("div#intro .head). What does it select?
  1.    The first element with id="head" inside any div element with class="intro"
  2.    All elements with class="head" inside the first div element with id="intro"
  3.    All div elements with id="intro" or class="head"
  4.    None
 Discuss Question
Answer: Option B. -> All elements with class="head" inside the first div element with id="intro"




Question 23. $.foo() is equivalent to
  1.    javascript.foo()
  2.    document.foo()
  3.    jQuery.foo()
  4.    None of the above
 Discuss Question
Answer: Option C. -> jQuery.foo()




Question 24. Which built-in method returns the character at the specified index?
  1.    characterAt()
  2.    getCharAt()
  3.    charAt()
  4.    None of the above
 Discuss Question
Answer: Option C. -> charAt()




Question 25. Which jQuery method is used to hide selected elements?
  1.    hidden()
  2.    hide()
  3.    visible(false)
  4.    display(none)
 Discuss Question
Answer: Option B. -> hide()




Latest Videos

Latest Test Papers