Total Questions : 30
Expected Time : 30 Minutes

1. What is the purpose of the 'rvest' package in R, and how is it used for web scraping?

2. What is the purpose of the 'rep()' function in R?

3. What is the purpose of the 'mean()' function in R?

4. Explain the purpose of the 'caret' package in R, and how does it simplify the process of building predictive models?

5. What is the purpose of the 'cor()' function in R?

6. In R, what is the purpose of the 'ifelse()' function?

7. How can you install a new package in R using the 'install.packages()' function?

8. What is 'unit testing' in R, and why is it crucial for ensuring the reliability of code?

9. In R, how can you extract a specific column from a data frame?

10. Explain the concept of 'RMarkdown' and how it enhances the process of creating dynamic documents in R.

11. Explain the concept of 'environments' in R and how they contribute to scoping.

12. What is the purpose of the 'grep()' function in R?

13. How can you remove missing values from a data frame in R?

14. What does the 'boxplot()' function in R visualize?

15. In R, explain the difference between '<<-' and '->>' assignment operators.

16. In R, what does the 'data.frame()' function do?

17. How can you read a CSV file into a data frame in R?

18. In R, how do you access the second element of a vector named 'my_vector'?

19. In R, what is the purpose of the 'dplyr' package, and how does it simplify data manipulation tasks?

20. What is the purpose of the 'purrr' package in R, and how does it differ from base R functions?

21. What is the purpose of the 'shiny' package in R, and how is it used for interactive web applications?

22. What does the 'class()' function in R provide information about?

23. In R, how can you convert a character vector 'char_vector' to a numeric vector?

24. In R, how can you check if a variable is NULL?

25. What does the 'grep()' function do in R?

26. What is 'memoization' in the context of R programming, and how can it improve the efficiency of recursive functions?

27. How can you generate a random sample of size 'n' from a vector 'x' in R?

28. Discuss the role of the 'dplyr' package in R for data manipulation and summarization.

29. Explain the concept of 'Rcpp' in R and how it facilitates the integration of C++ code.

30. Explain the concept of 'closures' in R and provide an example of their use.