Explore topic-wise MCQs in R Programming.

This section includes 11 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.

You can time ________ expressions by wrapping them in curly braces within the call to system.time().

A. smaller
B. longer
C. error
D. grater
Answer» C. error
2.

Parallel processing is done via __________ package can make the elapsed time smaller than the user time.

A. parallel
B. statistics
C. distributed
D. symmetry
Answer» B. statistics
3.

The elapsed time may be ________ than the user time if your machine has multiple cores/processors.

A. smaller
B. greater
C. equal to
D. null
Answer» B. greater
4.

PARALLEL_PROCESSING_IS_DONE_VIA____________PACKAGE_CAN_MAKE_THE_ELAPSED_TIME_SMALLER_THAN_THE_USER_TIME.?$

A. parallel
B. statistics
C. distributed
D. none of the mentioned
Answer» B. statistics
5.

You_can_time__________expressions_by_wrapping_them_in_curly_braces_within_the_call_to_system.time().$

A. smaller
B. longer
C. error
D. all of the mentioned
Answer» C. error
6.

The elapsed time may be ________ than the user time if your machine has multiple cores/processor?

A. smaller
B. greater
C. equal to
D. all of the mentioned
Answer» B. greater
7.

_________ time is time charged to the CPU(s) for the R expression.

A. elapsed
B. user
C. response
D. all of the mentioned
Answer» B. user
8.

system.time function returns an object of class _______ which contains two useful bits of information.

A. debug_time
B. proc_time
C. procedure_time
D. all of the mentioned
Answer» C. procedure_time
9.

The _______ function computes the time (in seconds) needed to execute an expression.

A. system.timedeb()
B. system.time()
C. system.datetime()
D. all of the mentioned
Answer» C. system.datetime()
10.

R comes with a ________ to help you optimize your code and improve its performance.

A. debugger
B. monitor
C. browser
D. profiler
Answer» B. monitor
11.

________ is a systematic way to examine how much time is spent in different parts of a program.

A. Profiling
B. Monitoring
C. Logging
D. All of the mentioned
Answer» B. Monitoring