Sample questions
Question 1Easy
The curse of dimensionality refers to the problem that
- Models always become faster because there is more information to use
- Datasets shrink in rows
- Labels become noisy automatically
- Data becomes sparse and distances less meaningful as features grow
Answer: D. Data becomes sparse and distances less meaningful as features grow
Explanation
In high dimensions, volume grows so fast that a fixed number of samples covers it thinly, hurting methods like k-NN.
Step-by-step solution
- Add more dimensions.
- Space volume explodes.
- Points become far apart and similar-looking.
Why the other options are wrong
- A. More features usually slow things down.
- B. The row count does not change.
- C. Label quality is unrelated to feature count.
Question 2Easy
- Maximise the separation between classes using the known labels
- Equal the original feature axes
- Capture the maximum variance in the data and are orthogonal to each other
- Minimise the number of samples
Answer: C. Capture the maximum variance in the data and are orthogonal to each other
Explanation
Principal components are orthogonal directions ordered by the variance they explain.
Step-by-step solution
- Centre the data.
- Find directions of greatest variance.
- Keep the top few components.
Why the other options are wrong
- A. That describes LDA; PCA ignores labels.
- B. PCA rotates to new axes; they are generally different.
- D. PCA reduces features, not rows.
Question 3Easy
Feature selection differs from PCA because feature selection
- Creates new combined features
- Always needs a neural network to decide which columns to keep
- Keeps a subset of the original features
- Increases the number of features
Answer: C. Keeps a subset of the original features
Explanation
Selection keeps original, interpretable columns; PCA builds new composite ones.
Step-by-step solution
- Selection: choose columns.
- Extraction: combine columns.
- So selection preserves interpretability.
Why the other options are wrong
- A. That is feature extraction, as PCA does.
- B. Selection can use simple filters.
- D. Selection reduces or keeps features.
Question 4Easy
A dataset of 100 samples and 500 features has centred columns. At most how many principal components can have non-zero variance?
- 500
- 99
- 100
- 1
Answer: B. 99
Explanation
After centring, rank is at most min(n-1, p) = min(99, 500) = 99.
Step-by-step solution
- Rank <= min(n, p).
- Centring removes one degree of freedom: n-1.
- min(99, 500) = 99.
Why the other options are wrong
- A. Rank is limited by the number of samples as well.
- C. Centring reduces the rank by one.
- D. Not limited to a single component.
Question 5Medium
Why should features usually be standardised before PCA?
- PCA cannot run on negative numbers unless they are all scaled to positives first
- Standardising removes all correlations
- PCA is driven by variance, so large-scale features would dominate
- It guarantees 100% variance retention
Answer: C. PCA is driven by variance, so large-scale features would dominate
Explanation
A feature measured in thousands has far larger variance than one measured in fractions and would hijack the first component.
Step-by-step solution
- Variance depends on unit scale.
- Large-scale feature dominates PC1.
- Standardise to give features equal footing.
Why the other options are wrong
- A. Negative values are fine.
- B. It rescales; correlations remain.
- D. Retention depends on how many components you keep.
Question 6Medium
- Unsupervised dimensionality reduction
- Supervised classification
- Reinforcement learning
- Semi-supervised clustering
Answer: A. Unsupervised dimensionality reduction
Explanation
PCA only looks at the feature matrix X, never the target, so it is unsupervised.
Step-by-step solution
- Does it use labels? No.
- It transforms the features.
- So unsupervised reduction.
Why the other options are wrong
- B. PCA uses no labels.
- C. No agent or reward is involved.
- D. PCA does not cluster; it transforms features.
Question 7Medium
Principal components explain 60%, 25%, 10% and 5% of variance. How many components are needed to keep at least 90% of the variance?
- 2
- 3
- 4
- 1
Answer: B. 3
Explanation
Cumulative variance: 60, 85, 95. First reaches 90% or more at 3 components.
Step-by-step solution
- Cumulative: 60%.
- 60+25 = 85%.
- 60+25+10 = 95% >= 90%, so 3.
Why the other options are wrong
- A. Two components give only 85%.
- C. Four gives 100%, more than needed.
- D. One gives only 60%.
Practise all 7 questions free
The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.
Open this topic in the app →