Home / CSE MCQs / Javascript MCQs :: Javascript Sockets

CSE MCQs :: Javascript MCQs

  1. How will you convert the returned API into an XML object?
  2. A.
    SimpleElement()
    B.
    SimpleXMLElement()
    C.
    XMLElement()
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. What is the tainted property of the window object?
  4. A.
    Pathname
    B.
    Protocol
    C.
    Default status
    D.
    Host

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What is the need for bubble charts?
  6. A.
    Represent 2D data
    B.
    Represent 3D data
    C.
    Both a and b
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which is the method used to save chart as a ps file?
  8. A.
    ps()
    B.
    postscript()
    C.
    script()
    D.
    post(script)

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What are the purposes R can be used for?
  10. A.
    Suck in data
    B.
    Parse data
    C.
    Process data
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following is the base install for R?
  12. A.
    Contrib
    B.
    Base
    C.
    Rtools
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which symbol is used to start a comment?
  14. A.
    /
    B.
    $
    C.
    #
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. What does the pushState() method do?
  16. A.
    Removes the state
    B.
    Adds new state
    C.
    Replaces the state
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which method is used to close the WebSocket?
  18. A.
    Socket.flush()
    B.
    Socket.close()
    C.
    Socket.Close()
    D.
    Socket.dispose()

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. How can we check the subprotocol being used by the client?
  20. A.
    subprotocol property
    B.
    protocol property
    C.
    clientprotocol property
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum