R Language Test 2

This quiz “R Language Test” will help you to check your ability to execute some basic operations on objects in the R language, and it will also help you to understand some basic concepts. This quiz about R Language will also improve your computational understanding.

Online MCQs about R Programming Language with Answers

1. The debug( ) flags a function for ______ mode in R mode.

 
 
 
 

2. The ________ function takes a vector or other objects and splits it into groups determined by a factor or list of factors.

 
 
 
 

3. ______ function is same as lapply( )

 
 
 
 

4. _______ applies a function over the margins of an array

 
 
 
 

5. _______ loop over a list and evaluate a function on each element

 
 
 
 

6. Which of the following is used for Statistical analysis in R language?

 
 
 
 

7. Which of the following is a base package for the R language?

 
 
 
 

8. Which of the following is an example of a vectorized operation for subtraction operation

> x<- 1:4
> y<- 6:9

 
 
 
 

9. R functionality is divided into a number of

 
 
 
 

10. A matrix is _______ dimensional rectangular data set.

 
 
 
 

11. An analyst is checking the value of the variable x using a logical operator, so they run the following code:

x > 35 & x < 65

Which values of x would return TRUE when the analyst runs the code? Select all that apply.

 
 
 
 

12. Why would a data analyst want to use the CRAN network when working with RStudio?

 
 
 
 

13. R comes with a ________ to help you optimize your code and improve its performance.

 
 
 
 

14. Which of the following method make a vector of repeated values?

 
 
 
 

15. ____ ____is used to apply a function over subsets of a vector

 
 
 
 

16. When working in R, for which part of the data analysis process do analysts use the tidyr package?

 
 
 
 

17. What would be the value of the following expression?

> log(-1)

 
 
 
 

18. What would be the output of the following code?

> x <- 1:4
> y <- 6:9
> z <- x + y
> z

 
 
 
 

19. What would be the output of the following code?
> x <- 1:4
> x > 2

 
 
 
 

20. The lapply( ) function takes _______ arguments

 
 
 
 
 


The R language Test covers some looping functions such asapply(), lapply(), mapply(), sapply(), and tapply(). Results from the execution of r codes are also asked.

rfaqs.com R Language Test

Online R Language Test

  • Which of the following is a base package for the R language?
  • R comes with a to help you optimize your code and improve its performance.
  • The debug( ) flags a function for mode in R mode.
  • A matrix is _________ a dimensional rectangular data set.
  • The function takes a vector or other objects and splits it into groups determined by a factor or list of factors.
  • The lapply( ) function takes arguments
  • ________is used to apply a function over subsets of a vector
  • ________ applies a function over the margins of an array
  • _________ function is the same as lapply( ) __________ loop over a list and evaluate a function on each element
  • Which of the following methods makes a vector of repeated values?
  • Which of the following is used for Statistical analysis in R language?
  • R functionality is divided into a number of
  • Which of the following is an example of a vectorized operation for subtraction operation > x<- 1:4 > y<- 6:9 What would be the output of the following code? > x <- 1:4 > y <- 6:9 > z <- x + y > z
  • What would be the output of the following code? > x <- 1:4 > x > 2
  • What would be the value of the following expression? > log(-1)
  • “An analyst is checking the value of the variable x using a logical operator, so they run the following code:x > 35 & x < 65
    Which values of x would return TRUE when the analyst runs the code? Select all that apply.”
  • When working in R, for which part of the data analysis process do analysts use the tidyr package?
  • Why would a data analyst want to use the CRAN network when working with RStudio?

R Programming Language

Computer MCQs Test Online

Leave a Reply

Discover more from R Frequently Asked Questions

Subscribe now to keep reading and get access to the full archive.

Continue reading

x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security