

MCQOPTIONS
Saved Bookmarks
This section includes 10 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. |
To get the current date, the _______ function will return a Date object which can be converted to a different class if necessary. |
A. | Sys.Time |
B. | Sys.Date |
C. | Sys.DateTime |
D. | DateTime |
Answer» C. Sys.DateTime | |
2. |
Warnings are generated by the _________ function. |
A. | warning() |
B. | error() |
C. | run() |
D. | message() |
Answer» B. error() | |
3. |
What would be the value of following R expression? |
A. | Warning in log(-1): NaNs produced |
B. | 1 |
C. | Null |
D. | 0View Answer |
Answer» B. 1 | |
4. |
_________ is an indication that a fatal problem has occurred and execution of the function stops. |
A. | message |
B. | error |
C. | warning |
D. | message & warning |
Answer» C. warning | |
5. |
TO_GET_THE_CURRENT_DATE,_THE_________FUNCTION_WILL_RETURN_A_DATE_OBJECT_WHICH_CAN_BE_CONVERTED_TO_A_DIFFERENT_CLASS_IF_NECESSARY.?$ |
A. | Sys.Time |
B. | Sys.Date |
C. | Sys.DateTime |
D. | All of the mentioned |
Answer» B. Sys.Date | |
6. |
Which_of_the_following_code_represents_internal_representation_of_a_Date_object_?$ |
A. | class(as.Date(“1970-01-02”)) |
B. | unclass(as.Date(“1970-01-02”)) |
C. | unclassint(as.Date(“1970-01-02”)) |
D. | all of the mentioned |
Answer» B. unclass(as.Date(‚Äö√Ñ√∂‚àö√ë‚àö‚à´1970-01-02‚Äö√Ñ√∂‚àö√ë‚àöœÄ)) | |
7. |
Erro? |
A. | Warning |
B. | Messages |
C. | All of the mentioned |
Answer» C. All of the mentioned | |
8. |
Warnings are generated by the _________ function |
A. | warning() |
B. | error() |
C. | run() |
D. | none of the mentioned |
Answer» B. error() | |
9. |
Warning in log(-1): NaNs produced |
A. | 1 |
B. | Null |
C. | 0 |
Answer» B. Null | |
10. |
_________ 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 |
Answer» C. warning | |