Machine Learning MCQs
20 free Machine Learning multiple-choice questions for UPSC GK. Tap an option to answer — you get instant feedback, the correct answer, and a detailed explanation for every question.
With reference to Machine Learning, which statement best describes supervised learning?
- A Uses labeled training data
- B Learns without any dataset
- C Depends only on rule engines
- D Needs quantum computers only
Correct answer: Uses labeled training data
Supervised learning trains models using labeled input-output pairs. The tempting distractor is unsupervised learning, which also uses data but without labels.
Which of the following is the primary objective of unsupervised learning?
- A Predict labeled outcomes
- B Discover hidden patterns
- C Compile programming code
- D Encrypt digital messages
Correct answer: Discover hidden patterns
Unsupervised learning identifies structures such as clusters in unlabeled data. Predicting labeled outcomes is the purpose of supervised learning.
Which Machine Learning technique is commonly used for grouping similar data points?
- A Linear regression
- B Decision tree
- C Cluster analysis
- D Gradient descent
Correct answer: Cluster analysis
Cluster analysis (clustering), such as k-means, groups similar observations without predefined labels. Linear regression and decision trees are supervised prediction methods, and gradient descent is an optimization technique.
In Machine Learning, overfitting refers to a model that:
- A Learns too slowly
- B Uses too little data
- C Ignores most training examples
- D Performs poorly on new data
Correct answer: Performs poorly on new data
An overfitted model memorizes training data and fails to generalize well to unseen data. Slow learning alone does not define overfitting.
Which metric is most suitable for evaluating a regression model?
- A Mean Squared Error
- B F1-score
- C Precision
- D Area under ROC curve
Correct answer: Mean Squared Error
Mean Squared Error measures the average squared difference between predicted and actual values, which suits continuous outputs. F1-score, precision and area under the ROC curve are classification metrics.
Which algorithm is widely used for binary classification tasks?
- A K-means clustering
- B Logistic regression
- C Principal Component Analysis
- D Apriori algorithm
Correct answer: Logistic regression
Logistic regression estimates probabilities for binary outcomes. K-means performs clustering rather than classification.
Which statement about neural networks is correct?
- A They require no training
- B They only solve arithmetic
- C They consist of interconnected nodes
- D They replace physical computer hardware
Correct answer: They consist of interconnected nodes
Neural networks are composed of interconnected artificial neurons arranged in layers. They still require training using data.
What is the main purpose of a training dataset in Machine Learning?
- A Store final predictions
- B Compress the trained model
- C Generate random labels
- D Enable the model to learn
Correct answer: Enable the model to learn
The training dataset provides examples from which the model learns patterns. It is different from the test dataset used for evaluation.
Which of the following is an example of reinforcement learning?
- A Robot learning by rewards
- B Sorting files alphabetically
- C Compressing image files
- D Creating database tables
Correct answer: Robot learning by rewards
Reinforcement learning improves decisions through rewards and penalties. File sorting is a deterministic computing task, not machine learning.
In Machine Learning, what is meant by a feature?
- A A software license
- B An input variable
- C A processor chip
- D A network cable
Correct answer: An input variable
A feature is an individual measurable property used as model input. Hardware components are unrelated to the definition of a feature.
Which technique is commonly used to reduce the dimensionality of data?
- A Random forest
- B Naive Bayes classifier
- C Principal Component Analysis
- D Breadth-first search algorithm
Correct answer: Principal Component Analysis
Principal Component Analysis reduces dimensions while preserving maximum variance. Random forests are predictive models rather than dimensionality reduction methods.
What is the primary role of a test dataset?
- A Train model parameters
- B Increase dataset size
- C Remove duplicate training records
- D Evaluate model performance
Correct answer: Evaluate model performance
The test dataset measures how well the trained model performs on unseen data. It should not be used during model training.
Which application commonly uses Machine Learning for spam detection?
- A Email filtering
- B GPS navigation
- C Text formatting
- D File compression
Correct answer: Email filtering
Spam filters classify emails using learned patterns from previous examples. GPS navigation primarily relies on mapping and routing algorithms.
Which statement best describes deep learning?
- A Uses many neural layers
- B Needs no training data
- C Depends only on CPUs
- D Works without algorithms
Correct answer: Uses many neural layers
Deep learning uses neural networks with many hidden layers to learn complex patterns. It still requires (usually large amounts of) training data, runs on CPUs as well as GPUs and TPUs, and is itself built on algorithms.
Which factor can introduce unfair outcomes in Machine Learning systems?
- A High clock speed
- B Large monitor size
- C Biased training data
- D Fast internet connection
Correct answer: Biased training data
Bias in training data can lead to discriminatory or inaccurate predictions. Hardware specifications do not directly create algorithmic bias.
What is the function of gradient descent in Machine Learning?
- A Encrypt the training datasets
- B Create labels
- C Store data in databases
- D Optimize model parameters
Correct answer: Optimize model parameters
Gradient descent minimizes the loss function by updating model parameters iteratively. It is an optimization method, not a data storage technique.
Which statement regarding transfer learning is correct?
- A Reuses knowledge from existing models
- B Deletes all previously learned weights
- C Needs no neural networks
- D Only works on text data
Correct answer: Reuses knowledge from existing models
Transfer learning adapts a pretrained model to a related task, reducing training effort. It is widely used across image, text and speech applications.
Which algorithm is commonly associated with decision boundaries based on maximum margin?
- A K-nearest neighbors
- B Support Vector Machine
- C Hierarchical clustering
- D Apriori algorithm
Correct answer: Support Vector Machine
Support Vector Machines maximize the margin between classes for robust classification. K-nearest neighbors classifies differently without margin optimization.
Which statement about cross-validation is correct?
- A It permanently enlarges the dataset
- B It removes noisy samples
- C It estimates model generalization
- D It replaces feature selection
Correct answer: It estimates model generalization
Cross-validation assesses how well a model is likely to perform on unseen data by using multiple train-test splits. It does not permanently increase dataset size.
Which of the following is a common real-world use of Machine Learning?
- A Manual bookkeeping
- B Mechanical gear cutting
- C Printing paper currency notes
- D Personalized recommendations
Correct answer: Personalized recommendations
Recommendation systems on e-commerce and streaming platforms commonly rely on Machine Learning. Mechanical manufacturing processes are generally unrelated to this application.