JQuery Mock Test IV - Tutorialspoint



JQUERY MOCK TEST

Copyright ?

This section presents you various set of Mock Tests related to jQuery Framework. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.

JQUERY MOCK TEST IV

Q 1 - Which of the following jQuery method returns the outer width includingtheborder of an element? A - getCSSWidth B - getWidth C - outerWidth[margin] D - None of the above.

Q 2 - Which of the following jQuery method removes all child nodes from the set of matched elements? A - empty B - delete C - removeexpr D - None of the above.

Q 3 - Which of the following jQuery method removes set of matched elements? A - empty B - delete C - removeexpr D - None of the above.

Q 4 - Which of the following jQuery method prevents the browser from executing the default action?

A - preventDefault B - stopImmediatePropagation C - stopPropagation D - None of the above.

Q 5 - Which of the following jQuery method checks if event.preventDefault was ever called on this event object? A - isDefaultPrevented B - isPropagationStopped C - isImmediatePropagationStopped D - None of the above.

Q 6 - Which of the following jQuery method stops the bubbling of an event to parent elements? A - preventDefault B - stopImmediatePropagation C - stopPropagation D - None of the above.

Q 7 - Which of the following jQuery method checks if event.stopPropagation was ever called on this event object? A - isDefaultPrevented B - isPropagationStopped C - isImmediatePropagationStopped D - None of the above.

Q 8 - Which of the following jQuery method stops the rest of the event handlers from being executed? A - preventDefault B - stopImmediatePropagation C - stopPropagation D - None of the above.

Q 9 - Which of the following jQuery method checks if event.stopImmediatePropagation was ever called on this event object? A - isDefaultPrevented B - isPropagationStopped

C - isImmediatePropagationStopped D - None of the above.

Q 10 - Which of the following jQuery method binds a handler to one or more events likeclick for an element? A - bindtype, [data], fn B - loadtype, [data], fn C - attachtype, [data], fn D - None of the above.

Q 11 - Which of the following jQuery method binds a function to be executed whenever the DOM is ready to be traversed and manipulated? A - readyfn B - loadfn C - reloadfn D - None of the above.

Q 12 - Which of the following jQuery method can be used to make a ajax call? A - readyurl, [data], [callback] B - loadurl, [data], [callback] C - reloadurl, [data], [callback] D - None of the above.

Q 13 - Which of the following jQuery method can be used to attach a function to be executed whenever an AJAX request completes? A - ajaxStartcallback B - ajaxCompletecallback C - ajaxSendcallback D - ajaxStopcallback

Q 14 - 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? A - ajaxStartcallback B - ajaxCompletecallback C - ajaxSendcallback D - ajaxStopcallback

Q 15 - Which of the following jQuery method can be used to attach a function to be executed whenever an AJAX request fails? A - ajaxStartcallback B - ajaxCompletecallback C - ajaxSendcallback D - ajaxErrorcallback

Q 16 - Which of the following jQuery method can be used to attach a function to be executed whenever an AJAX request is sent? A - ajaxStartcallback B - ajaxCompletecallback C - ajaxSendcallback D - ajaxErrorcallback

Q 17 - Which of the following jQuery method can be used to attach a function to be executed when all AJAX requests have ended? A - ajaxStartcallback B - ajaxCompletecallback C - ajaxSendcallback D - ajaxStopcallback

Q 18 - Which of the following jQuery method can be used to attach a function to be executed whenever AJAX request completed successfully? A - ajaxStartcallback B - ajaxSuccesscallback C - ajaxSendcallback D - ajaxStopcallback

Q 19 - Which of the following jQuery method loads a remote page using an HTTP request? A - jQuery.ajaxoptions B - jQuery.ajaxSetupoptions C - serialize D - serializeArray

Q 20 - Which of the following jQuery method setups global settings for AJAX requests? A - jQuery.ajaxoptions

B - jQuery.ajaxSetupoptions C - serialize D - serializeArray

Q 21 - Which of the following jQuery method serializes a set of input elements into a string of data? A - jQuery.ajaxoptions B - jQuery.ajaxSetupoptions C - serialize D - serializeArray

Q 22 - 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? A - jQuery.ajaxoptions B - jQuery.ajaxSetupoptions C - serialize D - serializeArray

Q 23 - Which of the following jQuery method loads a remote page using an HTTP GET request? A - jQuery.geturl, [data], [callback], [type] B - jQuery.getJSONurl, [data], [callback] C - jQuery.getScripturl, [callback] D - jQuery.posturl, [data], [callback], [type]

Q 24 - Which of the following jQuery method loads a JSON data using an HTTP GET request? A - jQuery.geturl, [data], [callback], [type] B - jQuery.getJSONurl, [data], [callback] C - jQuery.getScripturl, [callback] D - jQuery.posturl, [data], [callback], [type]

Q 25 - Which of the following jQuery method loads and executes a JavaScript file using an HTTP GET request? A - jQuery.geturl, [data], [callback], [type] B - jQuery.getJSONurl, [data], [callback] C - jQuery.getScripturl, [callback]

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download