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 the output of the following R code?

> m <- matrix(nrow = 2, ncol = 3)
 > dim(m)

3 3
3 2
2 3
2 2

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

Lists
Matrices
Vectors
Arrays

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

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

4. What will be output for the following code?

v <- ""TRUE""
print(class(v))

logical
Numeric
Integer
Character

5. .library() is not useful when developing a package since you have to install the package first.

TRUE
FALSE
Can be true or false
Can not say

6. What will be output for the following code?

v <- TRUE
print(class(v))

logical
Numeric
Integer
Complex

7. You can check to see whether an R object is NULL with the _________ function.

is.null()
is.nullobj()
null()
as.nullobj()

8. What will be output for the following code?

> paste("a", "b", se = ":")

a+b
a:b
a-b
None of the above

9. R files has an extension _____.

.S
.RP
.R
.SP

10. A bundled package is a package that’s been compressed into a ______ file.

Double
Single
Triple
No File

Results