Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. ___________ function gives an error message if the desired package cannot be loaded.
Correct Answer is : Library
2. A ________________ in R programming language can also contain numeric and alphabets along with special characters like dot and underline.
Correct Answer is : Variable name
3. The current user defined objects like lists, vectors, etc. is referred to as __________ in the R language.
Correct Answer is : Work names
4. Which function helps you perform sorting in R language?
Correct Answer is : Order
5. Which function is used to create a histogram for visualisation in R programming language?
Correct Answer is : Hist
6. Write the syntax to set the path of the current working directory in R environment?
Correct Answer is : Setwd(“dir_path”)
7. What will be the output of runif()?
Correct Answer is : Random number
8. ________ function generates “n” normal random numbers based on the mean and standard deviation arguments passed to the function.
Correct Answer is : rnorm
9. Write a function to extract the first name in the string “Mrs. Jake Luther”?
Correct Answer is : Substr
10. _________ package provides basic functionalities in R environment like arithmetic calculations, input/output.
Correct Answer is : R base
11. Which function basically finds the intersection between two different sets of data?
Correct Answer is : Merge
12. Which function calculates the count of each category of a categorical variable?
Correct Answer is : Table
13. The cumulative frequency distribution of a categorical variable can be checked using the ________ function in R language.
Correct Answer is : Cumsum
14. A programmer builds a _________ to avoid repeating the same task or reduce complexity.
Correct Answer is : Function
15. _______ grammar makes a clear distinction between your data and what gets displayed on the screen or page.
Correct Answer is : ggplot2
16. Point out the wrong statement :
Correct Answer is : plot is used to create a scatterplot matrix (experimental)
17. Which of the following cuts numeric vector into intervals of equal length ?
Correct Answer is : cut_interval
18. Which of the following is a plot to investigate the order in which observations were recorded ?
Correct Answer is : ggorder
19. Point out the wrong statement :
Correct Answer is : theme_color is classic-looking theme, with x and y axis lines and no gridlines
20. ________ is used for translating between qplot and base graphics.
Correct Answer is : translate_qplot_base
Similar Interview Questions
Search for latest jobs
Get $5 added to your wallet for registering an account. Refer others and get $1 for each successful referral. Earn while you search for jobs and redeem in gift cards!Register to search from millions of jobs across the United States. Upload your resume and get matched with top employers today!
Search For Latest Jobs
Get updates when articles are posted!
Get $5 added to your
wallet for registering an account.
Refer others and get $1 for each successful referral.
Earn while you
search for jobs
and redeem in gift cards!
Register to search from millions of jobs across the United States.
Upload your resume and get matched with
top employers today!
Search For Latest Jobs
Get updates when articles are posted!
We use essential cookies to keep SnapRecruit secure and reliable. With your permission, we also use optional analytics, AI support chat, and push-alert cookies to improve your job search experience. You can change or withdraw your choice anytime.
Privacy Policy •
Cookie Policy •
Your Privacy Rights