Home / CSE / Javascript - CS :: Document Object Model and Event Handling

CSE :: Javascript - CS

  1. DOM Level 3 Events standardizes which of the following events?

  2. A.

     focusarea and focusover

    B.

     focusall and focusnone

    C.

     focusdown and focusup

    D.

     focusin and focusout


  3. Which of the following are the unnecessary events currently?

  4. A.

     DOMActivate

    B.

     DOMFocusIn

    C.

     DOMNodeInserted

    D.

     All of the mentioned


  5. Which object is passed as the argument to handlers for keydown, keyup, and keypress events?

  6. A.

     KeyboardEvent

    B.

     Key Event

    C.

     Mouse Event

    D.

     Alphabet Event


  7. Which property reports rotation around three different mouse wheel axes?

  8. A.

     ctrlKey

    B.

     alterX

    C.

     alterY

    D.

     deltaX


  9. Which of the following property specifies the string of text that was entered?

  10. A.

     message

    B.

     data

    C.

     string

    D.

     text


  11. Which of the following is defined by the specification?

  12. A.

     dataMethod

    B.

     input

    C.

     inputMethod

    D.

     inputdataMethod


  13. Which two events will have the generated text for key events?

  14. A.

     key and char

    B.

     char and text

    C.

     text and key

    D.

     key and value


  15. Which of the following are the drag and drop events?

  16. A.

     drop

    B.

     dragstart

    C.

     both drop and dragstart

    D.

     none of the mentioned


  17. Which property holds a DataTransfer object that contains information about the data being transferred and the formats in whichh it is available?

  18. A.

     dataTransfer

    B.

     transferData

    C.

     dataExchange

    D.

     exchangeData


  19. Which API allows scripts in a document from one server to exchange messages with scripts?

  20. A.

     Cross-Document Messaging API

    B.

     Web application API

    C.

     Both Cross-Document Messaging API & Web application API

    D.

     None of the mentioned