- 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 total number of arguments passed to a function?
A - Using args.length property
Answer : B
Explaination
Using arguments.length property, we can get the total number of arguments passed to a function.
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 all elements available in a DOM?
Answer : A
Explaination
$('*') selects all elements available in a DOM.
Q 4 - Which of the following jQuery method gets attributes of an element?
Answer : A
Explaination
The attr() method can be used to fetch the value of an attribute from the first element in the matched set.
Q 5 - Which of the following jQuery method selects a subset of the matched elements?
Answer : C
Explaination
The slice(selector) method selects a subset of the matched elements.
Q 6 - Which of the following jQuery method gets a set of elements containing all of the unique immediate children of each of the matched set of elements?
Answer : B
Explaination
The children( [selector]) method gets a set of elements containing all of the unique immediate children of each of the matched set of elements.
Q 7 - Which of the following jQuery method gets the inner height (excluding the border) of an element?
Answer : B
Explaination
The innerHeight( ) method gets the inner height (excludes the border and includes the padding) for the first 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 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.
To Continue Learning Please Login
Login with Google