- 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 combines the text of two strings and returns a new string?
Answer : B
Explaination
concat() method returns the character at the specified index.
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 apply a style on an element?
Answer : B
Explaination
The addClass( classes ) method can be used to apply defined style sheets onto all the matched elements. You can specify multiple classes separated by space.
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 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 gets the height property of an element?
Answer : C
Explaination
The height( ) method gets the CSS height of every matched element.
Q 8 - Which of the following jQuery method returns a jQuery collection with the positioned parent of the first matched element?
Answer : B
Explaination
The offsetParent( ) method returns a jQuery collection with the positioned parent of the first matched element.
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 all forms and form elements like the .serialize() method but returns a JSON data structure for you to work with?
Answer : D
Explaination
The serializeArray( ) method serializes all forms and form elements like the .serialize() method but returns a JSON data structure for you to work with.
To Continue Learning Please Login
Login with Google