END TERM EXAMINATION | |
Seventh Semester [B.Tech] | December 2024 |
Paper Code: DS-427T | Subject : Data Science Using R |
Time:3 Hours | Maximum Marks:75 |
Note: Attempt 5 questions in all including Q.No.1 which is compulsory. Select one question from each unit. | |
Q1 Answers the following questions : (5*5=25) | |
(a) Why do we use the command: install.packages(file.choose(), repos=NULL) ? |
|
(b) What are the different data types in R? | |
(c) Define slice a matrix. | |
(d) List out any five features of R. | |
(e) What are the applications of R? | |
(f) How to get the name of the current working directory in R? | |
(g) Summarize some packages in R, which can be used for data imputation? | |
(h) How do you access the elements in the 2nd column and 4th row of a matrix? | |
Q2. What are the different types of data and explain the four levels of data in detail? (12.5). | |
or | |
Q3. Explain RStudio in detail. (12.5) | |
Q4. Write an R program to get the first 10 Fibonacci numbers and generate the following: (12.5) (a) Access the element at the 3rd column and 1st row in a matrix. (b) Access only the second row. (c) Access the element at the 2nd column and 4th row in a matrix. |
|
or | |
Q5. (a) Explain main features to write R code that runs faster. (12.5)(b) Difference between package and library, with examples. | |
(b) Explain list data structure and its operations with examples. (12.5) | |
or | |
Q7. Explain R function for differentiation and integration with an example. (12.5) | |
Q8. a) Discuss some of the packages in R which are used to scrap data from the web. (12.5) | |
or | |
Q9. Explain with a Sample (Dummy) Data in R and perform data manipulation with R. (12.5). |