Graphics Devices

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is an example of graphics device?
PDF
SVG
JPEG
All of the mentioned
Explanation:
When the plot() function is invoked, R sends the data corresponding to the plot over, and the graphics device generates the plot.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following function displays currently active graphics device?
dev.present
dev.cur
pre.cur
all of the mentioned
Explanation:
You can change the active graphics device with dev.set.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Which of the the following graphic device information is odd man out in the below figure?
quartz
window
unix
x11
Explanation:
unix keyword does not exist with regards to graphics device.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is a vector file device?
png
svg
bmp
none of the mentioned
Explanation:
svg stands for scalable vector graphics.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
dev.copy2pdf specifically copy a plot to a PDF file.
True
False
Explanation:
Copying a plot is not an exact operation, so the result may not be identical to the original.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is a bitmap file type?
tiff
svg
pdf
none of the mentioned
Explanation:
TIFF is a computer file format for storing raster graphics images.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Point out the wrong statement.
For quick visualizations and exploratory analysis, usually you want to use the screen device
Functions like xyplot in lattice will not default to sending a plot to the screen device
Not all graphics devices are available on all platforms
None of the mentioned
Explanation:
window function cannot be used on Mac.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Which of the following system most often don’t have postscript viewer?
Windows
Linux
Mac
All of the mentioned
Explanation:
postscript is older format but it resizes well.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is the second goal of PCA?
data compression
statistical analysis
data dredging
all of the mentioned
Explanation:
The principal components are equal to the right singular values if you first scale the variables.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Which of the following will copy the plot from one device to another?
dev.copy
dev.copypdf
dev.device
all of the mentioned
Explanation:
Copying a plot to another device can be useful because some plots require a lot of code and it can be a pain to type all that in again for a different device.