250+ TOP MCQs on Graphics with R and Answers

R Programming Language Multiple Choice Questions on “Graphics with R”.

1. ______ gives the length and height of the current figure in inches.
a) Din
b) Fin
c) Sin
d) Cin

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

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

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

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

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

  250+ TOP MCQs on Data Types and Answers

6. ________ level plotting functions that start a new plot.
a) High
b) Low
c) Medium
d) Simple

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

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

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

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

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

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top