PRACTICE QUIZ
PRACTICE QUIZ
SECTION 1 – R Programming
1. What is R primarily used for?
A) Web development
B) Data analysis and statistics
C) Mobile application development
D) Graphic design
Answer: B
Explanation: R is a programming language primarily used for statistical
computing and data analysis.
● B) It is computationally expensive
Answer: D
Explanation: Mean imputation reduces variability in the data since all missing
values are replaced by a single constant (the mean), which can distort the
relationships between variables.
Answer: A
Explanation: Median imputation is more robust to outliers than mean imputation
because the median is not affected by extreme values.
Answer: C
Explanation: In skewed data, mean imputation may not accurately capture the
true central tendency, leading to biased estimates.
Answer: C
Explanation: Understanding the missing data mechanism helps choose the right
imputation technique, as different techniques are better suited for different patterns
(MCAR, MAR, MNAR).
6. Which method uses the interquartile range (IQR) for detecting outliers?
A) Box plot
B) Decision Trees
C) Z-Score
D) Random Forest
Answer: A
Explanation: Box plots visualize the spread of the data and use the IQR to detect
outliers. Values outside 1.5 times the IQR from the quartiles are considered outliers.