Machine Learning MCQs (Set-1)

What does a machine-learning model learn from examples?

A A fixed list of rules
B Only database table names
C Patterns in the data
D Random output sequences

Which task predicts a numerical value, such as a house price?

A Regression
B Clustering
C Classification
D Ranking

Which learning type uses labeled examples?

A Unsupervised learning
B Reinforcement learning
C Transfer learning
D Supervised learning

In a labeled dataset, what is the value a model must predict called?

A Feature
B Label
C Epoch
D Cluster

Which task sorts messages into spam or not spam?

A Regression
B Clustering
C Classification
D Compression

What is a feature in a dataset?

A A model’s final score
B A training-time reward
C A predicted category
D An input used for prediction

Which dataset portion is used to fit model parameters?

A Training set
B Test set
C Holdout report
D Prediction log

What does a test set mainly measure?

A Training speed
B Feature count
C Performance on unseen examples
D Dataset size

Which method groups similar unlabeled records?

A Regression
B Clustering
C Classification
D Ranking

When should a reinforcement-learning agent receive a reward?

A Before observing anything
B Only during data cleaning
C Only after a test split
D After an action or outcome

Which output suits a regression task?

A A continuous number
B A class name
C A group identifier
D A yes-or-no label

What does one epoch mean during model training?

A One prediction for one row
B One pass through training data
C One category split
D One test-set relabeling

Which item is commonly a hyperparameter?

A The target label
B A test prediction
C The learning rate
D A missing value

Which split is used to tune model choices?

A Validation set
B Training label
C Deployment log
D Final report

What does overfitting usually mean?

A The model has no features
B The model predicts only averages
C Too little training data
D Memorizes training noise

Which algorithm predicts from nearby training examples?

A Naive Bayes
B K-nearest neighbors
C Linear regression
D K-means

Which measure is the fraction of correct classifications?

A Recall
B Precision
C Accuracy
D Specificity

What is missing from an unlabeled dataset?

A Input features
B Example rows
C A training split
D Target labels

Which technique penalizes model complexity to limit overfitting?

A Shuffling
B Regularization
C Encoding
D Sampling

Given actual value 8 and prediction 6, what is the absolute error?

A 2
B 0
C 1
D 3

What does a loss function measure?

A The model’s storage size
B The dataset’s age
C The number of features
D Prediction error

Which model can split data using feature-based questions?

A K-means
B PCA
C Decision tree
D Linear regression

Why might test accuracy be low when training accuracy is high?

A The model may be overfitting
B The labels are always correct
C The test set is larger
D The model has no parameters

Which example is a binary-classification task?

A Estimate tomorrow’s temperature
B Predict loan default
C Predict monthly sales
D Group photos by similarity

Which setting helps repeat a randomized experiment?

A A larger font size
B A new target label
C A fixed random seed
D A lower file name