1. Which data structure in R is used to store an ordered collection of elements?
2. What does the matrix() function create in R?
3. In R, how do you create a list named my_list with three elements: 1, "hello", and TRUE?
4. What is the primary data structure used for storing tabular data in R?
5. How is a vector different from a list in R?
6. In R, how is a matrix initialized with values 1 to 9 arranged in three rows?
7. How do you create a factor in R named color with levels "red", "green", and "blue"?
8. What is the purpose of the data.frame() function in R?
9. In R, how do you create a named list with elements "apple", "orange", and "banana"?
10. What is the correct way to access the second element of a vector named my_vector in R?
Read More Section(Data Structures in R Programming)
Each Section contains maximum 100 MCQs question on Data Structures in R Programming. To get more questions visit other sections.