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


  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


  5. Which of the following uses scripted HTTP?

  6. A.

     XML

    B.

     HTML

    C.

     Ajax

    D.

     All of the mentioned


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

  8. A.

     HTTP

    B.

     HTML

    C.

     XML

    D.

     Comet


  9. The other name for Comet is

  10. A.

     Server Push

    B.

     Ajax Push

    C.

     HTTP Streaming

    D.

     All of the mentioned


  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


  13. XMLHttpRequesr is a

  14. A.

     Object

    B.

     Class

    C.

     Both Object and Class

    D.

     None of the mentioned


  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


  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


  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");