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. |
*/*_What is the function of the closure compiler?? |
| A. | Download faster |
| B. | Run faster |
| C. | Both Download faster and Run faster |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 2. |
*/*_What is the necessity to have API?? |
| A. | Guide to performing activities |
| B. | Describe particular task |
| C. | Both performing activities and Describe particular task |
| D. | None of the mentioned |
| Answer» C. Both performing activities and Describe particular task | |
| 3. |
*/*_What is the reason for avoiding the attributes property in the HTML DOM?? |
| A. | Found unncessary |
| B. | Attributes don’t have attributes |
| C. | Attributes have attributes |
| D. | None of the mentioned |
| Answer» C. Attributes have attributes | |
| 4. |
*/*_What kind of path can the PHP file be?? |
| A. | Absolute |
| B. | Relative |
| C. | Either Absolute or Relative |
| D. | Both Absolute and Relative |
| Answer» D. Both Absolute and Relative | |
| 5. |
*/*_Which program code doesn’t need preprocessing before being run?? |
| A. | Text |
| B. | Script |
| C. | Both Text and Script |
| D. | None of the mentioned |
| Answer» C. Both Text and Script | |
| 6. |
*/*_In which format does JavaScript support external JavaScript?? |
| A. | .js |
| B. | .php |
| C. | .js/php |
| D. | .jss |
| Answer» B. .php | |
| 7. |
*/*_Which algorithm supports blobs?? |
| A. | Structured clone algorithm |
| B. | Double buffer algorithm |
| C. | Chen’s algorithm |
| D. | Retrieval algorithm |
| Answer» B. Double buffer algorithm | |
| 8. |
*/*_Which is the function that allows a worker to terminate itself?? |
| A. | close() |
| B. | exit() |
| C. | terminate() |
| D. | halt() |
| Answer» B. exit() | |
| 9. |
*/*_The style property belongs to while of the following object?? |
| A. | Element |
| B. | Window |
| C. | Location |
| D. | None of the mentioned |
| Answer» B. Window | |
| 10. |
*/*_A Blob URL can be created using which of the following function?? |
| A. | createURL() |
| B. | createObjectURL() |
| C. | designURL() |
| D. | URLCreation() |
| Answer» C. designURL() | |
| 11. |
*/*_What is the next step after calling the startTimeLogging()?? |
| A. | Interpret the code |
| B. | Compile the code |
| C. | Run the code |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 12. |
*/*_What is the property to access the first child of a node?? |
| A. | timestamp.Child1 |
| B. | timestamp.Child(1) |
| C. | timestamp.Child(0) |
| D. | timestamp.firstChild |
| Answer» E. | |
| 13. |
*/*_Which of the following is not a JavaScript framework?? |
| A. | Rico |
| B. | Prototype |
| C. | Joco |
| D. | DoJo |
| Answer» E. | |
| 14. |
*/*_Which of the following has a lesser benchmark time for using JQuery to access DOM versus pure JavaScript in milliseconds?? |
| A. | Chrome JQueryDOM_ |
| B. | Chrome JSDOM_benc |
| C. | Firefox JQueryDOM_ |
| D. | Firefox JSDOM_benc |
| Answer» E. | |
| 15. |
*/*_What is a framework?? |
| A. | User time efficiency |
| B. | Author time efficiency |
| C. | Both User time and Author time efficiency |
| D. | None of the mentioned |
| Answer» C. Both User time and Author time efficiency | |
| 16. |
*/*_What is the procedure to view the console in the Firefox?? |
| A. | Tools->Error Console |
| B. | Tools->Error Window |
| C. | Help->Error Console |
| D. | None of the mentioned |
| Answer» B. Tools->Error Window | |
| 17. |
*/*_What is it called when we make a mistake in the script?? |
| A. | Error |
| B. | Bug |
| C. | Mistake |
| D. | All of the mentioned |
| Answer» C. Mistake | |
| 18. |
*/*_How to find the index of a particular string?? |
| A. | position() |
| B. | index() |
| C. | indexOf() |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 19. |
*/*_In which part does the form validation occur?? |
| A. | Client |
| B. | Server |
| C. | Both Client and Server |
| D. | None of the mentioned |
| Answer» C. Both Client and Server | |
| 20. |
*/*_What is the function used to stop capturing the ad hoc timing ?? |
| A. | stopadhoc() |
| B. | stopTimer() |
| C. | stopTimeLogging() |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 21. |
*/*_What are the benefits of closure compiler?? |
| A. | Efficiency |
| B. | Code checking |
| C. | Both Efficiency and Code checking |
| D. | None of the mentioned |
| Answer» E. | |
| 22. |
*/*_In what way does the closure compiler help in checking the code?? |
| A. | Warnings |
| B. | Suddenly aborts |
| C. | Rejects malicious inputs |
| D. | All of the mentioned |
| Answer» B. Suddenly aborts | |
| 23. |
*/*_The object that looks to the thread that creates it is? |
| A. | Window |
| B. | Worker |
| C. | Element |
| D. | Hash |
| Answer» C. Element | |
| 24. |
*/*_Which property is used to manage multiple event handlers?? |
| A. | onmessage |
| B. | onerror |
| C. | both onmessage and onerror |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 25. |
*/*_The blobs are broken into smaller pieces using which of the following functions?? |
| A. | partition() |
| B. | cut() |
| C. | sliceall() |
| D. | slice() |
| Answer» E. | |
| 26. |
*/*_Which method facilitates in uploading a Blob to a server?? |
| A. | send() |
| B. | pass() |
| C. | upload() |
| D. | store() |
| Answer» B. pass() | |
| 27. |
*/*_When does a memory leak happen?? |
| A. | Browser doesn’t release memory from objects unnecessary |
| B. | Browser releases too many memories |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» B. Browser releases too many memories | |
| 28. |
_ What is the purpose of the Attr object in the HTML DOM?$? |
| A. | Used to focus on a particular part of the HTML page |
| B. | HTML Attribute |
| C. | Used to arrange elements |
| D. | None of the mentioned |
| Answer» C. Used to arrange elements | |
| 29. |
_ What are the benefits of closure compiler?$? |
| A. | Efficiency |
| B. | Code checking |
| C. | Both Efficiency and Code checking |
| D. | None of the mentioned |
| Answer» E. | |
| 30. |
_ What is the function used to stop capturing the ad hoc timing ?$? |
| A. | stopadhoc() |
| B. | stopTimer() |
| C. | stopTimeLogging() |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 31. |
_ The object that looks to the thread that creates it is$? |
| A. | Window |
| B. | Worker |
| C. | Element |
| D. | Hash |
| Answer» C. Element | |
| 32. |
_ In what way does the closure compiler help in checking the code?$? |
| A. | Warnings |
| B. | Suddenly aborts |
| C. | Rejects malicious inputs |
| D. | All of the mentioned |
| Answer» B. Suddenly aborts | |
| 33. |
_ Which of the following ensures additional interactivity mechanism?$? |
| A. | WAI ARIA |
| B. | Geolocation API |
| C. | Object API |
| D. | None of the mentioned |
| Answer» B. Geolocation API | |
| 34. |
_ When does one use the method startOverlays()?$? |
| A. | Edit ad request |
| B. | Delete ad request |
| C. | Create ad request |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 35. |
_ Which of the following attribute takes the source of the PHP file?$? |
| A. | img |
| B. | src |
| C. | source |
| D. | none of the mentioned |
| Answer» C. source | |
| 36. |
_ Which of the following is the method used to add an element to the desired location?$? |
| A. | add.element() |
| B. | element.add() |
| C. | element.appendChild() |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 37. |
_ Which of the following is a way to retain an object in memory?$? |
| A. | Console Log |
| B. | Closures |
| C. | Destory objects |
| D. | All of the mentioned |
| Answer» B. Closures | |
| 38. |
_ The blobs are broken into smaller pieces using which of the following functions?$? |
| A. | partition() |
| B. | cut() |
| C. | sliceall() |
| D. | slice() |
| Answer» E. | |
| 39. |
_ Which property is used to manage multiple event handlers?$? |
| A. | onmessage |
| B. | onerror |
| C. | both onmessage and onerror |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 40. |
_ When does a memory leak happen?$? |
| A. | Browser doesn’t release memory from objects unnecessary |
| B. | Browser releases too many memories |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» B. Browser releases too many memories | |
| 41. |
_ Which method facilitates in uploading a Blob to a server?$? |
| A. | send() |
| B. | pass() |
| C. | upload() |
| D. | store() |
| Answer» B. pass() | |
| 42. |
_ Why do we need to create locally scoped variables to hold value?$? |
| A. | To optimize the testing process |
| B. | To increase the speed |
| C. | To minimize memory usage |
| D. | To cache the reference document.location |
| Answer» E. | |
| 43. |
_ If we have an object r and want to know if it is a Range object, we can write:$? |
| A. | r typeof Range |
| B. | r is Range |
| C. | r equals Range |
| D. | r instanceof Range |
| Answer» E. | |
| 44. |
_ How can you find a client’s browser name?$? |
| A. | browser.name |
| B. | navigator.appName |
| C. | client.navName |
| D. | none of the mentioned |
| Answer» C. client.navName | |
| 45. |
_ What is the purpose of the function eval?$? |
| A. | Executes the string as an integer |
| B. | Gets the value of the string |
| C. | Executing string as JavaScript |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 46. |
_ What is the purpose of a JavaScript debugger?$? |
| A. | Correction of errors |
| B. | Placing script execution under control |
| C. | Correction of errors & Placing script execution under control |
| D. | None of the mentioned |
| Answer» C. Correction of errors & Placing script execution under control | |
| 47. |
_ Which of the following is the window that the Firefox sends the error messages to?$? |
| A. | Bug Window |
| B. | Error Issues |
| C. | Error Window |
| D. | Error Console |
| Answer» E. | |
| 48. |
_ What is the purpose of the mimeTypes property of a plug-in entry?$? |
| A. | Contains MIME properties |
| B. | Contains MIME sizes |
| C. | Contains MIME types |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 49. |
_ Which is the function that is called to validate a data?$? |
| A. | validate() |
| B. | valid() |
| C. | validation() |
| D. | none of the mentioned |
| Answer» E. | |
| 50. |
_ Which object is the top of the hierarchy?$? |
| A. | Window Object |
| B. | Document Object |
| C. | Form Object |
| D. | Form Control Elements |
| Answer» B. Document Object | |