

MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
1. |
When will the browser invoke the handler? |
A. | Program begins |
B. | Any event occurs |
C. | Specified event occurs |
D. | None of the above |
E. | |
Answer» D. None of the above | |
2. |
{ var a = null; document.getElementById ("demo").innerHTML = Boolean(a); }} |
A. | parent(parent) |
B. | parent.parent |
C. | parent*parent |
D. | parent/parent |
Answer» C. parent*parent | |
3. |
{ var a = ""; document.getElementById ("demo").innerHTML = Boolean(a); } |
A. | true |
B. | false |
C. | error |
D. | undefined |
Answer» C. error | |
4. |
document.getElementById ("demo").innerHTML =b5; |
A. | true |
B. | false |
C. | error |
D. | undefined |
Answer» C. error | |
5. |
{ document.getElementById ("demo").innerHTML = Boolean(15.00 === 15); } |
A. | true |
B. | false |
C. | error |
D. | undefined |
Answer» B. false | |
6. |
{ document.getElementById ("demo").innerHTML = Boolean(21 > 15); } |
A. | true |
B. | false |
C. | error |
D. | 0 |
Answer» C. error | |
7. |
What is the code snippet to go back to a history thrice? |
A. | history(3); |
B. | history(-3); |
C. | history.go(-3); |
D. | history.go(3); |
Answer» D. history.go(3); | |