

MCQOPTIONS
Saved Bookmarks
This section includes 3 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 is used for generating sequences? |
A. | seq() |
B. | sequence() |
C. | order() |
D. | orderasc() |
Answer» B. sequence() | |
2. |
_______ function returns a vector of the same size as x with the elements arranged in increasing order. |
A. | sort() |
B. | orderasc() |
C. | orderby() |
D. | sequence() |
Answer» B. orderasc() | |
3. |
Which of the following statement is invalid? |
A. | x <- c(1+0i, 2+4i) |
B. | x <- c(TRUE, FALSE) |
C. | x <- c(T, F) |
D. | None of the mentioned |
Answer» E. | |