Tutorial Study Image

R Online Quiz

Following quiz provides Multiple Choice Questions (MCQs) related to R . You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.


Q 1 - Command lines entered at the console are limited to about ________ bytes.

Show Answer
 Answer is : Option A

Q 2 - Which function is used to find the current date in R?

Show Answer
 Answer is : Option A

Q 3 - Which symbol is used to assign a variable?

Show Answer
 Answer is : Option D

Q 4 - What will be a, for the given R code? a = seq (100,to = 1000, by = 20)

Show Answer
 Answer is : Option C

Q 5 - The function which gives the length and height of the current figure in inches?

Show Answer
 Answer is : Option C

Q 6 - Which one of the given commands will convert the following dataframe named maverick into the one shown at the bottom? Input Dataframe – “maverick” Grade Male Female A 10 15 B 20 15 A 30 35 Output dataframe Grade Sex Count A Male 10 A Female 15 B Male 30 B Female 15 A Male 30 A Female 35

Show Answer
 Answer is : Option B

Q 7 - Based on functionality the R is divided into number of __________ .

Show Answer
 Answer is : Option C

Q 8 - What will be the output of the following R code? thislist <- list("apple", "banana", "cherry") "apple" %in% thislist

Show Answer
 Answer is : Option B

Q 9 - The function which draws an axis on the current plot?

Show Answer
 Answer is : Option A

Q 10 - Find out the correct answer to the given code? abs(-4.7)

Show Answer
 Answer is : Option B