MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Javascript knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
THE_EVENTS_THAT_IS_EMULATED_BY_THE_JQUERY_LIBRARY_ARE?$ |
| A. | focusarea and focusover |
| B. | focusall and focusnone |
| C. | focusdown and focusup |
| D. | focusin and focusout |
| Answer» C. focusdown and focusup | |
| 2. |
Which event is triggered sooner when the document and its elements are ready to manipulate?$ |
| A. | DOMContentLoaded |
| B. | readystatechange |
| C. | Both DOMContentLoaded & readystatechange |
| D. | Statechange |
| Answer» D. Statechange | |
| 3. |
The focus and blur events are also part of |
| A. | Element events |
| B. | Handler events |
| C. | Window events |
| D. | Scroll events |
| Answer» D. Scroll events | |
| 4. |
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. | When mouse is released |
| Answer» B. When mouse is clicked | |
| 5. |
How to detect and respond to mouse drags? |
| A. | Registering a mouseover handler |
| B. | Releasing a mousedown handler |
| C. | Registering a mousedown handler |
| D. | Releasing a mouseover handler |
| Answer» D. Releasing a mouseover handler | |
| 6. |
Which of the following keys are set to true when the keyboard modifier keys are held down? |
| A. | altKey |
| B. | ctrlKey |
| C. | metaKey |
| D. | all of the mentioned |
| Answer» E. | |
| 7. |
The properties that specify the position and button state of the mouse are |
| A. | clientX and clientY |
| B. | clientY and clientX |
| C. | altKey and ctrlKey |
| D. | metaKey and shiftKey |
| Answer» B. clientY and clientX | |
| 8. |
When are the mouse events generated? |
| A. | When user clicks the mouse over a document |
| B. | When user moves over a document |
| C. | On pressing a key |
| D. | When user clicks or moves the mouse over a document |
| Answer» E. | |