Explore topic-wise MCQs in R Programming.

This section includes 4 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 should be preferred for evaluation from list of alternatives?

A. subsett
B. eval
C. switch
D. set
Answer» C. switch
2.

Which of the following statement can be used to explicitly control looping?

A. if
B. while
C. break
D. for
Answer» D. for
3.

_______ is used to break the execution of a loop.

A. next
B. skip
C. break
D. delete
Answer» D. delete
4.

Which of the following R syntax is correct for while loop?

A. while ( statement1 ) statement2
B. while ( statement1 ) else statement2
C. while ( statement1 ) do statement2
D. while ( statement2 ) doelse statement2
Answer» B. while ( statement1 ) else statement2