R Programming MCQs with answers Page - 1

Here, you will find a collection of MCQ questions on R Programming. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 799.53K Points
Coach

Q. Which function is used to automatically vectorize?

  • (A) lapply()
  • (B) kapply()
  • (C) mapply()
  • (D) happly()

A

Admin • 799.53K Points
Coach

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()

A

Admin • 799.53K Points
Coach

Q. The longer programs are called . . . . . . . .

  • (A) Files
  • (B) Structures
  • (C) Scripts
  • (D) Data

A

Admin • 799.53K Points
Coach

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"

A

Admin • 799.53K Points
Coach

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

A

Admin • 799.53K Points
Coach

Q. R runs on the . . . . . . . . operating system.

  • (A) Linux
  • (B) Windows
  • (C) Ubuntu
  • (D) Any operating system

A

Admin • 799.53K Points
Coach

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

A

Admin • 799.53K Points
Coach

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

A

Admin • 799.53K Points
Coach

Q. Finally, in . . . . . . . . R version 1.0.0 was released to the public.

  • (A) 2000
  • (B) 2005
  • (C) 2010
  • (D) 2012

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ