πŸ“Š R Programming
Q. What is the function to set row names for a data frame?
  • (A) row.names()
  • (B) colnames()
  • (C) col.names()
  • (D) column name cannot be set for a data frame
πŸ’¬ Discuss
βœ… Correct Answer: (A) row.names()
πŸ“Š R Programming
Q. R is mostly used in . . . . . . . .
  • (A) Problem solving
  • (B) Statistics
  • (C) Probability
  • (D) All of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the mentioned
πŸ“Š R Programming
Q. What will be the output of the following R function?
ab <- list(1, 2, 3, "X", "Y", "Z")
dim(ab) <- c(3,2)
print(ab)
  • (A) 1 "X" 2 "Y" 3 " Z"
  • (B) 1 "X" 2 "Y" 3 " Y"
  • (C) 1 "W" 2 "Y" 3 " Z"
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1 "X" 2 "Y" 3 " Z"
πŸ“Š R Programming
Q. Point out the wrong statement?
  • (A) Key feature of R was that its syntax is very similar to S
  • (B) R runs only on Windows computing platform and operating system
  • (C) R has been reported to be running on modern tablets, phones, PDAs, and game consoles
  • (D) R functionality is divided into a number of Packages
πŸ’¬ Discuss
βœ… Correct Answer: (B) R runs only on Windows computing platform and operating system
πŸ“Š R Programming
Q. . . . . . . . . programming language is a dialect of S.
  • (A) B
  • (B) C
  • (C) R
  • (D) K
πŸ’¬ Discuss
βœ… Correct Answer: (C) R
πŸ“Š R Programming
Q. They primary R system is available from the . . . . . . . .
  • (A) CRAN
  • (B) CRWO
  • (C) GNU
  • (D) CRDO
πŸ’¬ Discuss
βœ… Correct Answer: (A) CRAN
πŸ“Š R Programming
Q. What is the function used to test objects (returns a logical operator) if they are NaN?
  • (A) as.nan()
  • (B) is.na()
  • (C) as.na()
  • (D) is.nan()
πŸ’¬ Discuss
βœ… Correct Answer: (D) is.nan()
πŸ“Š R Programming
Q. Dataframes can be converted into a matrix by calling the following function data . . . . . . . .
  • (A) matr()
  • (B) matrix()
  • (C) matrixf()
  • (D) matrixfunc()
πŸ’¬ Discuss
βœ… Correct Answer: (B) matrix()
πŸ“Š R Programming
Q. Advanced programmers can write . . . . . . . . code to manipulate R objects.
  • (A) Python
  • (B) Java
  • (C) C
  • (D) Java Script
πŸ’¬ Discuss
βœ… Correct Answer: (C) C
πŸ“Š R Programming
Q. What will be the output of the following R code?
y <- c(TRUE, 2)
  • (A) [1] "TRUE" "2"
  • (B) [1] "TRUE" 2
  • (C) [1] "0" "2"
  • (D) [1] 1 2
πŸ’¬ Discuss
βœ… Correct Answer: (D) [1] 1 2