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

CSE :: Javascript - CS

  1. Which property helps to initiate the HTTP requests?

  2. A.

     request

    B.

     location

    C.

     send

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which method is an alternative of the property location of a window object?

  4. A.

     submit()

    B.

     locate()

    C.

     load()

    D.

     none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following uses scripted HTTP?

  6. A.

     XML

    B.

     HTML

    C.

     Ajax

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which of the below is a lieral reverse of Ajax?

  8. A.

     HTTP

    B.

     HTML

    C.

     XML

    D.

     Comet

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. The other name for Comet is

  10. A.

     Server Push

    B.

     Ajax Push

    C.

     HTTP Streaming

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which is the element that has a src property to initiate HTTP GET request?

  12. A.

     img

    B.

     iframe

    C.

     script

    D.

     both img and script

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. XMLHttpRequesr is a

  14. A.

     Object

    B.

     Class

    C.

     Both Object and Class

    D.

     None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following are the features of an HTTP request?

  16. A.

     URL being requested

    B.

     Optional request body

    C.

     Optional set of request headers

    D.

     All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following is a feature of the HTTP response?

  18. A.

     Mandatory response body

    B.

     Optional response body

    C.

     URL being released

    D.

     Optional set of response headers

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which is the appropriate code to begin a HTTP GET request?

  20. A.

     request.open("GET","data");

    B.

     request.open(GET,"data.csv");

    C.

     request.open("GET","data.csv");

    D.

     request.open("GET");

    View Answer

    Workspace

    Discuss Discuss in Forum