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.

lappy functions takes _________ arguments in R language.

A. two
B. three
C. four
D. five
Answer» D. five
2.

Which of the following is multivariate version of lapply?

A. apply()
B. lapply()
C. sapply()
D. mapply()
Answer» E.
3.

__________ function is same as lapply in R.

A. apply()
B. lapply()
C. sapply()
D. mapply()
Answer» D. mapply()
4.

________ loop over a list and evaluate a function on each element.

A. apply()
B. lapply()
C. sapply()
D. mapply()
Answer» B. lapply()
5.

lappy functions takes _________ arguments in R language?

A. two
B. three
C. four
D. all of the mentioned
Answer» D. all of the mentioned
6.

_______ is used to apply a function over subsets of a vector.

A. apply()
B. lapply()
C. tapply()
D. mapply()
Answer» D. mapply()
7.

________ applies a function over the margins of an array.

A. apply()
B. lapply()
C. tapply()
D. mapply()
Answer» B. lapply()
8.

Which of the following is multivariate version of lapply ?

A. apply()
B. lapply()
C. sapply()
D. mapply()
Answer» E.
9.

__________ function is same as lapply in R

A. apply()
B. lapply()
C. sapply()
D. mapply()
Answer» D. mapply()
10.

________ loop over a list and evaluate a function on each element

A. apply()
B. lapply()
C. sapply()
D. mapply()
Answer» B. lapply()