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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  10. A.

     Window

    B.

     Element

    C.

     Display

    D.

     Handlers

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which is the alternative to the load event?

  14. A.

     readychange

    B.

     changestate

    C.

     readystatechange

    D.

     contentloader

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  16. A.

     dontload

    B.

     postload

    C.

     preload

    D.

     unload

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  20. A.

     Window

    B.

     Scroll

    C.

     Load

    D.

     Unload

    View Answer

    Workspace

    Discuss Discuss in Forum