R Programming MCQ Questions And Answers - Packages

This section focuses on "Packages" in R Programming. These Multiple Choice Questions (MCQ) should be practiced to improve the R Programming skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. Which of the following syntax is used to install forecast package?

A. install.pack("forecast")
B. install.packages("cast")
C. install.packages("forecast")
D. install.pack("forecastcast")

View Answer


2. Which splits a data frame and returns a data frame?

A. apply
B. ddply
C. stats
D. plyr

View Answer


3. Which of the following is an R package for the exploratory analysis of genetic and genomic data?

A. adeg
B. adegenet
C. anc
D. abd

View Answer


4. Which of the following contains functions for processing uniaxial minute-to-minute accelerometer data?

A. accelerometry
B. abc
C. abd
D. anc

View Answer


5. ______ Uses Grieg-Smith method on 2 dimensional spatial data.

A. G.A.
B. G2db
C. G.S.
D. G1DBN

View Answer


6. Which of the following package provide namespace management functions not yet present in base R?

A. stringr
B. nbpMatching
C. messagewarning
D. namespace

View Answer


7. What will be the output of the following R code?

install.packages(c("devtools", "roxygen2"))

A. Develops the tools
B. Installs the given packages
C. Exits R studio
D. Nothing happens

View Answer


8. A bundled package is a package that’s been compressed into a ______ file.

A. Double
B. Single
C. Triple
D. No File

View Answer


9. .library() is not useful when developing a package since you have to install the package first.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


10. DESCRIPTION uses a very simple file format called DCF.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer





Discussion



* You must be logged in to add comment.