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. What will be output for the following code?

print(mean(25:82))

1526
53.5
50.5
55

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

adeg
adegenet
anc
abd

3. Which of the following syntax is used to install forecast package?

install.pack("forecast")
install.packages("cast")
install.packages("forecast")
install.pack("forecastcast")

4. ______ Uses Grieg-Smith method on 2 dimensional spatial data.

G.A.
G2db
G.S.
G1DBN

5. In R programming, the very basic data types are the R-objects called?

Lists
Matrices
Vectors
Arrays

6. R made its first appearance in?

1992
1995
1993
1994

7. 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, …)

8. What will be output for the following code?

> sqrt(-17)

-4.02
4.02
3.67
NAN

9. _______ function returns a vector of the same size as x with the elements arranged in increasing order.

sort()
orderasc()
orderby()
sequence()

10. Which of the following true about for loop?

Repeats a statement or group of statements while a given condition is true. It tests the condition before executing the loop body.
it tests the condition at the end of the loop body.
Both A and B
None of the above

Results