Sail E0 Webinar

MCQs

Total Questions : 50 | Page 4 of 5 pages
Question 31. Which of the following is the correct syntax of nextUntil() method in JQuery?
  1.    $("h2").nextUntiLAll("h6");
  2.    $("h2").nextUn("h6");
  3.    $("h2").nextUntil("h6");
  4.    none of the above
 Discuss Question
Answer: Option C. -> $("h2").nextUntil("h6");
Question 32. Mire el siguiente selector: $ ("div")
  1.    El primer elemento div
  2.    Todos los elementos div
  3.    both a and b
  4.    none of the above
 Discuss Question
Answer: Option B. -> Todos los elementos div
Question 33. The hover() method takes two functions and is a combination of the ______?
  1.    mouseclick() methods.
  2.    mouseenter() and mouseleave() methods.
  3.    both a and b
  4.    none of the above
 Discuss Question
Answer: Option B. -> mouseenter() and mouseleave() methods.
Question 34. Which of the following is the correct syntax of Stop() in JQuery?
  1.    $(selector).stop(stopAll,goToEnd);
  2.    flex-wrap: no-wrap;
  3.    Both A & B
  4.    None of these
 Discuss Question
Answer: Option A. -> $(selector).stop(stopAll,goToEnd);
Question 35. JQuery provides a variety of methods that allow us to traverse the DOM
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 36. Which of the following is the correct form to create to hide elements in Jquery and select the element?
  1.    flex-wrap: no-wrap;
  2.    $(document).ready(function(){ $("button").click(function(){ $("p").hide(); });});
  3.    None of the above
 Discuss Question
Answer: Option B. -> $(document).ready(function(){ $("button").click(function(){ $("p").hide(); });});
Question 37. Which of the following ways is correct JQuery Event Syntax ?
  1.    $("p").click(function(){ // action goes here!! });
  2.    $("p").openALl(function(){}
  3.    Both A & B
  4.    None of these
 Discuss Question
Answer: Option A. -> $("p").click(function(){ // action goes here!! });
Question 38. The last() method returns the last element of the ____________
  1.    last elements
  2.    specified elements
  3.    None of the above
  4.    All of above
 Discuss Question
Answer: Option B. -> specified elements
Question 39. AddClass() - Adds one or more classes to the____________
  1.    selected elements
  2.    selected classes.
  3.    None of the above
  4.    Both A & B
 Discuss Question
Answer: Option A. -> selected elements
Question 40. Which of the following ways is correct JQuery Hide() Syntax ?
  1.    $.Hide()
  2.    $("#hide").click(function(){ $("p").hide(); });
  3.    Both A & B
  4.    None of these
 Discuss Question
Answer: Option B. -> $("#hide").click(function(){ $("p").hide(); });

Latest Videos

Latest Test Papers