05th
May
JQuery MCQ

JQuery MCQ

  • Admin
  • 05th May, 2021
  • 464 Followers

Jquery MCQ Quiz

Following are mostly asked Jquery MCQ test that are designed for professionals like you to crack you interviews. You can take this Jquery online test before appearing to you real interview. This Jquery quiz there are around 30+ multiple choice questions on Jquery with four options.

1) What is jQuery?

  • A. a lightweight, "write less, do more", JavaScript library
  • B. framework to "write less, do more",
  • C. CMS to "write less, do more".
  • D. JavaScript's competitor

2) What are the advantages of the jQuery?

  • A. Highly extensible
  • B. SEO-friendly
  • C. Cross-browser compatibility
  • D. All of the above

3) What is the main purpose of jQuery?

  • A. It makes easier to use JavaScript on your website.
  • B. Content management
  • C. Both A and B
  • D. None of the above

4) CDN stands for __.

  • A. Content Delivery Network
  • B. Class Delivery Network
  • C. Content Data Network
  • D. Content Delivery Node

5) The basic jQuery Syntax is:

  • A. $(selector).action()
  • B. $(action()).selector
  • C. Both A and B
  • D. None of the above
Download Free : JQuery MCQ PDF

6) Which one of the following are valid selector in jQuery?

  • A. Element Selector
  • B. #id Selector
  • C. .class Selector
  • D. All of the above

7) Which of the following denotes the happening of an event?

  • A. moving a mouse over an element
  • B. selecting a radio button
  • C. clicking on an element
  • D. All of the above

8) With jQuery, you can hide and show HTML elements by using the __ and __ methods respectively.

  • A. hide(), show()
  • B. Hide(), Show()
  • C. hides(), display()
  • D. None of the above

9) Which of the following syntax is helpful to create a custom animations in jQuery?

  • A. $(selector).animate({params},speed,callback);
  • B. $(selector).animation({params},speed,callback);
  • C. $(selector).animates({params},speed,callback);
  • D. None of the above

10) Which of the following is an example of Chaining in jQuery?

  • A. $("#p1").css("color", "red").slideUp(2000).slideDown(2000);
  • B. $("button").click(function(){ alert($("#w3s").attr("href")); });
  • C. Both A and B
  • D. None of the above

11) Which of the following methods used to set contents in jQuery?

  • A. text()
  • B. html()
  • C. value()
  • D. All of the above

12) Which one of the following syntax allows to set multiple attributes at the same time?

  • A. $("button").click(function(){ $("#w3s").attr({ "href" : "https://www.w3schools.com/jquery/", "title" : "W3Schools jQuery Tutorial" }); });
  • B. $("#btn2").click(function(){ $("#test2").html(function(i, origText){ return "Old html: " + origText + " New html: Hello <b>world!</b> (index: " + i + ")"; }); });
  • C. append()
  • D. All of the above

13) The __ method returns all sibling elements of the selected element.

  • A. siblings()
  • B. children()
  • C. find()
  • D. All of the above

14) The __ method lets you specify a criteria whereas the __ method returns all elements that do not match the criteria.

  • A. filter(), not()
  • B. not(), filter()
  • C. eq(), last()
  • D. None of the above

15) The __ method loads data from a server and puts the returned data into the selected element.

  • A. load()
  • B. loads()
  • C. loding()
  • D. None of the above

16) Is it possible to use jQuery together with AJAX?

  • A. Yes
  • B. No

17) What is the correct jQuery code to set the background color of all p elements to black?

  • A. $("p").layout("background-color","black");
  • B. $("p").manipulate("background-color","black");
  • C. $("p").css("background-color","black");
  • D. $("p").style("background-color","black");

18) Which jQuery method is used to perform an asynchronous HTTP request?

  • A. jQuery.ajaxAsync()
  • B. jQuery.ajax()
  • C. jQuery.ajaxSetup()
  • D. All of the above

19) Which jQuery method should be used to deal with name conflicts?

  • A. noNameConflict()
  • B. noConflict()
  • C. nameConflict()
  • D. conflict()

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
May
SEO MCQ
01st
May
GIT MCQ
01st
May
Oracle MCQ
01st
May
Devops  Mcq