
- jQuery - Home
- jQuery - Roadmap
- jQuery - Overview
- jQuery - Basics
- jQuery - Syntax
- jQuery - Selectors
- jQuery - Events
- jQuery - Attributes
- jQuery - AJAX
- jQuery CSS Manipulation
- jQuery - CSS Classes
- jQuery - Dimensions
- jQuery - CSS Properties
- jQuery Traversing
- jQuery - Traversing
- jQuery - Traversing Ancestors
- jQuery - Traversing Descendants
- jQuery References
- jQuery - Selectors
- jQuery - Events
- jQuery - Effects
- jQuery - HTML/CSS
- jQuery - Traversing
- jQuery - Miscellaneous
- jQuery - Properties
- jQuery - Utilities
- jQuery Plugins
- jQuery - Plugins
- jQuery - PagePiling.js
- jQuery - Flickerplate.js
- jQuery - Multiscroll.js
- jQuery - Slidebar.js
- jQuery - Rowgrid.js
- jQuery - Alertify.js
- jQuery - Progressbar.js
- jQuery - Slideshow.js
- jQuery - Drawsvg.js
- jQuery - Tagsort.js
- jQuery - LogosDistort.js
- jQuery - Filer.js
- jQuery - Whatsnearby.js
- jQuery - Checkout.js
- jQuery - Blockrain.js
- jQuery - Producttour.js
- jQuery - Megadropdown.js
- jQuery - Weather.js
jQuery - Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to jQuery Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Q 1 - Which of the following is correct about jQuery?
A - The jQuery is very lightweight library - about 19KB in size ( Minified and gzipped ).
C - The jQuery supports CSS3 selectors and basic XPath syntax.
Answer : D
Explaination
All of the above options are correct.
Q 2 - Which of the following type of variable takes precedence over other if names are same?
Answer : B
Explaination
A local variable takes precedence over a global variable with the same name.
Q 3 - Which of the following jQuery selector selects element with the given element id some-id?
Answer : B
Explaination
$('#some-id') selects the single element in the document that has an ID of some-id.
Q 4 - Which of the following jQuery method returns true if the specified class is present on at least one of the set of matched elements?
Answer : C
Explaination
The hasClass( class ) method returns true if the specified class is present on at least one of the set of matched elements.
Q 5 - Which of the following jQuery method filter out elements from a set of matched elements?
Answer : A
Explaination
The filter( selector ) method can be used to filter out all elements from the set of matched elements that do not match the specified selector(s). The selector can be written using any selector syntax.
Q 6 - Which of the following jQuery method gets a set of elements containing the closest parent element that matches the specified selector, the starting element included?
Answer : C
Explaination
The closest( selector ) method gets a set of elements containing the closest parent element that matches the specified selector, the starting element included.
Q 7 - Which of the following jQuery method sets the width property of an element?
Answer : C
Explaination
The width( value ) method sets the width of every matched element.
Q 8 - Which of the following jQuery method gets the current offset of the first matched element, in pixels, relative to the document?
Answer : A
Explaination
The offset( ) method gets the current offset of the first matched element, in pixels, relative to the document.
Q 9 - Which of the following jQuery method binds a handler to one or more events (like click) for an element?
Answer : A
Explaination
The bind( type, [data], fn ) function binds a handler to one or more events (like click) for each matched element. Can also bind custom events.
Q 10 - Which of the following jQuery method setups global settings for AJAX requests?
Answer : B
Explaination
The jQuery.ajaxSetup( options ) method setups global settings for AJAX requests.