MCQOPTIONS
Saved Bookmarks
This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
*$_Which is the most appropriate database for developers requiring huge amount of data?? |
| A. | Database |
| B. | Datawarehouse |
| C. | Web databases |
| D. | Access |
| Answer» D. Access | |
| 2. |
*$_Which is the function used to store a value?? |
| A. | setItem() |
| B. | set() |
| C. | storeItem() |
| D. | store() |
| Answer» B. set() | |
| 3. |
*/*_Which property specifies the property of the event?? |
| A. | Type |
| B. | Target |
| C. | Manner |
| D. | All of the mentioned |
| Answer» B. Target | |
| 4. |
*/*_The events that are not directly tied to a specific input device are? |
| A. | User interface events |
| B. | Device-independent events |
| C. | Device-dependent events |
| D. | All of the mentioned |
| Answer» C. Device-dependent events | |
| 5. |
*/*_The C in CSS stands for? |
| A. | Continuous |
| B. | Cascaded |
| C. | Contentional |
| D. | Cascading |
| Answer» E. | |
| 6. |
*/*_Which of the following property allows you to specify an element’s position with respect to the browser window?? |
| A. | relative |
| B. | fixed |
| C. | static |
| D. | absolute |
| Answer» C. static | |
| 7. |
*/*_The return type of getElementsByClassName() is? |
| A. | DOM |
| B. | Document |
| C. | Node |
| D. | NodeList |
| Answer» E. | |
| 8. |
*/*_Which method receives the return value of setInterval() to cancel future invocations?? |
| A. | clearInvocation() |
| B. | cancelInvocation() |
| C. | clearInterval() |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 9. |
*/*_How many Node object methods are available?? |
| A. | 18 |
| B. | 19 |
| C. | 20 |
| D. | 21 |
| Answer» B. 19 | |
| 10. |
*/*_Which of the following are the parameters passed to the keymap after installation?? |
| A. | Key property |
| B. | Key name |
| C. | Keydown event’s object |
| D. | Key stroke |
| Answer» D. Key stroke | |
| 11. |
*/*_When is the mouseover event fired?? |
| A. | When mouse is moved over a new element |
| B. | When mouse is clicked |
| C. | When mouse is both moved and clicked |
| D. | None of the mentioned |
| Answer» B. When mouse is clicked | |
| 12. |
*/*_Which event can be fired on any scrollable document element?? |
| A. | Window |
| B. | Scroll |
| C. | Load |
| D. | Unload |
| Answer» C. Load | |
| 13. |
*/*_Which of the following are not key event properties?? |
| A. | Code key |
| B. | Alt Key |
| C. | Ctrl Key |
| D. | Shift Key |
| Answer» B. Alt Key | |
| 14. |
*/*_Which API allows scripts in a document from one server to exchange messages with scripts?? |
| A. | Cross-Document Messaging API |
| B. | Web application API |
| C. | Both Cross-Document Messaging API & Web application API |
| D. | None of the mentioned |
| Answer» B. Web application API | |
| 15. |
*/*_Which event is triggered sooner when the document and its elements are ready to manipulate?? |
| A. | DOMContentLoaded |
| B. | readystatechange |
| C. | Both DOMContentLoaded & readystatechange |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 16. |
*/*_Which of the following property specifies the string of text that was entered?? |
| A. | message |
| B. | data |
| C. | string |
| D. | text |
| Answer» C. string | |
| 17. |
*/*_Which are the events that have default actions that can be canceled by event handlers?? |
| A. | Submit and form-related events |
| B. | Reset and form-related events |
| C. | Submit and reset events |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 18. |
*/*_Which property is used to obtain browser vendor and version information?? |
| A. | modal |
| B. | version |
| C. | browser |
| D. | navigator |
| Answer» E. | |
| 19. |
*/*_Which of the below is a lieral reverse of Ajax?? |
| A. | HTTP |
| B. | HTML |
| C. | XML |
| D. | Comet |
| Answer» E. | |
| 20. |
%_Which are the events that have default actions that can be canceled by event handlers?_% |
| A. | Submit and form-related events |
| B. | Reset and form-related events |
| C. | Submit and reset events |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 21. |
%_Which of the below is a lieral reverse of Ajax?_% |
| A. | HTTP |
| B. | HTML |
| C. | XML |
| D. | Comet |
| Answer» E. | |
| 22. |
%_How can the nodes in the node list be accessed?_% |
| A. | Key |
| B. | Index number |
| C. | Looping |
| D. | All of the mentioned |
| Answer» C. Looping | |
| 23. |
%_How to associate an object to a key on a node?_% |
| A. | getUserData() |
| B. | cloneNode() |
| C. | setUserData(key,data,handler) |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 24. |
%_Which attribute is used to extend the lifetime of a cookie?_% |
| A. | higher-age |
| B. | increase-age |
| C. | max-age |
| D. | lifetime |
| Answer» D. lifetime | |
| 25. |
%_Which of the following Node types have a node value equal to null?_% |
| A. | Document |
| B. | DocumentFragment |
| C. | DocumentType |
| D. | All of the mentioned |
| Answer» E. | |
| 26. |
%_Which of the following function is used as a consequence of not including semicolons, commas or whitespace in the Cookie value?_% |
| A. | encodeURIComponent() |
| B. | encodeURI() |
| C. | encodeComponent() |
| D. | none of the mentioned |
| Answer» B. encodeURI() | |
| 27. |
_ To which object does the location property belong?$? |
| A. | Window |
| B. | Position |
| C. | Element |
| D. | Location |
| Answer» B. Position | |
| 28. |
_ What is the return type of the hash property?$? |
| A. | Query string |
| B. | Packets |
| C. | String |
| D. | Fragment identifier |
| Answer» E. | |
| 29. |
_ What is the purpose of the assign() method?$? |
| A. | Only loading |
| B. | Loading of window and display |
| C. | Displays already present window |
| D. | Unloading of window |
| Answer» C. Displays already present window | |
| 30. |
_ The Text and Comment is part of$? |
| A. | CharacterData |
| B. | Document |
| C. | Attr |
| D. | Element |
| Answer» B. Document | |
| 31. |
_ What is the datatype of the go() method’s parameter?$? |
| A. | String |
| B. | Integer |
| C. | Double |
| D. | Float |
| Answer» C. Double | |
| 32. |
_ Which of the below properties can be used for browser sniffing?$? |
| A. | platform |
| B. | appVersion |
| C. | both platform and appVersion |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 33. |
_ What is the distinction made by JavaScript between windows, tabs, iframes, and frames ?$? |
| A. | They are all browsing contexts |
| B. | They are all browsing informations |
| C. | They are all Window contexts |
| D. | They are all Window objects |
| Answer» E. | |
| 34. |
_ When will the fourth argument to open() useful?$? |
| A. | When the second argument names a retired window |
| B. | When the first argument names an existing window |
| C. | When the second argument names an existing window |
| D. | When the first argument names a retired window |
| Answer» D. When the first argument names a retired window | |
| 35. |
_ Which is the code that asks for the set of all div elements in a document?$? |
| A. | var divs = $(div); |
| B. | var divs = jQuery("div"); |
| C. | var divs = $("div"); |
| D. | var divs = #("div"); |
| Answer» D. var divs = #("div"); | |
| 36. |
_ Which of the following is a utility function in jQuery?$? |
| A. | jQuery.each() |
| B. | jQuery.parseJSON() |
| C. | jQuery.noConflict() |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 37. |
_ Which of the following is a feature of the HTTP response?$? |
| A. | Mandatory response body |
| B. | Optional response body |
| C. | URL being released |
| D. | Optional set of response headers |
| Answer» B. Optional response body | |
| 38. |
_ In the IndexedDB database, database is defined as$? |
| A. | A collection of objects |
| B. | A collection of named object stores |
| C. | Objects collection |
| D. | None of the mentioned |
| Answer» C. Objects collection | |
| 39. |
_ Which is the function used to look up an object?$? |
| A. | put() |
| B. | set() |
| C. | get() |
| D. | look() |
| Answer» D. look() | |
| 40. |
_ Which object supports Filesystem API?$? |
| A. | Element |
| B. | File |
| C. | Window |
| D. | DOM |
| Answer» C. Window | |
| 41. |
_ Which is the function used to retrieve a value?$? |
| A. | get() |
| B. | retrieve() |
| C. | getItem() |
| D. | retrieveItem() |
| Answer» D. retrieveItem() | |
| 42. |
_ When will the browser invoke the handler?$? |
| A. | Program begins |
| B. | Any event occurs |
| C. | Specified event occurs |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 43. |
_ The high-level events among the following events are$? |
| A. | User interface events |
| B. | Device-independent events |
| C. | Device-dependent events |
| D. | All of the mentioned |
| Answer» B. Device-independent events | |
| 44. |
_ Which of the following is the Web application equivalent to querySelectorAll()?$? |
| A. | #() |
| B. | &() |
| C. | $() |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 45. |
_ Which property lays the element according to the normal flow?$? |
| A. | relative |
| B. | absolute |
| C. | fixed |
| D. | static |
| Answer» B. absolute | |
| 46. |
_ Which of the following property refers to the root element of the document?$? |
| A. | documentElement |
| B. | elementdocument |
| C. | rootdocument |
| D. | none of the mentioned |
| Answer» B. elementdocument | |
| 47. |
_ Which property is used to obtain browser vendor and version information?$? |
| A. | modal |
| B. | version |
| C. | browser |
| D. | navigator |
| Answer» E. | |
| 48. |
_ What is the property textContent?$? |
| A. | Sets the textual content of a node |
| B. | Returns the textual content of a node |
| C. | Sets & Returns the textual content of a node |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 49. |
_ Which method is used to remove a binding?$? |
| A. | Unbind() |
| B. | removebind() |
| C. | remove(Bind b) |
| D. | unbind() |
| Answer» E. | |
| 50. |
_ How to detect and respond to mouse drags?$? |
| A. | Registering a mouseover handler |
| B. | Releasing a mousedown handler |
| C. | Registering a mousedown handler |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |