R Programming Quiz


Play this quiz that will help you to excel in R certification exams, placements etc. This R programming quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc. This test enables you to assess your knowledge of R programming.

Take the Free Practice Test



R MCQs

Practice R Programming MCQ Questions, which will help you to understand R Programming language and will help in developing statistical softwares.

R Quiz

Try Free R Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

R Quiz

1. Which of the following is true about R?

R is a well-developed, simple and effective programming language
R has an effective data handling and storage facility
R provides a large, coherent and integrated collection of tools for data analysis.
All of the above

2. Which of the following is valid body of split function?

function (x, f)
function (x, f, drop = FALSE, …)
function (x, drop = FALSE, …)
function (drop = FALSE, …)

3. The mapply() function is a multivariate apply of sorts which applies a function in parallel over a set of arguments.

TRUE
FALSE
Can be true or false
Can not say

4. Which statement simulates the behavior of R switch?

Next
Previous
break
goto

5. Which of the following character skip during execution?

v <- LETTERS[1:6]
for ( i in v) {
   
   if (i == ""D"") {
      next
   }
   print(i)
}

A
B
C
D

6. R made its first appearance in?

1992
1995
1993
1994

7. What will be output for the following code?

> sqrt(-17)

-4.02
4.02
3.67
NAN

8. Which of the following is an R package for the exploratory analysis of genetic and genomic data?

adeg
adegenet
anc
abd

9. In which statement terminates the loop statement and transfers execution to the statement immediately following the loop?

goto
switch
break
label

10. What will be output for the following code?

v <- LETTERS[1]
for ( i in v) {
   print(v)
}

A
A B
A B C
A B C D

Results