1. Which of the following should be preferred for evaluation from list of alternatives?
2. What will be the class of the vector if you concatenate a number and a character?
3. Which of the following R code snippet stops loop after 20 iterations?
4. . . . . . . . . package is used to speed up data frame management code.
5. Which of the following is multivariate version of lapply?
6. Functions are defined using the . . . . . . . . directive and are stored as R objects.
7. MapReduce jobs submitted from either Oozie, Pig or Hive can be used to encode, improve and sample the data sets from . . . . . . . . into R.
8. What will be the output of the following R code?
> y <- "fruit"
> switch(y, fruit = "banana", vegetable = "broccoli", "Neither")
> y <- "fruit"
> switch(y, fruit = "banana", vegetable = "broccoli", "Neither")
9. Which of the following R code generate a sequence of integers from 1 to 10?
10. . . . . . . . . function is usually used inside another function and throws a warning whenever a particular package is not found.
Read More Section(Control Structures in R Programming)
Each Section contains maximum 100 MCQs question on Control Structures in R Programming. To get more questions visit other sections.