Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Which is the method used to save chart as a ps file?
  1.    ps()
  2.    postscript()
  3.    script()
  4.    post(script)
 Discuss Question
Answer: Option B. -> postscript()


The syntax for the method to save chart as a ps file is : postscript([filename]).


Question 2. How will you convert the returned API into an XML object?
  1.    SimpleElement()
  2.    SimpleXMLElement()
  3.    XMLElement()
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> SimpleXMLElement()


The API returned by the method file_get_contents() can be converted into an XML object using the method SimpleXMLElement().


Question 3. What is the need for bubble charts?
  1.    Represent 2D data
  2.    Represent 3D data
  3.    Both a and b
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Represent 3D data


Bubble charts are used to represent three-dimensional data.


Question 4. What are the purposes R can be used for?
  1.    Suck in data
  2.    Parse data
  3.    Process data
  4.    All of the mentioned
 Discuss Question
Answer: Option D. -> All of the mentioned


Generally, R can be used to suck in data, parse it, process it, and then visualize it for reporting purposes.


Question 5. What is the tainted property of the window object?
  1.    Pathname
  2.    Protocol
  3.    Default status
  4.    Host
 Discuss Question
Answer: Option C. -> Default status


The Defaultstatus is the tainted property of the window object.


Question 6. Which of the following is the base install for R?
  1.    Contrib
  2.    Base
  3.    Rtools
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Base


The PC installer comes in three flavors: Base is the base install, Contrib comes with compiled third-party packages, and Rtools comes with tools to build your own R packages.


Question 7. Which symbol is used to start a comment?
  1.    /
  2.    $
  3.    #
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> #


'#' is used to comment a line.


Question 8. Which method is used to close the WebSocket?
  1.    Socket.flush()
  2.    Socket.close()
  3.    Socket.Close()
  4.    Socket.dispose()
 Discuss Question
Answer: Option B. -> Socket.close()


The Socket.close() is used to close the WebSocket.


Question 9. What does the pushState() method do?
  1.    Removes the state
  2.    Adds new state
  3.    Replaces the state
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Adds new state


When a web app enters a new state, it calls history.pushState() to add that state to the browsing history.


Question 10. How can we check the subprotocol being used by the client?
  1.    subprotocol property
  2.    protocol property
  3.    clientprotocol property
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> protocol property


Once the connection is established, the client can determine which subprotocol is in use by checking the protocol property of the socket.


Latest Videos

Latest Test Papers