Unit 1:
Syllabus
• Introduction of the Language
• Numeric
• Arithmetic
• Assignment
• Vectors
• Matrices and Arrays
• Non-numeric Values
• Lists and Data Frames
• Special Values
• Classes
• Coercion
• Basic Plotting
Question Bank
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 assignment 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.