

MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Javascript knowledge and support exam preparation. Choose a topic below to get started.
1. |
WHICH_EVENT_HANDLER_IS_TRIGGERED_WHEN_THE_USER‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚ÀÖ¬•S_MOUSE_MOVES_ONTO_A_LINK??$# |
A. | onMouseOver |
B. | onMouseOut |
C. | onMouse |
D. | onMouseOnto |
Answer» B. onMouseOut | |
2. |
Which_event_handler_is_triggered_when_the_user’s_mouse_moves_away_from_a_link?$# |
A. | onMouseOver |
B. | onMouseOut |
C. | onMouse |
D. | onMouseOnto |
Answer» C. onMouse | |
3. |
How do we create and preload an image object in JavaScript? |
A. | Use new keyword |
B. | Call Image() |
C. | Both Use new keyword and Call Image() |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
4. |
How to assign the image source in JavaScript? |
A. | image = “url” |
B. | source(“url”) |
C. | image.src = “url” |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
5. |
How do we get the DOM object in JavaScript? |
A. | getElementbyId() |
B. | getObject() |
C. | getElement() |
D. | none of the mentioned |
Answer» B. getObject() | |
6. |
Which is the function used to call a function in every time duration? |
A. | callafter() |
B. | setInterval() |
C. | setTimeout() |
D. | setTime() |
Answer» C. setTimeout() | |
7. |
Which is the property used to position the object in the left of the screen? |
A. | object.position = left |
B. | object = position.left |
C. | object.style.left |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
8. |
Which function is used to clear the timer value? |
A. | clearTimervalue() |
B. | clearTimeout() |
C. | clear() |
D. | flush(timer) |
Answer» C. clear() | |
9. |
Which is the function that calls another function after a time interval? |
A. | setTimeout() |
B. | setTime() |
C. | callafter() |
D. | none of the mentioned |
Answer» B. setTime() | |
10. |
Which of the following can be implemented using animation? |
A. | Fireworks |
B. | Fade Effect |
C. | Roll-in or Roll-out |
D. | All of the mentioned |
Answer» E. | |