Graphics Devices

Question 1
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 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following function has parameters shown in the below figure?
par
bar
base
all of the mentioned
Explanation:
R makes it easy to combine multiple plots into one overall graph, using either the par( ) or layout( ) function.
Question 3
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 4
Marks : +2 | -2
Pass Ratio : 100%
There are mainly three types of file devices.
True
False
Explanation:
There are mainly basic types of file devices-vector and bitmap.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
Every open graphics device is assigned an integer greater than 2.
True
False
Explanation:
Every open graphics device is assigned an integer greater than equal to 2.
Question 6
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 7
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
On Mac, the screen device is launched with quartz
On Windows, the screen device is launched with wind
On Unix, the screen device is launched with x12
All of the mentioned
Explanation:
On Windows, the screen device is launched with window function.
Question 8
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 9
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 10
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.