You are on page 1of 3

Rall Noj

D022832(022)
B ech. (Riyhth Senestor) Kxaniuatlon,
Aprll-May 2023
(New Seheme)
(Computer Science and Bnglncelng Branch)
R-PROGRAMMING

Time Allowed : Three hours


Maximum Marks : 100

Mininum Pass Marks : 35

Note : Attempt all questions. Part (a) of each


question is compulsory and carries 4 mnarks
each. Attempt any hvo parts from (b), (c)
and (d) ofeach questionand carries &marks.

Unit-I

different appli
1. (a) Define R-Programming. What are the
4
cations of R-Program1ming?

DO22832(022) PTO
|3|
| 21
8 (b) Define R-function. What are different types of R
(b) Write short notes on : function?

(0) Advantage and disadvantage ofR-Programming


function without and
(c) Write aprogramn for calling a
(ü) R Studio IDE with argument.
8

steps for installing R


(c) What are the different (d) Write short notes on :
8
Programming in windowslinux?
() Rstring
R-Packages install in R
(d) Explain R-Package. How () R-vectors
Programming?
Unit-IV
Unit-II
tags and value? 4
write the syntax 4. (a) How to create a list, list
2. (a) Define Rcommand prompt. And also
4 list for add/delete
for "Hello World". (b) Write a program to create a
8 element to or from a list.
(b) Explain different data types in R-Programming.
x 3 matrix A&B and
8 (c) Write aprogram to create 3
(c) Explain different R- Statement with example.
perform the following operation.
8
(d) Write short notes on :
) Transpose of matrix
() R- Operators (i) Addition of matrix
(ü) R- Loops (i) Subtraction of matrix
8
Unit-III (d) Write short notes on:
3. (a) Define function definition. 4 ) R-array

DO22832(022) PTO
DO22832(022)
|4

(ü) R-factors

Unit-V

5. (a) Define data frame. How to create data frame in R


4
programming?

(b), Define the concept of understanding data in data


frame and how to extract data from data framne. 8

(c) Explain loading and handling data in R-programming


and how to getting the working directory. 8

(d) Writc short note on : 8

) R-CSV files
(ü) RExcel files

1,020) DO22832(022)

You might also like