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 - In R Language grepl() function used for?

Show Answer
 Answer is : Option D

Q 2 - Which of the following is the correct statement about R?

Show Answer
 Answer is : Option D

Q 3 - 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 4 - What letter is used to create an integer variable?

Show Answer
 Answer is : Option D

Q 5 - From the given R code the mode 'a' stands for? a <- c(1, " a ", FALSE)

Show Answer
 Answer is : Option A

Q 6 - A 10 Sam B 20 Peter C 30 Harry D ! ? E 50 Mark File Name – Dataframe.csv Missing values in this csv file have been represented by an exclamation mark (“!”) and a question mark (“?”). Which of the codes below will read the above csv file correctly into R?

Show Answer
 Answer is : Option D

Q 7 - What is the symbol used to write comments in the R programming language?

Show Answer
 Answer is : Option C

Q 8 - what will be out of the given R program? Nested_function <- function(x, y) { a <- x + y return(a) } Nested_function(Nested_function(2, 2), Nested_function(3, 3))

Show Answer
 Answer is : Option B

Q 9 - Which is the best language for the statistical environment?

Show Answer
 Answer is : Option C

Q 10 - Pick up the correct statement about the loop?

Show Answer
 Answer is : Option A