0% found this document useful (0 votes)
224 views

BCA-SEP-lesson plan -R-Programming

BCA 2ND SEM LESSON PLAN FOR R PROGRAMMING

Uploaded by

rupasandhyam
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
224 views

BCA-SEP-lesson plan -R-Programming

BCA 2ND SEM LESSON PLAN FOR R PROGRAMMING

Uploaded by

rupasandhyam
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

BENGALURU NORTH

UNIVERSITY
TAMAKA, KOLAR- 563103

Curriculum/
Syllabus for
Undergraduate Programme

Bachelor of Computer
Applications
In
DATA SCIENCE

Choice Based Credit System


As per State Education Policy -
Karnataka

Faculty of Science
(With Effect from Academic Year 2024-25)
Version 1.0 (12th August, 2024)

BENGALURU NORTH UNIVERSITY


KOLAR - 563103

State Education Policy - 2024


(Semester Scheme)

Curriculum Structure for Bachelor of Computer Applications in


Data Science (BCA(DS))

2nd Semesters
DS2T2: Statistical Computing and R Programming
Course Code: DS2T2 Course Title: Statistical Computing and R Programming
Course Credits: 04 Teaching Hours/Week: 04
Total Contact Hours: 60 Exam Duration : 3 Hours
Internal Assessment: 20 Marks Semester End Exam: 80 Marks
Course Outcomes (COs):
After the successful completion of the course, the student will be able to:
 Explore fundamentals of statistical analysis in R environment.
 Describe key terminologies, concepts and techniques employed
in Statistical Analysis.
 Define Calculate, Implement Probability and Probability Distributions to
solve a wide variety of problems.
 Conduct and interpret a variety of Hypothesis Tests to aid Decision Making.
 Understand, Analyse, and Interpret Correlation Probability and
Regression to analyse the underlying relationships between different
variables.
Course Content Hours
Unit-I 15
The Language: Introduction – Advantages of R over Other Programming Languages, R
Studio: R script file, Handling Packages in R: Installing R Package, Syntax, Comments,
Operators, R Keywords, R Data Types - numeric, Integer, logical, complex, character and
raw, Variables, Input and Output statement, Data Structures – Strings, Vectors, Matrices,
Arrays, Non-numeric Values, Lists and Data Frames, Special Values, Classes, and Coercion,
Reading and Writing Files.
Unit-II 15
Programming: Conditions and Loops - If statements - Stand-Alone Statement, Using If Else,
Nesting and Stacking Statements, The Switch Function. Coding Loops - For Loops, While
Loops, Repeat Loop, Other Control Flow Mechanisms - Declaring Break, Next and goto
statement, R-Function: function definition, Built-in functions: Basic Math function - min(),
max(), sum(), sqrt(),abs(),ceiling(),floor(), trunc(), round(), cos(), sin(), tan(), String function -
grep(), nchar() , paste(), sprintf(), substr(), strsplit(), regex() gregexpr(), toupper(), tolower(),
paste(), User Defined Function, Exception Handling, Progress and Timing, Visibility.
Unit-III 15
Statistics and Probability: Elementary Statistics, Basic data visualisation, probability,
common probability distributions: common probability mass functions - Bernoulli, Binomial,
Poisson distributions, common probability density functions - Uniform, Normal, Student’s t-
distribution.
Unit-IV 15
Statistical Testing and Modelling: Sampling distributions, hypothesis testing, Analysis of
variance, Simple linear regression, multiple linear regressions. Advanced graphics: Basic
Plotting, plot customization, plotting regions and margins, point and click coordinate
interaction, customizing traditional R plots, specialized text and label notation, Defining
colors and plotting in higher dimensions.
References:
1 Tilman M. Davies, “The book of R: A first course in programming and statistics”, San
Francisco, 2016.
2 Vishwas R. Pawgi, “Statistical computing using R software”, Nirali prakashan publisher,
e1 edition, 2022.
3 https://www.geeksforgeeks.org/r-tutorial/
4. https://www.tutorialspoint.com/r/index.htm

DS2P2: R Programming Lab


Course Code: DS2P2 Course Title: R Programming Lab
Course Credits: 02 Teaching Hours/Week: 04
Total Contact Hours: 60 Exam Duration: 3 Hours
Internal Assessment: 10 Marks Semester End Exam: 40 Marks
Section-A
1. Write a R program that includes various data types in R.
2. Write a R program for different types of data structures in R
3. Write a R program that includes linear algebra operations on vectors and matrices.
4. Write a R program that includes various looping statements.
5. Write a R program for quick sort implementation, binary search tree.
6. Write a R program for calculating cumulative sums, products, minima, maxima
and calculus.
7. Write a R program for finding stationary distribution of Markanov chains.
8. Write a R program for any visual representation of an object with creating
graphs using graphic functions: Plot(),Hist(),
Linechart(),Pie(),Boxplot(),Scatterplots().
9. Write a R program with any dataset containing data frame objects, indexing,
and sub setting data frames, and employ manipulating and analyzing data.
10. Write a program to create any application of Linear Regression in a
multivariate context for predictive purposes.
Section-B
1. Write a R program to take input from the user (name, age, address, city, state)
and display the values. Also, print the version of the R installation.
2. Write a R program that includes different operators.
3. Write a R program to default values for arguments, returning complex objects.
4. Write a R program to create and store an array of 4 × 4 matrix and calculate its sum
5. Write a R program that includes various if statements.
akil
[Type here]
6. Write a R program to calculate both simple interest and compound interest
using functions.
7. Write a R program to implement various statistical functions in R.
8. Write a R program to find Correlation and Covariance.
9. Write a R program to import the data set and perform an ANOVA test.
10. Write a R program to define colors in various ways. (Use of named colors,
RGB colors, hexadecimal color codes, and the colors ()).

akil
[Type here]

You might also like