Home / Programming Questions / R Programming MCQs / Page 5

R Programming MCQs with answers Page - 5

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.43K Points
Coach

Q. If a command is not complete at the end of a line, R will give a different prompt, by default it is . . . . . . . .

(A) *
(B) -
(C) +
(D) /

M

Mr. Dubey • 51.43K Points
Coach

Q. Which one of the following is not a basic datatype?

(A) Numeric
(B) Character
(C) Data frame
(D) Integer

M

Mr. Dubey • 51.43K Points
Coach

Q. In which IDE we can interact with R?

(A) R studio
(B) Console
(C) GCC
(D) Power shell

M

Mr. Dubey • 51.43K Points
Coach

Q. R language has superficial similarity with . . . . . . . .

(A) C
(B) Python
(C) MATLAB
(D) SAS

M

Mr. Dubey • 51.43K Points
Coach

Q. How many atomic vector types does R have?

(A) 5
(B) 6
(C) 8
(D) 10

M

Mr. Dubey • 51.43K Points
Coach

Q. What is the length of b?
b <- 2:7

(A) 4
(B) 5
(C) 6
(D) 0

M

Mr. Dubey • 51.43K Points
Coach

Q. What will be the output of the following R function?
d <- diag(5, nrow=2, ncol=2)
d

(A) 5 1 0 5
(B) 5 0 5 5
(C) 5 0 15 5
(D) 5 0 0 5

M

Mr. Dubey • 51.43K Points
Coach

Q. The dimension attribute is itself an integer vector of length . . . . . . . .

(A) 1
(B) 2
(C) 3
(D) 4

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.