My Report

R Programming Practice Test 1


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 is the class defined by the following R code?

y<-c(2,”t”)

2. Which of the following operator is used to create integer sequences?

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

       x <- (“a”, “b”)
       as.logical(x)

4. If the code is stored in the external file, which of the following function is used to call them to a working directory?

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

6. What will be the output of the following R program?

        y<-0:5
 	vector(y)
 	y[3]

7. What is the length of b?

b <- 2:7

8. What is the function used to test objects (returns a logical operator) if they are NaN?

9. In 1991, R was created by Ross Ihaka and Robert Gentleman in the Department of Statistics at the University of _________

10. R language is a dialect of which of the following languages?


 

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.