Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 12 subjective questions R Tool

ECAP792 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define R and explain its major features and applications in data science.

  2. Question 2 of 20

    What is RStudio? Describe the main components of the RStudio interface.

  3. Question 3 of 20

    Distinguish between the R Console, an R script, and the R workspace.

  4. Question 4 of 20

    Explain how packages are installed, loaded, inspected, and updated in R. Include suitable commands.

  5. Question 5 of 20

    Describe the important atomic data types and special values available in R. How can an object's type be examined?

  6. Question 6 of 20

    Define an R vector. Explain different methods of creating vectors with examples.

  7. Question 7 of 20

    Explain vector indexing and filtering in R using positive, negative, logical, and named indices.

  8. Question 8 of 20

    Explain vectorized arithmetic, recycling, comparison, and missing-value handling in R with examples.

  9. Question 9 of 20

    Describe the representation and manipulation of character strings in R.

  10. Question 10 of 20

    What is a matrix in R? Explain matrix creation, naming, indexing, and dimension inspection.

  11. Question 11 of 20

    Distinguish between element-wise and matrix operations in R. Demonstrate matrix addition, multiplication, transposition, and inversion.

  12. Question 12 of 20

    Define an R list. Explain how lists are created, accessed, modified, and nested.

  13. Question 13 of 20

    Compare vectors, matrices, lists, and data frames in R.

  14. Question 14 of 20

    Explain how a data frame is created and inspected in R. Give an appropriate example.

  15. Question 15 of 20

    Describe different methods of selecting, filtering, adding, modifying, and deleting rows or columns in an R data frame.

  16. Question 16 of 20

    Explain type coercion in R and discuss how it affects vectors, matrices, lists, and data frames.

  17. Question 17 of 20

    Describe the general structure of an R program, including comments, statements, assignment, expressions, and functions.

  18. Question 18 of 20

    Explain conditional statements in R. Compare if, if...else, ifelse(), and switch() with examples.

  19. Question 19 of 20

    Compare the loop structures for, while, and repeat in R. Explain the roles of break and next.

  20. Question 20 of 20

    Design and explain an R function that calculates summary statistics for a numeric vector while handling missing values.

That's unit 12

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.