Explore topic-wise MCQs in R Programming.

This section includes 14 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 object is masked from ‘package: stats’?

A. filter
B. union
C. set difference
D. get difference
Answer» B. union
2.

The dplyr package can be installed from CRAN using __________

A. installall.packages(“dplyr”)
B. install.packages(“dplyr”)
C. installed.packages(“dplyr”)
D. installed.packages(“dpl”)
Answer» C. installed.packages(“dplyr”)
3.

The dplyr package can be installed from GitHub using the _______ package.

A. dev
B. devtools
C. devtool
D. devdel
Answer» C. devtool
4.

The _______ operator is used to connect multiple verb actions together into a pipeline.

A. pipe
B. piper
C. start
D. end
Answer» B. piper
5.

________ add new variables/columns or transform existing variables.

A. mutate
B. add
C. apped
D. arrange
Answer» B. add
6.

_________ generate summary statistics of different variables in the data frame, possibly within strata.

A. rename
B. summarize
C. set
D. subset
Answer» C. set
7.

THE_DPLYR_PACKAGE_CAN_BE_INSTALLED_FROM_CRAN_USING_:?$

A. installall.packages(“dplyr”)
B. install.packages(“dplyr”)
C. installed.packages(“dplyr”)
D. none of the mentioned
Answer» C. installed.packages(‚Äö√Ñ√∂‚àö√ë‚àö‚à´dplyr‚Äö√Ñ√∂‚àö√ë‚àöœÄ)
8.

Which_of_the_following_object_is_masked_from_‘package:_stats’?$#

A. filter
B. union
C. set difference
D. none of the mentioned
Answer» B. union
9.

The dplyr package can be installed from GitHub using the _______ packag?

A. dev
B. devtools
C. devtool
D. all of the mentioned
Answer» C. devtool
10.

The _______ operator is used to connect multiple verb actions together into a pipeline

A. pipe
B. piper
C. start
D. all of the mentioned
Answer» B. piper
11.

________ add new variables/columns or transform existing variables

A. mutate
B. add
C. apped
D. arrange
Answer» B. add
12.

_________ generate summary statistics of different variables in the data frame, possibly within strata

A. rename
B. summarize
C. set
D. subset
Answer» C. set
13.

_________ extract a subset of rows from a dataframe based on logical conditions.

A. rename
B. filter
C. set
D. subset
Answer» B. filter
14.

Which of the following return a subset of the columns of a data frame?

A. select
B. retrieve
C. get
D. all of the mentioned
Answer» B. retrieve