Explore topic-wise MCQs in Technical MCQs.

This section includes 13 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.

The HTML DOM is a standard object model and programming interface for HTML.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
E.
Answer» B. FALSE
2.

_________ standard model for all document types.

A. Core DOM
B. XML DOM
C. HTML DOM
D. None of the above
Answer» B. XML DOM
3.

The W3C DOM standard is separated into _____ different parts

A. 1
B. 2
C. 3
D. 4
Answer» D. 4
4.

The DOM is a ____________ standard.

A. WWW
B. W3C
C. W3B
D. WMB
Answer» C. W3B
5.

In Javascript, DOM stands for?

A. Document Oriented Model
B. Document Object Method
C. Document Object Model
D. Document Optimized Model
Answer» D. Document Optimized Model
6.

What is the purpose of the NamedNodeMap object?

A. Unordered collection of arrays
B. Unordered collection of elements
C. Unordered collection of nodes
D. Unordered collection of attributes
Answer» D. Unordered collection of attributes
7.

What is the purpose of the Legacy DOM?

A. Modify the nodes
B. Making the script modular
C. Allows access to few keys and elements
D. Makes the scripting easier
Answer» D. Makes the scripting easier
8.

What is the full form DOM?

A. Document Object Model
B. Document Onhalt Model
C. Document Oriented Model
D. Document Oriented Management
Answer» B. Document Onhalt Model
9.

< body>
< form name="login">
Enter Your Name< input value="Akash" id="p_name" name="uname">
< /form>
< /body>
5.Which of the following statements is/are TRUE about DOM?

A. W3C standard
B. Each page can have multiple Document objects
C. form elements can be accessed using the form object
D. Both A and C
Answer» E.
10.

< body>
< form name="register">
Enter username < input value="John" id="name" name="username">
< /form>
< /body>
4.Consider the below code:Identify the correct code in order to fetch the value entered in username text field?

A. document.login.uname.value
B. document.getElementById ("p_name").value
C. document.getElementByName ("name").value
D. Both A and B
Answer» E.
11.

Consider the below code:Identify the correct code in order to fetch the value entered in username text field?

A. document.register.name.value
B. document.getElementById ("name").value
C. document.getElementByName ("name").value
D. None of the above
Answer» C. document.getElementByName ("name").value
12.

What among the following is an appropriate when an event occurs when the user clicks on an element?

A. onclick
B. onchange
C. onkeyup
D. onblur
Answer» B. onchange
13.

What among the following is an appropriate event handler for input text among the below options ?

A. onclick
B. onchange
C. onkeyup
D. onblur
Answer» C. onkeyup