Explore topic-wise MCQs in R Programming.

This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your R Programming knowledge and support exam preparation. Choose a topic below to get started.

1.

Which of the following code represents count with mean of 2?

A. rpois(10, 2)
B. rpois(10, 20)
C. rpois(20, 2)
D. rpois(20, 20)
Answer» B. rpois(10, 20)
2.

__________ distribution is commonly used to model data that come in the form of counts.

A. Gaussian
B. Parametric
C. Poisson
D. Simulation
Answer» D. Simulation
3.

5 Normal random numbers can be generated with rnorm() by setting seed value to ______________

A. 1
B. 2
C. 3
D. 4
Answer» B. 2
4.

_________ ensures reproducibility of the sequence of random numbers.

A. sets.seed()
B. set.seed()
C. set.seedvalue()
D. set.value()
Answer» C. set.seedvalue()