Graphics Devices

Question 1
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 2
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 3
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 4
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 5
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 6
Marks : +2 | -2
Pass Ratio : 100%
The most familiar place for a plot to be “sent” is screen device.
True
False
Explanation:
On Linux, the screen device is launched with x11 function.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
Vector formats are good for line drawings and plots with solid colors using a modest number of points
Vector formats are good for plots with a large number of points, natural scenes or web based plots
The default graphics device is always the screen device
All of the mentioned
Explanation:
Bitmap formats are good for plots with a large number of points, natural scenes or web based plots.
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%
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 10
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.