Graphics Devices

Question 1
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 2
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 3
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 4
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 5
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 6
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 7
Marks : +2 | -2
Pass Ratio : 100%
Which of the following file format is graphic device only for windows?
pdf
svg
win.metafile
all of the mentioned
Explanation:
Exporting graphics to a Windows MetaFile can be achieved via the win.metafile.
Question 8
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 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is used to change active graphic device?
dev.set
dev.int
dev.win
all of the mentioned
Explanation:
You can change the active graphics device with dev.set(<integer>) where <integer> is the number associated with the graphics device you want to switch to.
Question 10
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.