Data Science Questions and Answers – Graphics Devices – 1

This set of Advanced Data Science Questions & Answers focuses on “Graphics Devices – 1”.

1. Which of the the following graphic device information is odd man out in the below figure?
The graphic device information is unix keyword with regards to graphics device
a) quartz
b) window
c) unix
d) x11
View Answer

Answer: c
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

Answer: a
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

Answer: d
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

Answer: c
Explanation: Exporting graphics to a Windows MetaFile can be achieved via the win.metafile.

advertisement
advertisement

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

Answer: b
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

Answer: a
Explanation: postscript is older format but it resizes well.

Note: Join free Sanfoundry classes at Telegram or Youtube

7. There are mainly three types of file devices.
a) True
b) False
View Answer

Answer: b
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

Answer: c
Explanation: TIFF is a computer file format for storing raster graphics images.

advertisement

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

Answer: b
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

Answer: a
Explanation: On Linux, the screen device is launched with x11 function.

advertisement

Sanfoundry Global Education & Learning Series – Data Science.

Here’s the list of Best Books in Data Science.

To practice advanced questions on all areas of Data Science, Here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.