Explore topic-wise MCQs in R Programming.

This section includes 10 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.

__________ package is used to speed up data frame management code.

A. Data.table
B. Dplyr
C. Table
D. Data.dplyr
Answer» C. Table
2.

___________ function is used to apply an expression for a given dataset.

A. This()
B. With()
C. Unwith()
D. That()
Answer» C. Unwith()
3.

__________ is the easiest method for reshaping the data before analysis.

A. Transpose()
B. Structure()
C. Package
D. Function
Answer» B. Structure()
4.

How many types of data structures does R language have?

A. 2
B. 3
C. 5
D. 8
Answer» B. 3
5.

__________ is the best way for communicating the results of data analysis using the R language.

A. Single document
B. Files
C. Structures
D. Loadings
Answer» B. Files
6.

Which function in R language is used to find out whether the means of 2 groups are equal to each other or not?

A. f.tests ()
B. l.tests ()
C. t.tests ()
D. not exist
Answer» D. not exist
7.

CRAN package ecosystem has more than ______ packages.

A. 5000
B. 4000
C. 6000
D. 8000
Answer» D. 8000
8.

How missing values and impossible values are represented in R language?

A.
B. NAN
C. NA & NAN
D. Not Exist
Answer» D. Not Exist
9.

Two vectors M and N are defined as M <- c(3, 2, 4) and N <- c(1, 2). What will be the output of vector Z that is defined as Z <- M*N.

A. Z <- (3, 2, 4)
B. Z <- (3, 6, 4)
C. Z <- (3, 4, 5)
D. Z <- (3, 4, 4)
Answer» E.
10.

R Commander is used to ___________ in R.

A. Export data
B. Import data
C. Use data
D. Work on data
Answer» C. Use data