jQuery:
JQuery is a popular JS library developed by John Resig.
JQuery is a JavaScript library. It is a free, highly featured open source software designed to make client- side programming of HTML simple with easy-to-use API.
The generic principle of jQuery is
“Find something and do something to it using pre-written JavaScript”
Assessment jQuery:
1.jQuery helps in ________ side scripting.
A. Server
B. Client
Answer: Client
2. JQuery supports Ajax.
A. False
B. True
Answer: True
3.JQuery is a popular JS library developed by _________.
A. John Robert
B. John Resig
C. John Snow
D. John Smith
Answer: John Resig
4.All jQuery code should be included within _______ function
A. initialise()
B. ready()
Answer: ready
Assessment Selectors & Filters:
1.The following are all selectors, except __________
A. name
B. id
C. tag
D. class
Answer: name
2. ID selector is used with _______
A. $
B. .
C. #
Answer: #
3. To filter based on condition use _________.
A. range()
B. eq()
C. filter()
D. slice()
Answer: filter()
4. Class selector is used with a ________
A. $
B. @
C. *
D. .
Answer: .
See More: – ECMAScript6 Superset Fresco Play MCQs Answers
Assessment Event Handling:
1.PreventDefault has two parameters
A. False
B. True
Answer: False
2.To attach a handler to elements that will be added in the future, use ________
A. event planner
B. event secure
C. event delegation
Answer: event delegation
3.To add multiple events to an element, use ________
A. multiple()
B. off()
C. many()
D. on()
Answer: on()
4. Elements attached using live can be removed using ________
A. dead()
B. remove()
C. die() Or off()
Answer: die() Or off()
Assessment DOM Manipulation & Animation Effects:
1.To delete only the child element of the selected element, use ________
A. remove()
B. html()
C. empty()
D. val()
Answers: empty()
2.To add custom animation, use _______
A. custom()
B. animation()
C. customAnimate()
D. animate()
Answer: animate()
3.To read HTML content from a document comma use _________
A. remove()
B. html()
C. read()
D. val()
Answer: html()
4.To add delay in animation, use _________
A. time()
B. late()
C. delay()
D. duration()
Answer: delay()
Assessment AJAX:
1.________ is used to send a request to the server, along with some data.
A. load()
B. get()
C. post()
Answer: post()
2.Which parameter of load()’s callback function has the data?
A. xhr
B. responseTxt
C. statusTxt
Answer: responseTxt
2.Use ________ for iteration over array and object.
A. iterate()
B. each()
C. arrayIterate()
D. objectIterate()
Answer: each()
3.Which method helps you to replace $ with the keyword jQuery?
A. noConflict()
B. alternate()
C. replace()
Answer: noConflict()
Assessment jQueryUI:
1.The following are iterations available in jQueryUI, except _________
A. selectable
B. sortable
C. draggable
D. accordion()
Answer: accordion()
2.To animate all the changes while adding a class, use ________
A. addClass()
B. animateClass()
C. updateClass()
D. classChange()
Answer: addClass()
3. jQueryaUI has its own CSS library that can be used on a webpage
A. True
B. False
Answer: True
4.All the tab headings should be included within ________
A. Both the options
B. <ul>
C. <ol>
D. Either of the options
Answer: Either of the options
jQuery Final Assessment Answer:
1. Class selector is used with a ________
A. $
B. @
C. *
D. .
Answer: .
2.JQuery mobile has how many set of themes that can be used?
A. 3
B. 2
C. 1
D. 4
Answer: 2
3.Can there be more than one ready function in jQuery?
A. Yes
B. No
Answer: Yes
4. To remove the focus from a form element, use ________
A. removeFocus()
B. focus()
C. blur()
Answer: blur()
5.The following are all selector, except ________
A. id
B. tag
C. class
D. name
Answer: name
6. jQuery follows W3C standards.
A. True
B. False
Answer: False
7. jQuery mobile automatically uses widgets based on the element type.
A. False
B. True
Answer: True
8. jQuery is popular JS library developed by _________
A. John Robert
B. John Smith
C. John Snow
D. John Resig
Answer: John Resig
9.To read value from a form element, use ________
A. empty()
B. val()
C. remove()
D. html()
Answer: val()
10.To make set of elements expandable and collapsible use ___________
A. expand ()
B. collapse ()
C. select ()
D. accordion()
Answer: accordion ()
11.________ is used to create a drop down in jQuery mobile.
A. select
B. dropdown
Answer: select
12.All the tab headings should be included within ____________
A. <ul>
B. Either of the options
C. Both the options
D. <ol>
Answer: Either of the options
13.To add multiple events to an element, use ___________
A. many()
B. multiple()
C. on()
D. off()
Answer: on()
14.The swipe event is triggered when a horizontal drag of ________ pixel or more occurs.
A. 30
B. 40
C. 20
D. 25
Answer: 30
15.PreventDefault has two parameters
A. True
B. False
Answer: False
16.jQuery html() works for both HTML and XML
A. False
B. True
Answer: True
17. Use _______ for iteration over array and object
A. arrayIterate()
B. objectIterate()
C. each()
D. iterate()
Answer: each()
18.jQuery supports AJAX
A. False
B. True
Answer: False
19.To remove handler from an even, use __________
A. many()
B. on()
C. off()
D. multiple()
Answer: off()
20.ID selector is used with _______
A. $
B. .
C. #
D. *
Answer: #
Disclaimer: The main motive to provide this solution is to help and support those who are unable to do these courses due to facing some issue and having a little bit lack of knowledge. All of the material and information contained on this website is for knowledge and education purposes only.