- 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 a valid type of function javascript supports?
Answer : C
Explaination
A function in JavaScript can be either named or anonymous.
Q 2 - Which built-in method calls a function for each element in the array?
Answer : C
Explaination
forEach() method calls a function for each element in the array.
Q 3 - Which of the following jQuery selector selects elements with the given element tag-name?
Answer : A
Explaination
$('tag-name') selects all element of type tag-name in the document. For example, $('p') selects all paragraphs <p> in the document.
Q 4 - Which of the following jQuery method sets the html contents of an element?
Answer : A
Explaination
The html( val ) method sets the html contents of every matched element.
Q 5 - Which of the following jQuery method reduce the set of matched elements to a single element?
Answer : B
Explaination
The eq( index ) method reduces the set of matched elements to a single element.
Q 6 - Which of the following jQuery method returns a jQuery collection with the positioned parent of the first matched element?
Answer : A
Explaination
The offsetParent( ) method returns a jQuery collection with the positioned parent of the first matched element.
Q 7 - Which of the following jQuery method gets a set of elements containing all of the unique siblings of each of the matched set of elements?
Answer : C
Explaination
The siblings( [selector] ) method gets a set of elements containing all of the unique siblings of each of the matched set of elements.
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.stopImmediatePropagation() was ever called on this event object?
Answer : C
Explaination
The isImmediatePropagationStopped() method of Event object returns whether event.stopImmediatePropagation() was ever called on this event object.
Q 10 - Which of the following jQuery method loads a JSON data using an HTTP GET request?
A - jQuery.get( url, [data], [callback], [type] )
B - jQuery.getJSON( url, [data], [callback] )
Answer : B
Explaination
The jQuery.getJSON( url, [data], [callback], [type] ) method loads JSON data using an HTTP GET request.