Data Science Multiple Choice Questions on “Plotting Systems”.
1. How many stages commonly occurs in creation of plot?
a) 2
b) 5
c) 8
d) All of the mentioned
Answer: a
Explanation: The base plotting system is highly flexible.
2. Base graphics are used most commonly for creating 2D graphics.
a) True
b) False
Answer: a
Explanation: Base graphics is a very powerful system for creating 2D graphics.
3. Which of the following annotation function is used to add or modify text?
a) word
b) graph
c) lines
d) all of the mentioned
Answer: d
Explanation: points and axis are other well known annotation function.
4. Which of the following package is implemented by lattice plotting system?
a) grDevices
b) grid
c) graphics
d) all of the mentioned
Answer: b
Explanation: Use grid on to display the major grid lines.
5. Point out the wrong statement.
a) Plot are created with multiple functions only
b) Plots are created with both single and multiple function calls
c) Annotation in plot is not especially intuitive
d) None of the mentioned
Answer: a
Explanation: Plots are created with single function also.
6. Which of the following parameter defines line type such as dashed and dotted?
a) lty
b) pch
c) lwd
d) all of the mentioned
Answer: a
Explanation: lwd is used for line width.
7. The core plotting engine is encapsulated in graphics package.
a) True
b) False
Answer: a
Explanation: graphics package contain plotting functions.
8. Which of the following argument specifies margin size with regards to par function?
a) las
b) bg
c) mar
d) all of the mentioned
Answer: c
Explanation: par function is used to specify global parameters.