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

Show Answer
 Answer is : Option D

Q 2 - From the function shown below, f <- function(x) { g <- function(y) { y + z } z <- 4 x + g(x) } If we execute the following commands (written below), what will be the output? z <- 10 f(4)

Show Answer
 Answer is : Option B

Q 3 - The number of atomic vector types does R have?

Show Answer
 Answer is : Option A

Q 4 - What is the %*% operator used for in R language?

Show Answer
 Answer is : Option D

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

Show Answer
 Answer is : Option C

Q 6 - Which one of the following is used as the plotting character?

Show Answer
 Answer is : Option C

Q 7 - name = “Navin, Mr. Naresh J” The function which is used to split the given string into “Navin” “Mr. Naresh J”

Show Answer
 Answer is : Option D

Q 8 - The function which is used to remove NA values from the data frames

Show Answer
 Answer is : Option B

Q 9 - Select the correct statement which is alternative to _________?( solve)

Show Answer
 Answer is : Option B

Q 10 - The function used to set column names for a matrix?

Show Answer
 Answer is : Option B