Explore topic-wise MCQs in R Programming.

This section includes 5 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.

The recover() function will first print out the function call stack when an _______ occurs.

A. Error
B. Warning
C. Messages
D. delete
Answer» B. Warning
2.

What will be the value of following R expression?

A. Warning in log(c(-1, 2)): NaNs produced
B. Error in log(c(-1, 2)): NaNs produced
C. Message
D. All of the mentioned
Answer» C. Message
3.

What will be the output of the following R expression?

A. Warning in log(-2.3): NaNs produced
B. 1
C. Null
D. 0View Answer
Answer» B. 1
4.

WHAT_WILL_BE_THE_VALUE_OF_FOLLOWING_EXPRESSION_??$

A. Warning in log(c(-1, 2)): NaNs produced
B. Error in log(c(-1, 2)): NaNs produced
C. Message
D. All of the mentioned
Answer» B. Error in log(c(-1, 2)): NaNs produced
5.

3): NaNs produced

A. 1
B. Null
C. 0
Answer» B. Null