- jQuery Tutorial
- jQuery - Home
- jQuery - Overview
- jQuery - Basics
- jQuery - Syntax
- jQuery - Selectors
- jQuery - Events
- jQuery - Attributes
- jQuery - AJAX
- jQuery DOM Manipulation
- jQuery - DOM
- jQuery - Add Elements
- jQuery - Remove Elements
- jQuery - Replace Elements
- jQuery CSS Manipulation
- jQuery - CSS Classes
- jQuery - Dimensions
- jQuery - CSS Properties
- jQuery Traversing
- jQuery - Traversing
- jQuery - Traversing Ancestors
- jQuery - Traversing Descendants
- jQuery References
- 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 Useful Resources
- jQuery - Questions and Answers
- jQuery - Quick Guide
- jQuery - Useful Resources
- jQuery - Discussion
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 - How can you get the type of arguments passed to a function?
Answer : A
Explaination
Using typeof operator, we can get the type of arguments passed to a function.
Q 2 - Which built-in method returns the length of the string?
Answer : A
Explaination
length() method returns the length of the string.
Q 3 - Which of the following jQuery selector selects all elements available in a DOM?
Answer : A
Explaination
$('*') selects all elements available in a DOM.
Q 4 - Which of the following jQuery method remove all or the specified class(es) from the set of matched elements?
Answer : A
Explaination
The removeClass(class) method remove all or the specified class(es) from the set of matched elements.
Q 5 - Which of the following jQuery method sets the text of an element?
Answer : A
Explaination
The text( val ) sets the text contents of all matched elements.
Q 6 - Which of the following jQuery method reverts the most recent 'destructive' operation, changing the set of matched elements to its previous state?
Answer : B
Explaination
The end( ) method reverts the most recent 'destructive' operation, changing the set of matched elements to its previous state.
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 removes set of matched elements?
Answer : C
Explaination
The remove( expr ) method removes all matched elements from the DOM.
Q 9 - Which of the following jQuery method can be used to attach a function to be executed whenever an AJAX request begins and there is none already active?
Answer : A
Explaination
The ajaxStart( callback ) method can be used to attach a function to be executed whenever an AJAX request begins and there is none already active.
Q 10 - Which of the following jQuery method loads a remote page using an HTTP GET request?
A - jQuery.get( url, [data], [callback], [type] )
B - jQuery.getJSON( url, [data], [callback] )
Answer : A
Explaination
The jQuery.get( url, [data], [callback], [type] ) method loads a remote page using an HTTP GET request.
To Continue Learning Please Login
Login with Google