R Programming MCQs with answers Page - 4

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 • 802.91K Points
Coach

Q. The most convenient way to use R is at a graphics workstation running a . . . . . . . . system.

  • (A) windowing
  • (B) running
  • (C) interfacing
  • (D) matrix

A

Admin • 802.91K 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) /

A

Admin • 802.91K Points
Coach

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

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

A

Admin • 802.91K Points
Coach

Q. In which IDE we can interact with R?

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

A

Admin • 802.91K Points
Coach

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

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

A

Admin • 802.91K 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

A

Admin • 802.91K Points
Coach

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

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

A

Admin • 802.91K Points
Coach

Q. A single element of a character vector is referred as . . . . . . . .

  • (A) Character string
  • (B) String
  • (C) Data strings
  • (D) Raw data