Roll No. Total No.
of Pages : 02
Total No. of Questions : 07
BCA (Sem.–6)
R PROGRAMMING
Subject Code : UGCA-1946
[Link] : 91690
Date of Examination : 18-07-22
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION-B contains SIX questions carrying TEN marks each and students have
to attempt any FOUR questions.
SECTION-A
1. Write briefly :
a) What is R Programming?
b) List the differences between vector and list.
c) Write syntax of if else in R.
d) What are data frames in R?
e) How do you create a table in R?
f) Differentiate using all() and any() functions in R Programming.
g) How can we write output to a file in R?
h) What is a reference class in R Programming?
i) Write R script to create a line graph.
j) How do you take a random sample of data in R?
1 | M-91690 (S3)-1515
SECTION-B
2. What is a Vector in R? Explain operations on Vectors.
3. How to create a list and demonstrate all the ways of accessing a list component.
4. Write a R program to create two 2×3 matrix and add, subtract, multiply and divide the
matrixes.
5. How to plot multiple curves in same graph? Explain with example.
6. Explain the concept of classes in R programming with an example.
7. Write a detailed note on R Programming debugging facilities.
NOTE : Disclosure of Identity by writing Mobile No. or Marking of passing request on any
paper of Answer Sheet will lead to UMC against the Student.
2 | M-91690 (S3)-1515