Home / CSE / Javascript - CS :: Server Side and Client Side Scripting

CSE :: Javascript - CS

  1. The word “document” mainly refers to

  2. A.

     Dynamic Information

    B.

     Static Information

    C.

     Both Dynamic and Static Information

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which object is the main entry point to all client-side JavaScript features and APIs?

  4. A.

     Standard

    B.

     Location

    C.

     Window

    D.

     Position

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which identifier is used to represent a web browser window or frame?

  6. A.

     frames

    B.

     window

    C.

     location

    D.

     frame

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which property in the Window object is used to refer to a Location object?

  8. A.

     position

    B.

     area

    C.

     window

    D.

     location

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which Window object method is used to display message in a dialog box?

  10. A.

     alert()

    B.

     prompt()

    C.

     message()

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. The setTimeout() method is used to

  12. A.

     Make the event sleep

    B.

     Register a function to be invoked after a certain time

    C.

     Invoke an event after a certain time

    D.

     Time for iteration

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following is a global object?

  14. A.

     Register

    B.

     Location

    C.

     Window

    D.

     Position

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. When will the window property come into play?

  16. A.

     Representation convenience

    B.

     Use as an extension of other objects

    C.

     Use objects in the Window object

    D.

     Refer to window object itself

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which is the property that represents the content displayed in the window?

  18. A.

     document

    B.

     content

    C.

     window

    D.

     frame

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. How to pick a document element based on the value of its id attribute?

  20. A.

     getElementsbyId()

    B.

     getElementbyId()

    C.

     both getElementsbyId() and getElementbyId()

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum