Home / Programming Questions / R Programming MCQs / Page 1

R Programming MCQs with answers Page - 1

Dear candidates you will find MCQ questions of R Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

M

Mr. Dubey • 51.32K Points
Coach

Q. Which function is used to automatically vectorize?

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

M

Mr. Dubey • 51.32K Points
Coach

Q. How can we define 'undefined value' in R language?

(A) Inf
(B) Sup
(C) Und
(D) NaN

M

Mr. Dubey • 51.32K 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()

M

Mr. Dubey • 51.32K Points
Coach

Q. Which is simpler for statistical programming?

(A) C
(B) Java
(C) R
(D) No language

M

Mr. Dubey • 51.32K Points
Coach

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

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

M

Mr. Dubey • 51.32K 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"

M

Mr. Dubey • 51.32K 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

M

Mr. Dubey • 51.32K Points
Coach

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

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

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.