Explore topic-wise MCQs in R Programming.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your R Programming knowledge and support exam preparation. Choose a topic below to get started.

1.

Which of the following code represents internal representation of a Date object?

A. class(as.Date(“1970-01-02”))
B. unclass(as.Date(“1970-01-02”))
C. unclassint(as.Date(“1970-01-02”))
D. classint(as.Date(“1970-02-02”))
Answer» C. unclassint(as.Date(“1970-01-02”))
2.

Which of the following is example of vectorized operation as far as subtraction is concerned?

A. x+y
B. x-y
C. x/y
D. x–yView Answer
Answer» C. x/y
3.

1666667_0.2857143_0.4444444$

A. 0.1666667 0.2857143 0.3750000 0.4444444
B. 0.2857143 0.3750000 0.4444444
C. All of the mentioned
Answer» B. 0.2857143 0.3750000 0.4444444
4.

1 2 3 4

A. FALSE FALSE TRUE TRUE
B. 1 2 3 4 5
C. All of the mentioned
Answer» B. 1 2 3 4 5
5.

7 9 11 13

A. 7 9 11 13 14
B. 9 7 11 13
C. NULL
Answer» D.
6.

x+y

A. x-y
B. x/y
C. x–y
Answer» B. x/y