Practice Library
All MCQs
Browse exam-wise, subject-wise, and country-wise MCQs with explanations.
Choose an option to check your answer.
A.
A bullet chart or compact bar with a clearly marked target
B.
A three-dimensional pie chart
C.
An unlabeled icon array
D.
A rotating animation
Show Answer
Correct Answer: A. A bullet chart or compact bar with a clearly marked target
Explanation:
Aligned positions and lengths enable accurate comparison with a target.
Compact displays also preserve dashboard space and reduce decoration.
Choose an option to check your answer.
A.
It guarantees every hypothesis is correct
B.
It removes the need for source data
C.
It converts all graphs into three dimensions
D.
Code, results, narrative, and graphics can be regenerated together
Show Answer
Correct Answer: D. Code, results, narrative, and graphics can be regenerated together
Explanation:
Literate documents link explanations directly to executable analysis code.
Updates to data or code can refresh the entire report consistently.
Choose an option to check your answer.
A.
save_mean()
B.
write_plot_data()
C.
ggsave()
D.
export_factor()
Show Answer
Correct Answer: C. ggsave()
Explanation:
ggsave() saves the current or specified ggplot object in formats such as PNG, PDF, or SVG.
Dimensions and resolution can be controlled explicitly.
Choose an option to check your answer.
A.
Keep default variable codes without explanation
B.
Use informative titles, axis labels, units, and legends
C.
Remove every tick mark regardless of context
D.
Use unrelated colors for identical meanings
Show Answer
Correct Answer: B. Use informative titles, axis labels, units, and legends
Explanation:
Labels tell viewers what variables and scales represent.
Clear units and legend text reduce ambiguity and prevent misinterpretation.
Choose an option to check your answer.
A.
The analytical workflow remains transparent and reproducible
B.
Manual edits always improve accuracy
C.
Code prevents all missing values
D.
Plots cannot use transformed data
Show Answer
Correct Answer: A. The analytical workflow remains transparent and reproducible
Explanation:
Scripted transformations can be inspected, rerun, and corrected.
Undocumented manual changes make results difficult to verify.
Choose an option to check your answer.
A.
Inside removes color, while outside creates a new variable
B.
Inside changes sample size, while outside changes the mean
C.
There is no difference
D.
Inside maps color to data, while outside assigns one fixed color
Show Answer
Correct Answer: D. Inside maps color to data, while outside assigns one fixed color
Explanation:
Mapped aesthetics vary across observations and usually generate a legend.
A fixed setting applies the same visual property to all relevant marks.
Choose an option to check your answer.
A.
The raw variable values
B.
The fitted distribution parameters
C.
Non-data display elements such as fonts, grid lines, and backgrounds
D.
The number of observations
Show Answer
Correct Answer: C. Non-data display elements such as fonts, grid lines, and backgrounds
Explanation:
Themes style the presentation without changing the underlying statistical mapping.
They can improve legibility and visual consistency.
Choose an option to check your answer.
A.
To calculate confidence intervals
B.
To create panels for subsets defined by categorical variables
C.
To merge all categories into one value
D.
To remove the plot axes
Show Answer
Correct Answer: B. To create panels for subsets defined by categorical variables
Explanation:
Faceting repeats a plot structure across groups.
It supports comparison while reducing overplotting.
Choose an option to check your answer.
A.
The type of graphical mark used to represent observations or summaries
B.
The data file's directory
C.
The significance level
D.
The random-number distribution
Show Answer
Correct Answer: A. The type of graphical mark used to represent observations or summaries
Explanation:
Geoms include points, lines, bars, box plots, and smooth curves.
They determine how mapped variables appear on the plot.
Choose an option to check your answer.
A.
A rule for installing an R package
B.
A test for equal variances
C.
A method for generating random seeds
D.
A rule linking a data variable to a visual property
Show Answer
Correct Answer: D. A rule linking a data variable to a visual property
Explanation:
Aesthetics include x-position, y-position, color, size, shape, and transparency.
Mapping allows these properties to vary according to data values.
Choose an option to check your answer.
A.
It guarantees every event time is observed
B.
It increases all survival probabilities equally
C.
Censoring depends on unobserved event risk and can bias survival estimates
D.
It removes the need for assumptions
Show Answer
Correct Answer: C. Censoring depends on unobserved event risk and can bias survival estimates
Explanation:
Standard survival methods generally assume censoring is independent of event time given relevant information.
Violation can make the remaining subjects unrepresentative.
Choose an option to check your answer.
A.
Means of two independent normal variables only
B.
Survival experience between groups over the observed follow-up
C.
Kernel bandwidths
D.
Numbers of histogram bins
Show Answer
Correct Answer: B. Survival experience between groups over the observed follow-up
Explanation:
The log-rank test compares observed and expected events across risk sets.
It is commonly used to test equality of group survival curves.