My Report (&Account)

R Programming Online Test


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

Here is the complete list of test quizzes on R Programming.

1. _______ is discovering unseen patterns from data.

Question 1 of 50

2. Computation with vectors is achieved using an element-by-element operation for avoiding _________

Question 2 of 50

3. If a programmer wants the output to be a list then ___________ function is used.

Question 3 of 50

4. The __________ package has functionality to investigate transformations of univariate distributions.

Question 4 of 50

5. What will be the output of the following R code?

 
> set.seed(20)
> x <- rnorm(100)
> e <- rnorm(100, 0, 2)
> y <- 0.5 + 2 * x + e 
> summary(y)

Question 5 of 50

6. Which function is used to enter in data at the terminal?

Question 6 of 50

7. The first component can be accessed using __________ operator.

Question 7 of 50

8. Point out the correct statement?

Question 8 of 50

9. system.time function returns an object of class _______ which contains two useful bits of information.

Question 9 of 50

10. __________are Data frames which contain lists of homogeneous data in a tabular format.

Question 10 of 50

11. Which of the following is the formal requirement?

Question 11 of 50

12. Which of the following finds row sums for each level of a grouping variable?

Question 12 of 50

13. Point out the wrong statement?

Question 13 of 50

14. Which of the following functions is typically used to add elements to a plot in the base graphics system?

Question 14 of 50

15. A single element of a character vector is referred as ________

Question 15 of 50

16. In the base graphics system, which function is used to add elements to a plot?

Question 16 of 50

17. Which of the following lists names of variables in a data.frame?

Question 17 of 50

18. _________ are mostly used for statistical analysis.

Question 18 of 50

19. What will be the output of the following R code?

> x <- 6
> class(x)

Question 19 of 50

20. The benefit of the _____ function is that it is the only way to perfectly repressed an R object in an exportable format, without losing precision or any metadata.

Question 20 of 50

21. Which of the following function is similar to summarize?

Question 21 of 50

22. Which of the following is primary tool for debugging?

Question 22 of 50

23. Which of the following R syntax is correct for while loop?

Question 23 of 50

24. R runs on the ____________ operating system.

Question 24 of 50

25. We can dump() R objects to a file by passing _____

Question 25 of 50

26. If the programmers want the output to be a data frame or a vector, then ________ function is used.

Question 26 of 50

27. Which function is used for seeing currently active libraries?

Question 27 of 50

28. In the expression x <- 4 in R, what is the class of 'x' as determined by the `class()' function?

Question 28 of 50

29. Why is it needed for R studio to update regularly?

Question 29 of 50

30. What will be the output of the following R code?

> x <- data.frame(foo = 1:4, bar = c(T, T, F, F))
> ncol(x)

Question 30 of 50

31. What will be the output of the following R code?

> f <- function(num) {
+ for(i in seq_len(num)) {
+               cat("Hello, world!\n")
+ }
+ }
> f(3)

Question 31 of 50

32. Which of the following is default prompt for UNIX environment?

Question 32 of 50

33. Which of the following contains functions for processing uniaxial minute-to-minute accelerometer data?

Question 33 of 50

34. What will be the output of the following R code?

> g <- function(x) {
+               a <- 3
+               x+a+y
+             ## 'y' is a free variable
+ }
> y <- 3
> g(2)

Question 34 of 50

35. ______ regression method is also known as the ordinary least squares estimation.

Question 35 of 50

36. Point out the wrong statement?

Question 36 of 50

37. The empirical cumulative distribution function can be called as __________

Question 37 of 50

38. Point out the correct statement?

Question 38 of 50

39. ________ allows you to insert debugging code into a function a specific places

Question 39 of 50

40. ________ is used for relative sizing of theme elements.

Question 40 of 50

41. Write the syntax to set the path of the current working directory in R environment?

Question 41 of 50

42. The most convenient way to use R is at a graphics workstation running a ________ system.

Question 42 of 50

43. __________ function is used in applying a function each level of factors.

Question 43 of 50

44. What will be the output of the following R code?

> x <- matrix(1:4, 2, 2)
> y <- matrix(rep(10, 4), 2, 2)
> x * y

Question 44 of 50

45. ______ let's you perform SQL queries on your R data frames.

Question 45 of 50

46. Which of the following is complementary to tidyr?

Question 46 of 50

47. Which of the following groups values of a variable into larger bins?

Question 47 of 50

48. The dplyr package can be installed from CRAN using __________

Question 48 of 50

49. Point out the correct statement?

Question 49 of 50

50. Which of the following can be used to display the names of (most of) the objects which are currently stored within R?

Question 50 of 50


 

Topic wise Test Quizzes on R Programming

R Programming tests, quizzes, and exams are great ways to learn and test your R Programming skills. Whether you’re a beginner or experienced, challenge and boost your confidence with our engaging online quizzes on R Programming Basics, Data Types, Data Manipulation, Loops, Functions, Debugging, Profiling, ggplot2, Data Wrangling, R Commands, R Packages, Statistics and Graphics. Start the R Programming online test now!



R Programming Certification Test

R Programming Certification Test is a free certification exam. However, you need to score an A grade in each of the "Certification Level Tests 1 to 10" to be eligible to take part in this certification test. So, take all the "10 Tests" starting from Certification Level 1 upto Level 10, before taking the final Certification test.


Level 1 to 10 Tests:
Total Questions: 25, Total Time: 30 min, Correct Answer: 2 points, Wrong Answer: -1 point

Certification Test:
Total Questions: 50, Total Time: 1 hour, Correct Answer: 2 points, Wrong Answer: -1 point

R Programming Internship Test

If you scored either Grade A* or Grade A in our R Programming Internship Test, then you can apply for Internship at Sanfoundry in R Programming.


Total Questions: 50, Total Time: 1 hour, Correct Answer: 2 points, Wrong Answer: -1 point

R Programming Job Test

It is designed to test and improve your skills for a successful career, as well as to apply for jobs.


Total Questions: 50, Total Time: 1 hour, Correct Answer: 2 points, Wrong Answer: -1 point

Note: Before you get started on these series of online tests, you should practice our collection of 1000 MCQs on R Programming .

Sanfoundry Scoring & Grading System

Sanfoundry tests and quizzes are designed to provide a real-time online exam experience. Here is what you need to know about them.

  • Scoring System: You get 2 points for each correct answer but lose 1 point for every wrong answer.
  • Grading System: Your grade depends on your final score and can be one of the following:

    • Grade A* - Genius (100%)
    • Grade A - Excellent (80% to 99%)
    • Grade B - Good (60% to 80%)
    • Grade C - Average (40% to 60%)
    • Grade D - Poor (0% to 40%)
advertisement
advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.