JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
R interview questions part 11
R interview questions part 11
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Point out the correct statement :
A. Each row is an observation in tidy data
B. Each column is a variable in tidy data
C. Arranging your data in tidy way makes it easier to work
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
2. Which of the following is complementary to tidyr ?
A. geolr
B. dplyr
C. d3lr
D. all of the mentioned
Show Correct Answer
Correct Answer is :
dplyr
3. How many functions exist for tidying the data ?
A. one
B. two
C. three
D. all of the mentioned
Show Correct Answer
Correct Answer is :
three
4. Point out the correct statement :
A. gather() makes “wide” data longer
B. Two functions are present for tidy data
C. separate() makes “wide” data longer
D. None of the mentioned
Show Correct Answer
Correct Answer is :
separate() makes “wide” data longer
5. Which of the following function takes multiple columns ?
A. spread()
B. gather()
C. separate()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
gather()
6. __________ uses regex groups instead of a splitting pattern or position.
A. spread()
B. gather()
C. separate()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
separate()
7. Which of the following function works similar to separate() ?
A. extract()
B. gather()
C. sep()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
extract()
8. Which of the following d takes two columns and spreads them in to multiple columns ?
A. ggmissplot
B. printplot
C. print.ggplot
D. all of the mentioned
Show Correct Answer
Correct Answer is :
print.ggplot
9. Spread function is known as ___________ in spreadsheets.
A. pivot
B. unpivot
C. cast
D. order
Show Correct Answer
Correct Answer is :
unpivot
10. __________ is used when you have variables that form rows instead of columns.
A. tidy()
B. spread()
C. separate()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
spread()
11. Point out the correct statement :
A. tidyr and dplyr packages do not make use of the pipe operator
B. tidyr does less than reshape2
C. tidyr provides ability to string multiple functions together by incorporating %
D. all of the mentioned
Show Correct Answer
Correct Answer is :
tidyr does less than reshape2
12. Which of the following merges two variables into one ?
A. spread()
B. gather()
C. separate()
D. unite()
Show Correct Answer
Correct Answer is :
gather()
13. How many functions exist for wrangling the data with dplyr package ?
A. one
B. seven
C. three
D. five
Show Correct Answer
Correct Answer is :
seven
14. Point out the correct statement :
A. gather() makes “long” data wider
B. tidyr is a reframing of reshape designed to accompany the tidy data framework
C. there are two fundamental verbs of data tidying
D. none of the mentioned
Show Correct Answer
Correct Answer is :
there are two fundamental verbs of data tidying
15. ________ function is similar to the existing subset() function in R
A. rename
B. filter
C. set
D. subset
Show Correct Answer
Correct Answer is :
filter
16. The ______ operator allows you to string operations in a left-to-right fashion
A. %>%>
B. %>%
C. >%>%
D. all of the mentioned
Show Correct Answer
Correct Answer is :
%>%
17. ________ add new variables/columns or transform existing variables
A. mutate
B. add
C. apped
D. arrange
Show Correct Answer
Correct Answer is :
mutate
18. _________ extract a subset of rows from a data frame based on logical conditions.
A. rename
B. filter
C. set
D. subset
Show Correct Answer
Correct Answer is :
rename
19. dplyr can be integrated with the ________ package for large fast tables
A. data.table
B. read.table
C. data.data
D. none of the mentioned
Show Correct Answer
Correct Answer is :
data.table
20. _________ is an indication that a fatal problem has occurred and execution of the function stops
A. message
B. error
C. warning
D. all of the mentioned
Show Correct Answer
Correct Answer is :
error
Similar Interview Questions
Search for latest jobs
Find Jobs