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?

v <- TRUE
print(class(v))

logical
Numeric
Integer
Complex

2. Command lines entered at the console are limited to about ________ bytes

4095
4096
4097
4098

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

> x <- vector(""numeric"", length = 10)
> x

1 0
0 0 0 0 0 0 0 0 0 0
0 1
0 0 1 1 0 1 1 0

5. R files has an extension _____.

.S
.RP
.R
.SP

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

7. How many atomic vector types does R have?

3
4
5
6

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

9. In the base graphics system, which function is used to add elements to a plot?

Boxplot()
Text()
Treat()
Both A and B

10. Which function in R language is used to find out whether the means of 2 groups are equal to each other or not?

f.tests ()
l.tests ()
t.tests ()
p.tests ()

Results