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. R files has an extension _____.

.S
.RP
.R
.SP

2. What will be output for the following code?

> sqrt(-17)

-4.02
4.02
3.67
NAN

3. DESCRIPTION uses a very simple file format called DCF.

TRUE
FALSE
Can be true or false
Can not say

4. Which splits a data frame and returns a data frame?

apply
ddply
stats
plyr

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

6. What will be output for the following code?

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

logical
Numeric
Integer
Character

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

stringr
nbpMatching
messagewarning
namespace

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

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

10. Data Frames are created using the?

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

Results