- 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
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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?
C - jQuery is a JavaScript toolkit designed to simplify various tasks by writing less code.
Answer : D
Explaination
All of the above options are correct.
Q 2 - Which built-in method returns the index within the calling String object of the first occurrence of the specified value?
Answer : C
Explaination
indexOf() method returns the index within the calling String object of the first occurrence of the specified value, or -1 if not found.
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 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 removes elements matching the specified selector from the set of matched elements?
Answer : C
Explaination
The not(selector) method removes elements matching the specified selector from the set of matched elements.
Q 6 - Which of the following jQuery method searches for descendent elements that match the specified selectors?
Answer : B
Explaination
The find( selector ) method searches for descendent elements that match the specified selectors.
Q 7 - Which of the following jQuery method gets a set of elements containing the unique previous siblings of each of the matched set of elements?
Answer : B
Explaination
The prev( [selector] ) method gets a set of elements containing the unique previous siblings of each of the matched set of elements.
Q 8 - Which of the following jQuery method checks if event.preventDefault() was ever called on this event object?
Answer : A
Explaination
The isDefaultPrevented() method of Event object returns whether event.preventDefault() was ever called on this event object.
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 can be used to attach a function to be executed whenever an AJAX request is sent?
Answer : C
Explaination
The ajaxSend( callback ) method can be used to attach a function to be executed whenever an AJAX request is sent.