Home / CSE / Javascript - CS :: Caching and Debugging

CSE :: Javascript - CS

  1. What is the purpose of the method nodeMap.setNamedItem()?

  2. A.

     Sets ID

    B.

     Sets attribute node

    C.

     Sets element name

    D.

     None of the mentioned


  3. How is everything treated in HTML DOM?

  4. A.

     Node

    B.

     Attributes

    C.

     Elements

    D.

     All of the mentioned


  5. What does the NamedNodeMap object represent in the HTML DOM?

  6. A.

     Unordered collection of elements

    B.

     Unordered collection of attributes

    C.

     Unordered collection of nodes

    D.

     All of the mentioned


  7. What is the purpose of the Attr object in the HTML DOM?

  8. 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


  9. What is the work of the form control elements in the HTML DOM?

  10. A.

     User Interface elements

    B.

     All the possible elements

    C.

     Debugging elements

    D.

     None of the mentioned


  11. How are the objects organized in the HTML DOM?

  12. A.

     Class-wise

    B.

     Queue

    C.

     Hierarchy

    D.

     None of the mentioned


  13. Which of the following is a type of HTML DOM?

  14. A.

     Legacy DOM

    B.

     W3C DOM

    C.

     IE4 DOM

    D.

     All of the mentioned


  15. What is the purpose of the Legacy DOM ?

  16. A.

     Makes the scripting easier

    B.

     Allows access to few keys and elements

    C.

     All of the mentioned

    D.

     None of the mentioned


  17. Which object is the top of the hierarchy?

  18. A.

     Window Object

    B.

     Document Object

    C.

     Form Object

    D.

     Form Control Elements


  19. In which part does the form validation occur?

  20. A.

     Client

    B.

     Server

    C.

     Both Client and Server

    D.

     None of the mentioned