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

CSE :: Javascript - CS

  1. The events that are not triggered directly by user activity are called

  2. A.

     Device-independent input events

    B.

     Device-dependent input events

    C.

     User interface events

    D.

     State change events


  3. The video and the audio belong to the

  4. A.

     Timers and error handlers

    B.

     API-Specific events

    C.

     State change events

    D.

     User interface events


  5. The client-side JavaScript’s asynchronous programming model contains

  6. A.

     Timers and error handlers

    B.

     User interface events

    C.

     State change events

    D.

     API-specific events


  7. Which are the events that have default actions that can be canceled by event handlers?

  8. A.

     Submit and form-related events

    B.

     Reset and form-related events

    C.

     Submit and reset events

    D.

     None of the mentioned


  9. The events that represents occurrences related to the browser window are

  10. A.

     Window

    B.

     Element

    C.

     Display

    D.

     Handlers


  11. Which event is fired when a document and all of its external resources are fully loaded and displayed to the user?

  12. A.

     Window

    B.

     Load

    C.

     Element

    D.

     Handler


  13. Which is the alternative to the load event?

  14. A.

     readychange

    B.

     changestate

    C.

     readystatechange

    D.

     contentloader


  15. Which is the opposite to the load event in JavaScript?

  16. A.

     dontload

    B.

     postload

    C.

     preload

    D.

     unload


  17. Which is the property that is triggered in response to JavaScript errors?

  18. A.

     onexception

    B.

     onmessage

    C.

     onerror

    D.

     none of the mentioned


  19. Which event can be fired on any scrollable document element?

  20. A.

     Window

    B.

     Scroll

    C.

     Load

    D.

     Unload