2.
In R, what is the purpose of the if-else statement?

3.
How is the switch() function used in R?

5.
What is the purpose of the break statement in a loop in R?

6.
How is a while loop different from a for loop in R?

7.
What does the next statement do in R?

8.
In R, what is the purpose of the repeat loop?

10.
In R, what is the role of the ifelse() function?

Read More Section(Control Structures in R Programming)

Each Section contains maximum 100 MCQs question on Control Structures in R Programming. To get more questions visit other sections.