

MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your R Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following function is similar to summarize? |
A. | arrange_by() |
B. | group() |
C. | group_by() |
D. | arrange |
Answer» D. arrange | |
2. |
dplyr can be integrated with the ________ package for large fast tables. |
A. | data.table |
B. | read.table |
C. | data.data |
D. | table.read |
Answer» B. read.table | |
3. |
There is an SQL interface for relational databases via the _______ package. |
A. | DIB |
B. | DB2 |
C. | DBI |
D. | DIB21 |
Answer» D. DIB21 | |
4. |
The ______ operator allows you to string operations in a left-to-right fashion. |
A. | %>%> |
B. | %>% |
C. | >%>% |
D. | >>>>%%% |
Answer» C. >%>% | |
5. |
The _________ function is used to generate summary statistics from the data frame within strata defined by a variable. |
A. | groupby() |
B. | group() |
C. | group_by() |
D. | arrange |
Answer» D. arrange | |
6. |
Columns can be arranged in descending order too by using the special ____ operator. |
A. | asc() |
B. | desc() |
C. | descending() |
D. | subset |
Answer» C. descending() | |
7. |
________ function is similar to the existing subset() function in R but is quite a bit faster. |
A. | rename |
B. | filter |
C. | set |
D. | subset |
Answer» C. set | |
8. |
The _________ function can be used to select columns of a data frame that you want to focus on. |
A. | select |
B. | rename |
C. | get |
D. | set |
Answer» B. rename | |