This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Graphics with R – 2”.
1. ______ gives the length and height of the current figure in inches.
a) Din
b) Fin
c) Sin
d) Cin
View Answer
Explanation: R has a variety of graphics functions. Each function has its own set of arguments. Fin gives the length and height of the current figure in inches.
2. __________ read only parameter that returns the width and height of the current device surface in inches.
a) Din
b) Fin
c) Gin
d) Kin
View Answer
Explanation: R has a variety of graphics functions. Din will read only parameter that returns the length and height of the current device surface in inches.
3. ask=T is a parameter that R asks before producing the _______
a) function
b) package
c) interface
d) graphics
View Answer
Explanation: Each function has its own set of arguments. ask=T in R language asks before producing the graphic. This is useful if you need to view multiple plots, one at a time.
4. Which of the following declares the current plot undeclared?
a) New = H
b) New = T
c) New = J
d) New = L
View Answer
Explanation: New=T will declare the current plot is unused (even if it is not). This means that R will not erase it before moving in through the next plot.
5. Which of the following will be used in fancy plots?
a) New = T
b) New = J
c) New = K
d) New = L
View Answer
Explanation: New=T will declare the current plot is unused (even if it is not). This is useful for more fancy plots, where you may be producing a number of plots on the one figure.
6. ________ level plotting functions that start a new plot.
a) High
b) Low
c) Medium
d) Simple
View Answer
Explanation: R has a variety of graphics functions. High-level plotting functions will start a new plot. Low-level plotting functions that add elements to an existing plot.
7. ________ level plotting functions that add elements to an existing plot.
a) High
b) Low
c) Medium
d) Simple
View Answer
Explanation: R has many varieties of graphics functions. High-level plotting functions will start a new plot. Low-level plotting functions that add elements to an existing plot.
8. Which of the following is the plotting character?
a) Sch
b) Pch
c) Grd
d) Pck
View Answer
Explanation: R has a variety of graphics functions. Each function has its own set of arguments. Pch gives the plotting character of the graph.
9. Which of the following is the colour argument?
a) Col
b) Dol
c) Cul
d) Acol
View Answer
Explanation: Col is the colouring argument in R and R has a variety of graphics functions. Each function has its own set of arguments.
10. ________ is used for main title in graph.
a) Title
b) Main
c) Title Main
d) Main Title
View Answer
Explanation: Main is used for the main title in the graphics.R has a variety of graphics functions. Each function has its own set of arguments.
Sanfoundry Global Education & Learning Series – R Programming Language.
Here’s the list of Best Books in R Programming Language .
If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]
- Apply for Programming Internship
- Practice Programming MCQs
- Check R Programming Books
- Check Information Technology Books