Vidyalelo
R Programming · all questions

Control Structures in R Programming
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

207

Questions

11/11

Page

Pick an option on a question to see the right answer and solution.

The only environment without a parent is the . . . . . . . . environment.

Select an option to see the answer and solution.

The . . . . . . . . function is a kind of "constructor function" that can be used to construct other functions.

Select an option to see the answer and solution.

Which function in R language is used to find out whether the means of 2 groups are equal to each other or not?

Select an option to see the answer and solution.

What will be the output of the following R code?
> f <- function() {
+              ## This is an empty function
+ }
> class(f)

Select an option to see the answer and solution.

Point out the wrong statement?

Select an option to see the answer and solution.

. . . . . . . . is used to skip an iteration of a loop.

Select an option to see the answer and solution.

What will be the output of the following R code?
> f <- function() {
+             ## This is an empty function
+ }
> f()

Select an option to see the answer and solution.