πŸ“Š R Programming
Q. Which function is used to automatically vectorize?
  • (A) lapply()
  • (B) kapply()
  • (C) mapply()
  • (D) happly()
πŸ’¬ Discuss
βœ… Correct Answer: (C) mapply()
πŸ“Š R Programming
Q. How can we define 'undefined value' in R language?
  • (A) Inf
  • (B) Sup
  • (C) Und
  • (D) NaN
πŸ’¬ Discuss
βœ… Correct Answer: (D) NaN
πŸ“Š R Programming
Q. What is the function used to test objects (returns a logical operator) if they are NA?
  • (A) is.na()
  • (B) is.nan()
  • (C) as.na()
  • (D) as.nan()
πŸ’¬ Discuss
βœ… Correct Answer: (A) is.na()
πŸ“Š R Programming
Q. Which is simpler for statistical programming?
  • (A) C
  • (B) Java
  • (C) R
  • (D) No language
πŸ’¬ Discuss
βœ… Correct Answer: (C) R
πŸ“Š R Programming
Q. The longer programs are called . . . . . . . .
  • (A) Files
  • (B) Structures
  • (C) Scripts
  • (D) Data
πŸ’¬ Discuss
βœ… Correct Answer: (C) Scripts
πŸ“Š R Programming
Q. Which of the R following code is example of explicit printing?
  • (A) > x <- 5 > x
  • (B) > x <- 5 > print(x)
  • (C) > x <- "auto" > x
  • (D) > x <- "auto" > x <- "auto"
πŸ’¬ Discuss
βœ… Correct Answer: (B) > x <- 5 > print(x)
πŸ“Š R Programming
Q. What is the meaning of the following R function?
x <- c(4, 5, 1, 2, 3, 3, 4, 4, 5, 6)
x <- as.factor(x)
  • (A) x becomes a factor
  • (B) x is a factor
  • (C) x does not exist
  • (D) x is not a vector
πŸ’¬ Discuss
βœ… Correct Answer: (A) x becomes a factor
πŸ“Š R Programming
Q. R runs on the . . . . . . . . operating system.
  • (A) Linux
  • (B) Windows
  • (C) Ubuntu
  • (D) Any operating system
πŸ’¬ Discuss
βœ… Correct Answer: (D) Any operating system
πŸ“Š R Programming
Q. There are more than . . . . . . . . packages on CRAN that have been developed by users and programmers around the world.
  • (A) 40
  • (B) 400
  • (C) 4000
  • (D) 40000
πŸ’¬ Discuss
βœ… Correct Answer: (C) 4000
πŸ“Š R Programming
Q. Point out the wrong statement?
  • (A) : operator is used to create integer sequences
  • (B) The numbers in the square brackets are part of the vector itself
  • (C) There is a difference between the actual R object and the manner in which that R object is printed to the console
  • (D) Files containing R scripts ends with extension .R
πŸ’¬ Discuss
βœ… Correct Answer: (B) The numbers in the square brackets are part of the vector itself