BSc Data Science SEM II 2021 2022 May 2022 DS R PROGRAMMING Question Paper - Mumbai University | munotes
Loading PDF...
Older exam
None: this is the earliest we hold
Newer exam
May 2022 - DS PROBABILITY AND DISTRIBUTION
Semester-end · 2021 2022
→
Questions asked in this paper
-
Q1 Attempt the following [ we place brackets after all functions always 40 marks
- a.Round b. Curly
- c. Square d. Angular is a multidimensional collection of data entries of the same type
- a. vector b. matrix
-
Q4 Function diverts the output from the console to an external file
- a. scan() b. print()
- c. write() d. sink() What will be the output?
- c. NA d. “A”
-
Q7 Use to start comments length(colors()) will be the output?
-
Q9 Which of the following is not Low-level plotting function?
- a. points() b. lines()
- c. abline() d. par() Which of the following functions is used for Tab-separated values File format()? Il. parse_date(c("75/02/05"), format = "Yy/Ym/%d") What will be the output?
-
Q12 We can use to create a data frame, specify the columns as named arguments
- a. table() b. tibble()
- c. d. bubble()
-
Q13 The function can merge several columns into to a key and a value column
- a. spread() b. tribble()
- c. gather() d. extract() The pipe operator is implemented in the package
-
Q15 str_to_title("r program") What will be the output?
- a. R Program b. r program
- c. r Program d. R PROGRAM
-
Q16 If you have two factors, then you can concatenate them using While select () extracts a subset of columns, the function does the same for rows
- a. filter() b. tribble()
- c. gather() d. extract() =
-
Q18 The function lets us add columns to a data frame based on expressions
- a. spread() b. mutate()
-
Q19 With you should write your data in a format that puts the year first, the month second, and the day last package is essential for working with datcs and fits well with the Tidyverse
-
Q2 Attempt the following
- A) Solve any ONE. Write a note on Comparison and Logical operator with suitable examples 4 2. Explain below R objects with Examples: 4
- B) Solve any ONE. How to Interrupt and Quit R on a different platform? 3
-
Q2 List different brackets used in R. Specify use of it with suitable examples
-
Q3 Attempt the following
- A) Solve any ONE. Explain Any two Conditional statements with suitable examples 4
-
Q2 Explain the arguments used in plot()
- B) Solve any ONE. 3
-
Q1 Write a short note on: apply, tapply, lapply and sapply
-
Q2 Write a while loop printing the cube of | to 5 with expected output
-
Q4 Attempt the following
- A) Solve any ONE. Write a short note on “Advanced plotting using Trellis; ggplots2, Lattice" 4
-
Q2 Explain “Simple use of xyplot” with suitable examples
- B) Solve any ONE. Explain any three functions used for reading tabular data from readr package 3
-
Q5 Attempt the following
- A) Solve any ONE. Write down output of following: str <- c(“Give me an ice-cream”, “Get yourself one ice-cream or two s="pizza"; s2<-str_glue("Give me a {s}"); s2 4
-
Q2 State difference between as_factor() and as.factor() with example. Also explain Concatenation with examples
- B) Solve any ONE. Explain Wrapping, Padding, and Trimming used in stringr library 3
-
Q2 Explain Expanding, Crossing, and Completing with Example
-
Q6 Attempt the following
- A) Solve any ONE. State the use of the lubridate package and explain “Time points” with examples 4
-
Q2 Write a short note on Joining Tables explaining its four functions
- B) Solve any ONE. Explain mutate() with an example 3
-
Q2 Write short note on Time Zone and Time Interval
Read from the scan above, so a character or two may differ. The scan is the original.
Something wrong on this page? Report it and we will check it against the scan.
Quick Help
No. The full paper opens straight away, with no login and nothing to pay.
Related Resources
Something wrong with this paper? Report it.
Connected Papers
BSc Data Science / SEM II · 10 papers
Questions? Email contact@munotes.in
Done!