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

CSE :: Javascript - CS

  1. What is the code snippet to go back to a history twice?

  2. A.

     history(2);

    B.

     history(-2);

    C.

     history.go(-2);

    D.

     history.go(2);

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. If the window has child windows, how will the browsing histories be affected?

  4. A.

     Numerically interleaved

    B.

     Chronologically interleaved

    C.

     Both Numerically and Chronologically interleaved

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. The length property belongs to which of the following objects?

  6. A.

     Window

    B.

     Element

    C.

     History

    D.

     Document

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What is the datatype of the go() method’s parameter?

  8. A.

     String

    B.

     Integer

    C.

     Double

    D.

     Float

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What is the special feature of the modern web applications?

  10. A.

     Can alter contents without loading document

    B.

     Must load the document to manipulate

    C.

     All of the mentioned

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. The navigator property belongs to which of the following object?

  12. A.

     Document

    B.

     Window

    C.

     Navigator

    D.

     Location

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. What is the vendor-neutral synonym for navigator?

  14. A.

     staticData

    B.

     purposeInformation

    C.

     dataInformation

    D.

     clientInformation

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which is the preferred testing nowadays for scripting?

  16. A.

     Software testing

    B.

     Feature testing

    C.

     Blackbox testing

    D.

     Whitebox testing

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the below properties can be used for browser sniffing?

  18. A.

     platform

    B.

     appVersion

    C.

     both platform and appVersion

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Where is the information of the userAgent property located?

  20. A.

     appId

    B.

     appName

    C.

     platform

    D.

     appVersion

    View Answer

    Workspace

    Discuss Discuss in Forum