My Report

R Programming Practice Test 7


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

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

> f <- function(elt) {
+ elt[, 1]
+ }
> lapply(x, f)

2. Which of the following creates a new ggplot plot from a data frame?

3. Parallel processing is done via __________ package can make the elapsed time smaller than the user time.

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

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

6. Which of the following is valid body of split function?

7. Point out the correct statement?

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

 > rpois(10, 1) 

9. ______ evaluate the cumulative distribution function for a Normal distribution.

10. The recover() function will first print out the function call stack when an _______ occurs.


 

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.