- 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 is correct about jQuery selector?
B - jQuery selectors are used to select one or more HTML elements using jQuery.
C - jQuery selectors start with the dollar sign and parentheses - $()
Answer : D
Explaination
All of the above options are correct.
Q 4 - Which of the following jQuery method gets the html contents (innerHTML) of the first matched element?
Answer : A
Explaination
The html() method gets the html contents (innerHTML) of the first matched element.
Q 5 - Which of the following jQuery method adds more elements, matched by the given selector, to the set of matched elements?
Answer : A
Explaination
The add( selector ) method adds more elements, matched by the given selector, to the set of matched elements.
Q 6 - Which of the following jQuery method finds all the child nodes inside the matched elements (including text nodes), or the content document, if the element is an iframe?
Answer : C
Explaination
The contents( ) method finds all the child nodes inside the matched elements (including text nodes), or the content document, if the element is an iframe.
Q 7 - Which of the following jQuery method gets the style property of an element?
Answer : C
Explaination
The css( name ) method returns a style property on the first matched element.
Q 8 - Which of the following jQuery method returns the top and left position of an element relative to its offset parent?
Answer : C
Explaination
The position( ) method gets the top and left position of an element relative to its offset parent.
Q 9 - Which of the following jQuery method checks if event.stopPropagation() was ever called on this event object?
Answer : B
Explaination
The isPropagationStopped() method of Event object returns whether event.stopPropagation() was ever called on this event object.
Q 10 - Which of the following jQuery method serializes a set of input elements into a string of data?
Answer : C
Explaination
The serialize() method serializes a set of input elements into a string of data.