My Report

R Programming Practice Test 6


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. _____________ function is preferred over sapply as vapply allows the programmer to specific the output type.

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

> nLL <- make.NegLogLik(normals, c(1, FALSE))
> optimize(nLL, c(1e-6, 10))$minimum

3. Point out the correct statement?

4. _________ package provides basic functionalities in R environment like arithmetic calculations, input/output.

5. __________ function takes various parameters like formula, data, subset, labels, etc.

6. What will be the output of the following R code snippet?

> lm <- function(x) { x * x }
> lm 

7. A ________________ in R programming language can also contain numeric and alphabets along with special characters like dot and underline.

8. ________ applies a function over the margins of an array.

9. Point out the wrong statement?

10. ______________ function will measure the probability of the binary response variable in R language.


 

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.