Skip to content

BDS306C · 2022 · CSE-DS · Semester 3

Data Analytics with R

Back to subjects

Review status & sources

Similar question wording is grouped and ranked by the number of distinct exam sessions. Groups with the same count are ordered by their extracted text. Some subjects have only one session. Paper references show the PDF page and extracted question number when available.

Module 1

List and explain basic data types in R programming

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
3 exam sessions
  • June-July-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1
  • June-July-2025 · PDF page 1

With suitable example and syntax discuss 3 kinds of loops used in R.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • Dec-2024-Jan-2025 · PDF page 1
  • June-July-2025 · PDF page 1

Define vector. Discuss the components of vector with example

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1
Show 2 Backup Questions

Develop a R program to find the factorial of a given number using recursive function call.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • June-July-2024 · PDF page 1

Develop R code to calculate the following financial metrics in order to assess the financial statement of an organization being supplied with 2 vectors of data : Monthly Revenuc - [50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 155, 165] and monthly expenses = [30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85] for the financial year i) Profit for each month ii) profit after tax for each month (tax rate is 30%) iii) profit margin for each month iv) good months and bad month where profit after tax was greater than the mean and less than the mean for the year respectively v) the best and worst month where the profit after tax was max and min for the year respectively.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • June-July-2024 · PDF page 1

Module 2

Develop a program to create two 3 x 3 matrices A and B and perform the following operations i) Transpose of the matrix ii) Addition iii) Subtraction iv) Multiplication.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
3 exam sessions
  • Dec-2023-Jan-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1
  • June-July-2024 · PDF page 1

Define dataframe. Describe the significance of any 5 functions of dataframes with suitable example.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Define lists. Illustrate the working of lists and its associated functions.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1
Show 2 Backup Questions

Define Matrix. Write the syntax for matrix creation with suitable example.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • June-July-2025 · PDF page 1

Define the following with respect to matrix operations with example. i) rownames() and colnames() iI) nrow() nd ncol() iii) cbind() and rbind() iv) Transpose T() and Length() v) dimnames() and dim().

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • June-July-2025 · PDF page 1

Module 3

Design a data frame in R for storing about 10 employee details. Create a CSV file named "input.csv" that defines all the required information about the employee such as id, name, salary, start date, dept. Import into R and do the following analysis. Find the total number rows and columns Find the maximum salary Retrieve the details of the employee with maximum salary IV) Retrieve all the employees working in the IT department.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
3 exam sessions
  • Dec-2024-Jan-2025 · PDF page 1
  • June-July-2024 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 1

Define data reshaping. Explain in detail with example.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • Dec-2024-Jan-2025 · PDF page 2
  • June-July-2025 · PDF page 2

Discuss the 4 functions used to manipulate the strings in data cleaning process.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • Dec-2024-Jan-2025 · PDF page 2
  • June-July-2025 · PDF page 1
Show 2 Backup Questions

Explain any 5 grouping functions used in R programming.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • June-July-2025 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 2

Explain the different ways to access the DB in R.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • Dec-2024-Jan-2025 · PDF page 2
  • June-July-2025 · PDF page 2

Module 4

Define EDA. List the steps of iterative cycle and techniques used in EDA.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • June-July-2025 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2

Write a syntax of pie chart creation and create a pie chart for the given data show in the table below. Name Rose Lotus | Lilly Sunflower Jasmine Values Fig. Q.7(a) data for pie chart

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • Dec-2024-Jan-2025 · PDF page 2
  • June-July-2024 · PDF page 2

Define histogram, write the syntax for creating histogram. Also explain the significance of each parameters.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • June-July-2025 · PDF page 2
Show 2 Backup Questions

Define line plot. Discuss with syntax how line plots are created using base graphics and lattice graphics. Let us use built-in data set air quality which has daily air quality to generate histogram by using appropriate arguments for the following statements. 1) Aligning names, using the air quality data set. 11) Change colors of the histogram iii) Remove axis and add labels to histogram iv) Change axis limits of a histogram v) Add density curve to the histogram.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 2

Demonstrate how lattice graphics can be used to create box plots.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 2

Module 5

Discuss in detail 4 built in functions used to generate normal distribution.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • June-July-2025 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2

Explain four in-built functions to generate normal distribution in R

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
2 exam sessions
  • Dec-2023-Jan-2024 · PDF page 2
  • June-July-2024 · PDF page 3

Consider the data set "mtcars" avaialbe in R environment develop R commands to do the following : i) Find the correlation between the horse power (hp") and mileage per gallon ("mpg") of the cars and plot "hp" Vs "mpg' using plot command I1) Find the correlation between the horse power and plot "hp" Vs "disp" using plot command il1) Analyze the correlation between the various columns of "mtcars" dataset.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • June-July-2024 · PDF page 3
Show 2 Backup Questions

Define the basic statistical measures mean, meadian, mode, standard deviation and variance. Also develop R code to create a vector x [45, 56, 78, 12,3, -91, -45, 15, 1, 24] and to find the basic statistical measures.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • June-July-2024 · PDF page 3

Describe about Analysis of Variance (ANOVA). AD - 12-04-2024 AD - AD - AD - AD - AD - AD - AD - XD

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2023-Jan-2024 · PDF page 2