jQuery MCQ Questions

jQuery MCQ Questions

  • Sharad Jaiswal
  • 20th Nov, 2021

We are introducing here the best jQuery MCQ Questions, which are very popular & cover the latest and important topics of jQuery. This jQuery MCQ Test contains Top 35+ jQuery Multiple Choice Questions and Answers, so practice these questions to check your final preparation for jQuery Exams, Interviews & Placement Drives. When you choose an option for these questions, the green color belongs to the right option & the red color belongs to the wrong option.

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

26) Which of the following jQuery method is used to hide the selected elements?

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

27) What scripting language is JQuery written in?

  • A. C#
  • B.C++
  • C.VBScript
  • D.JavaScript

28) Which of the following JQuery method is used to stop JQuery for few milliseconds?

  • A. pause() method
  • B.stop() method
  • C.delay() method
  • D.slowdown() method

29) The Query method used to perform an asynchronous HTTP request

  • A. jQuery ajax() method
  • B.jQuery ajaxSync() method
  • C.jQuery ajaxSetup() method
  • D.None of the above

30) Which of the following is correct about jQuery?

  • A. JQuery is a fast and concise JavaScript Library created by John Resig in 2006 with a nice motto - Write less, do more.
  • B.JQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.
  • C.JQuery is a JavaScript toolkit designed to simplify various tasks by writing less code.
  • D.All of the Above

31) How can you get the total number of arguments passed to a function?

  • A. Using args.length property
  • B.Using arguments.length property
  • C.Both of the above
  • D.None of the above

32) Which of the following jQuery method gets the direct parent of an element?

  • A. Offset( selector)
  • B.Parent( selector )
  • C.OffsetParent( selector )
  • D.None of the above

33) Which of the following is not the feature of jQuery?

  • A. Useful set of methods for manipulating selected elements
  • B.Expressive syntax for referring to elements in the document
  • C.Efficient query method for finding the set of document elements
  • D.Powerful functional programming techniques is not used for operating on sets of elements as a group

34) Which of the following is a factory function?

  • A. $()
  • B.Onclick()
  • C.JQuery()
  • D.Queryanalysis()

35) Which property is used to obtain browser vendor and version information?

  • A. Modal
  • B.Version
  • C.Browser
  • D.Navigator

36) Is jquery a w3c standard

  • A. Yes
  • B.No

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Nov
Oracle MCQ
01st
Nov
Ajax MCQ
01st
Nov
JavaScript MCQ