This set of Data Science Multiple Choice Questions & Answers (MCQs) focuses on “googleVis”.
1. Which of the following is R interface to google charts?
a) googleVis
b) googleChart
c) googleDataVis
d) all of the mentioned
View Answer
Explanation: googleVis allow users to create interactive charts based on data frames.
2. Point out the wrong statement.
a) The plot command does open a graphics device in the modern way
b) Motion Chart is only displayed when hosted on a web server
c) gvisMotionChart is used to create motion chart
d) All of the mentioned
View Answer
Explanation: The plot command does not open a graphics device in the traditional way.
3. Which of the following create a Google Gadget based on a Google Visualization Object?
a) createGadget
b) createGoogleGadget
c) newGoogleGadget
d) all of the mentioned
View Answer
Explanation: createGoogleGadget returns a Google Gadget XML string.
4. Which of the following reads a data.frame and creates text output referring to the Google Visualization API?
a) gvisAnnotatedLine
b) gvisTimeLine
c) gvisAnnotatedTimeLine
d) none of the mentioned
View Answer
Explanation: An annotated time line is an interactive time series line chart with optional annotations.
5. Point out the correct statement.
a) gvisAnnotationChart returns list of class “gvis” and “list”
b) The gvisAreaChart function reads a data.frame and creates text output referring to the Google Visualization API
c) gvisAreaChart returns list of class “gvis” and “list”
d) All of the mentioned
View Answer
Explanation: This can be included into a web page, or as a stand-alone page.
6. Which of the following is used for creating interacting tables?
a) gvisGeoChart
b) gvisTable
c) gvisLineChart
d) all of the mentioned
View Answer
Explanation: gvisLineChart is used for creating line charts.
7. gvisAnnotatedTimeLine returns list of class “gvis” and “list”.
a) True
b) False
View Answer
Explanation: The chart is rendered within the browser using flash.
8. The actual chart of gvisBarChart is rendered by the web browser using _________ or VML.
a) JPEG
b) SVG
c) PDF
d) All of the mentioned
View Answer
Explanation: gvisBarChart reads data frame.
9. Which of the following is used for creating tree maps?
a) gvisGeoChart
b) gvisTable
c) gvisTreeMap
d) all of the mentioned
View Answer
Explanation: gvisGeoChart is used for interactive maps.
10. gvisAnnotationChart charts are interactive time series line charts that support annotations.
a) True
b) False
View Answer
Explanation: Unlike the gvisAnnotatedTimeLine, which uses flash, annotation charts are SVG/VML and should be preferred whenever possible.
Sanfoundry Global Education & Learning Series – Data Science.
Here’s the list of Best Books in Data Science.
- Apply for Data Science Internship
- Check Computer Science Books
- Practice Computer Science MCQs
- Apply for Computer Science Internship
- Check Programming Books