This set of Data Science Multiple Choice Questions & Answers (MCQs) focuses on “Graphics Devices – 1”.
1. Which of the the following graphic device information is odd man out in the below figure?
a) quartz
b) window
c) unix
d) x11
View Answer
Explanation: unix keyword does not exist with regards to graphics device.
2. Point out the correct statement.
a) On Mac, the screen device is launched with quartz
b) On Windows, the screen device is launched with wind
c) On Unix, the screen device is launched with x12
d) All of the mentioned
View Answer
Explanation: On Windows, the screen device is launched with window function.
3. Which of the following is an example of graphics device?
a) PDF
b) SVG
c) JPEG
d) All of the mentioned
View Answer
Explanation: When the plot() function is invoked, R sends the data corresponding to the plot over, and the graphics device generates the plot.
4. Which of the following file format is graphic device only for windows?
a) pdf
b) svg
c) win.metafile
d) all of the mentioned
View Answer
Explanation: Exporting graphics to a Windows MetaFile can be achieved via the win.metafile.
5. Point out the wrong statement.
a) For quick visualizations and exploratory analysis, usually you want to use the screen device
b) Functions like xyplot in lattice will not default to sending a plot to the screen device
c) Not all graphics devices are available on all platforms
d) None of the mentioned
View Answer
Explanation: window function cannot be used on Mac.
6. Which of the following system most often don’t have postscript viewer?
a) Windows
b) Linux
c) Mac
d) All of the mentioned
View Answer
Explanation: postscript is older format but it resizes well.
7. There are mainly three types of file devices.
a) True
b) False
View Answer
Explanation: There are mainly basic types of file devices-vector and bitmap.
8. Which of the following is a bitmap file type?
a) tiff
b) svg
c) pdf
d) none of the mentioned
View Answer
Explanation: TIFF is a computer file format for storing raster graphics images.
9. Which of the following function displays currently active graphics device?
a) dev.present
b) dev.cur
c) pre.cur
d) all of the mentioned
View Answer
Explanation: You can change the active graphics device with dev.set.
10. The most familiar place for a plot to be “sent” is screen device.
a) True
b) False
View Answer
Explanation: On Linux, the screen device is launched with x11 function.
Sanfoundry Global Education & Learning Series – Data Science.
Here’s the list of Best Books in Data Science.
- Apply for Computer Science Internship
- Check Data Science Books
- Practice Programming MCQs
- Apply for Data Science Internship
- Check Computer Science Books