Sail E0 Webinar

MCQs

Total Questions : 50 | Page 1 of 5 pages
Question 1. The jQuery stop() method is used to stop an animation or effect before ____________
  1.    The Text is shown normal.
  2.    it is finished
  3.    None of the above
 Discuss Question
Answer: Option B. -> it is finished
Question 2. Which of the following is selected by $('#bar')?
 Discuss Question
Answer: Option B. -> it is finished
Question 3. JQuery provides several methods such as filter(), first(), last(), eq(), slice(), has(), not(), etc
  1.    False
  2.    True
 Discuss Question
Answer: Option B. -> True
Question 4. Given the following, what would $('
  1.    google
  2.    bar
  3.    div
  4.    undefined
 Discuss Question
Answer: Option A. -> google
Question 5. Which of the following ways is the correct Syntax of parent() method in JQuery ?
  1.    $("span").child();
  2.    $("span").parent();
  3.    $("span").parentofchild();
  4.    All of above
 Discuss Question
Answer: Option B. -> $("span").parent();
Question 6. Which of the following is the correct syntax of toggle() effects in JQuery?
  1.    $("button").click(function(){ $("p").toggle(); });
  2.    .("p").toggle();
  3.    None of the above
 Discuss Question
Answer: Option A. -> $("button").click(function(){ $("p").toggle(); });
Question 7. You can also toggle between hiding and showing an element with the ______?
  1.    Animation
  2.    Picture
  3.    toggle() method
 Discuss Question
Answer: Option C. -> toggle() method
Question 8. The optional callback parameter is a function to be executed after the hide() or show() ____________
  1.    Normal
  2.    method completes
  3.    None of the above
 Discuss Question
Answer: Option B. -> method completes
Question 9. With jQuery, you can hide and show HTML elements with the hide() and show() methods?
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 10. The eq() method returns an element with a specific index number of the _________?
  1.    selected elements
  2.    Specified elements
  3.    None of the above
  4.    All of above
 Discuss Question
Answer: Option A. -> selected elements

Latest Videos

Latest Test Papers