JQuery MCQ

JQuery MCQ | Freshers & Experienced

  • Sharad Jaiswal
  • 13th Feb, 2021

We have listed here the best JQuery MCQ Questions for your basic knowledge of Jquery. This JQuery MCQ Test contains 25 multiple choice questions. You have to select the right answer to every question.

JQuery MCQ Questions

1) Define single global function in the jQuery library?

  • A. $()
  • B.jQuery()
  • C.Queryanalysis()
  • D.None of the mentioned

2) $.foo() is parallel to

  • A. javascript.foo()
  • B.jQuery.foo()
  • C.document.foo()
  • D.None of the above

3) Can you assign a anonymous function to a variable?

  • A. True
  • B.False

4) Which one of the four jQuery method set the value of an element?

  • A. val( val )
  • B.setContent( val )
  • C.setValue( val )
  • D.None of the above

5) Which sign does jQuery use as a shortcut for jQuery?

  • A. % sign
  • B.? Sign
  • C.$ sign
  • D.None of these

6) Does jQuery a W3C standard?

  • A. Yes
  • B.No

7) In which year jQuery was establish?

  • A. 2001
  • B.2003
  • C.2006
  • D.2007

8) Who was invent the jQuery?

  • A. John Richard
  • B.John Resign
  • C.Mark Bensman
  • D.None of them

9) Does the jQuery html() method works for both HTML and XML documents

  • A. True
  • B.False

10) Which one of the four jQuery method is used to set one or more style properties for selected elements?

  • A. css()
  • B.style()
  • C.html()
  • D.none of them

11) jQuery uses CSS selectors and XPath expressions to select elements?

  • A. True
  • B.False

12) Can it possible to use jQuery together with AJAX?

  • A. Yes
  • B.No

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

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

14) Which jQuery method to hide selected elements?

  • A. hidden()
  • B.visible(false)
  • C.display(none)
  • D.hide()

15) When do you use the $(this) code?

  • A. When an HTML element will reference its parent element's action
  • B.When an HTML element will reference its own action
  • C.When an HTML element will reference the entire document
  • D.None of the above

16) The speed options can be applied to which jQuery functions?

  • A. toggleCss
  • B.show and fadeIn
  • C.css and ajax
  • D.All of the above

17) You can attach a handler to an event using which method?

  • A. Bind Method
  • B.Attach Method
  • C.EventBind Method
  • D.EventAttach Method

18) What are the various speed options?

  • A. The words "slow" and "fast" as well as integers for the millisecondse
  • B.Only the words "slow", "fast", and "medium"
  • C.None of the above
  • D.All of the above

19) $('#masterList').find('li') .width(500).addClass('selected'); the phenomena occuring in the above code is called?

  • A. AJAXC
  • B.Animating
  • C.Chaining
  • D.Event bubbling

20) Do you wonder why we don't have type=”text/javascript” inside the <script> tag?

  • A. It is required in HTML5
  • B.It is not required in HTML5
  • C.All of the above
  • D.None of them

21) Which jQuery code to set the background color of all span elements to blue?

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

22) The CSS selector engine that jQuery uses is called?

  • A. Sizzle
  • B.Mango
  • C.AwesomeX
  • D.Badaboom

23) Which of the following jQuery method stops the rest of the event handlers from being executed?

  • A. StopImmediatePropagation( )
  • B.PreventDefault( )
  • C.StopPropagation( )
  • D.All of these

24) Which one of the four jQuery method gets attributes of an element?

  • A. remove( expr )
  • B.delete( )
  • C.empty( )
  • D.None of them

25) Which of the following jQuery method finds all sibling elements after the current element?

  • A. GetNextAll( selector)
  • B.LocateNextAll( selector )
  • C.NextAll( selector )
  • D.None of above

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Feb
React JS MCQ
01st
Feb
Angular Js MCQ
01st
Feb
Angular 2 MCQ
01st
Feb
JSON MCQ
01st
Feb
PHP MCQ