0% found this document useful (0 votes)
112 views3 pages

RP Question Bank

The document is a question bank for Statistical Computing and R Programming, divided into five units with both 2-mark and 5-mark questions. It covers fundamental concepts of R programming, including data types, control structures, statistical functions, and regression analysis. Each unit contains questions aimed at assessing knowledge and practical application of R programming techniques.

Uploaded by

Ganesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views3 pages

RP Question Bank

The document is a question bank for Statistical Computing and R Programming, divided into five units with both 2-mark and 5-mark questions. It covers fundamental concepts of R programming, including data types, control structures, statistical functions, and regression analysis. Each unit contains questions aimed at assessing knowledge and practical application of R programming techniques.

Uploaded by

Ganesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Question Bank of Statistical Computing & R Programming

Unit 1

2 Marks questions

1. What is R programming?
2. What are the uses of R programming?
3. List basic data type of R programming.
4. What are non-numeric values? List them.
5. What is vector in R? Give an example.
6. Define list in R. Give an example.
7. What is DataFrame in R? Give an example.
8. List special values in R. Mention its significance.
9. What do you mean by vector in R programming?
10. Differentiate between matrix and array in R programming.
11. What is coercion in R? Give a suitable example.
12. Mention any four plotting functions in R.
13. List arithmetic operators with examples in R.
14. Mention the various assignment operators in R.
15. Define classes in R.

5 Marks questions

1. Explain the features and applications of R programming.


2. Describe operators in R programming with suitable examples.
3. Define vector. Explain different methods of defining vectors in R.
4. Explain usage of matrices and arrays in R programming with suitable examples.
5. Explain usage of lists and DataFrames in R programming with suitable examples.
6. Write a R program to demonstrate graphic functions: Plot(), Hist(), Linechart(), Pie(), Boxplot().
7. Describe any five basic plotting functions in R with examples.
8. Write a note on special values in R.

Unit 2

2 Marks

1. List control structures in R programming.


2. Mention the looping statements in R programming.
3. What is if-else in R?
4. Mention Boolean operators in R with example.
5. Define recursion.

5 Marks

1. Explain control statements in R with examples.


2. What do you mean by looping? Explain looping in R programming.
3. Define user-defined function? Write the syntax and an example of defining user-defined
functions in R.
4. What do you mean by recursion? Write an R Program to find Factorial of given number using
recursion.
5. What is if-else in R? Write an R program Illustrate with if-else statement and how does it operate
on vectors of variable length.
6. Write an R Program for implementing Quick Sort for Binary Search.
7. What is error handling in R? Write a suitable program to demonstrate it.

Unit 3

2 Marks

1. List any four Math function in R with suitable examples.


2. How are cumulative sums and products computed in R?
3. Mention any four statistical distribution functions in R.
4. What is the use of product and round functions in R?
5. List any four set functions in R.
6. What is stationary distribution of Markov Chain?
7. Mention any two input functions in R with examples.
8. Mentions output functions in R.
9. Differentiate between cat() and print() function in R.
10. What is a file? Mention any two file handling functions.

5 Marks

1. Explain any five set functions in R programming.


2. What is cat() function? Give its syntax and example.
3. What is print() function? Give its syntax and example.
4. What do you mean by file handling? Explain any four file handling functions.
5. What are Math functions? Explain in details with syntax and examples.
6. What is stationary distribution of Markov Chain? Mention its applications.
7. Explain stationary distribution of Markov Chain concept with suitable example.
8. Write a note on following linear algebraic functions in R programming with examples.
a. t()
b. diag()
c. det()

Unit 4

2 Marks

1. Define mean and give an example.


2. Define median and give an example.
3. Define mode and give an example.
4. What is centrality in statistics? Mention the centrality functions used in R.
5. What is univariate and multivariate data in statistical context?
6. What are categorical and numeric data in statistical context?
7. Define Null hypothesis and alternate hypothesis.

5 Marks

1. Describe mean, median and mode with suitable examples.


2. Define the following terms.
a. Variance
b. Standard deviation
c. Interquartile range
d. Covariance
e. Correlation
3. Write a program to find mean, median and mode in R.
4. What is normal distribution? How is standard normal distribution derived? Describe.
5. Explain Binomial distribution with an example.
6. Explain Poisson distribution with an example.
7. Write a brief note on following:
a. T-Test
b. ANOVA

Unit 5

2 Marks

1. What is linear regression? How it is implemented in R?


2. What is multiple linear regression? How it is implemented in R?
3. What do you mean by linear model?
4. Define response and predicator variable. Give examples.
5. Write the syntax and meaning of lm( ) function.
6. What are plotting regions in R?
7. Define plot region and margin region in R.
8. What is the of locator() function in R? Give an example.
9. What is point and click coordinate interaction in R?
10. What is the use of expression() function in R? Give an example.
11. Mention the different ways of defining colors in R.
12. How to use 3D scatterplots in R?

5 Marks

1. What is simple linear regression? Explain its implementation in R programming.


2. What is multiple linear regression? Explain its implementation in R programming.
3. Write a note on
a. Defining colors in R plots
b. Point and click coordinate interaction in R
c. Plotting regions and margins
4. Write a program to create an application of Linear Regression in multivariate context for
predictive purpose.

You might also like