I 791555
47922/E0220
Reg. No.
VSemester B.C.A. 6(NEP) Degree Examination, March/April - 2024
COMPUTING AND R
STATISTICAL PROGRAMMING
(Regular)
Time: 2 Hours Maximum Marks:60
Instructions to Candidates:
All Sections are conmpulsory.
SECTION-A
Answer any TEN questions. Bach quesuon carries 2 marks. (10×2=20)
1. List the basic datatypes in R.
2. Define list in R. Write an example to create a list.
3. What do you mean by special values ? Give example.
4. Mention the different assignment operatorS In Rwith examples.
5. Differentiate between cat () and Print () functions.
6 Write thesyntax of"while" and"repeat" statements in R.
7. Write the purpose of prod () and round () functions. Give example for each.
8. List any four functions on set operations.
9. Define normal distribution.
10. What is ANOVA? Write the notations for Null and alternative hypothesis.
11. Write the purpose and syntax of lm ( ) function in R.
12. What are regions and margins in a Rplot?
SECTION-B
Answer any FOUR questions. Each auestion carries 5 marks. (4x5-20)
13. Define vector in R. Explain the different ways of creating a vector.
14. What is recursion? Write an R program to fnd the factorial of a number using
recursion.
PT.O.
(2) 47922/E0220
15. What is afile? Explain any tour file handling functions inR.
16. Compute the mean and median for the following observations: (9,5,2,3,4,6.7) Mention the
R functions for the sanme.
17. Write a note on simple linear regression,
SECTION-C
Answer any TWO questions. Each question carries 10 marks. (2x10=20)
18. a) Discuss the features of Rprogramming.
b) Explain the different algebraic operations on matrices.
19. a) Define variance, Covariance and correlation.
b) Write a Rprogram to illustrate plot ()list () and Pie () plotting functions.
20. a) Explain the concept of Markov chain with a suitable example.
b) Discuss the following:
i) Defining colors in Rplots
iü) Point and click co-ordinate interaction.