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 syntax is used to install forecast package?

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

2. R was created by?

Ross Ihaka
Robert Gentleman
Both A and B
Ross Gentleman

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

adeg
adegenet
anc
abd

4. Data Frames are created using the?

frame() function
data.frame() function
data() function
frame.data() function

5. Which of the following package provide namespace management functions not yet present in base R?

stringr
nbpMatching
messagewarning
namespace

6. What will be the output of the following R code?

install.packages(c("devtools", "roxygen2"))

Develops the tools
Installs the given packages
Exits R studio
Nothing happens

7. 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

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

9. Point out the correct statement?

Empty vectors can be created with the vector() function
A sequence is represented as a vector but can contain objects of different classes
"raw” objects are commonly used directly in data analysis
The value NaN represents undefined value

10. R is free software distributed under a GNU-style copy left, and an official part of the GNU project called?

GNU A
GNU S
GNU L
GNU R

Results