ML Foundations: 20 MCQs with answers
All 20 multiple-choice questions from this kit, free and with no sign-up.
Warm-up · 12 questions
Q1. What is machine learning?
BeginnerShow answer & explanation
A way for computers to learn from data without being explicitly programmed
Machine learning is about teaching computers to learn patterns from data, not just following fixed rules.
Q2. Which of the following is an example of supervised learning?
BeginnerShow answer & explanation
Teaching a computer to recognize cats using labeled photos
Supervised learning uses labeled data, like photos with 'cat' or 'not cat' labels, to train a model.
Q3. In machine learning, what is a 'label'?
BeginnerShow answer & explanation
The answer we want the computer to predict
A label is the correct output for a given input, used in supervised learning to teach the model.
Q4. What is a 'feature' in machine learning?
BeginnerShow answer & explanation
An individual measurable property of the data
Features are the inputs used by the model, like height and weight for predicting health.
Q5. What does 'training a model' mean?
BeginnerShow answer & explanation
Feeding data to the algorithm so it can learn patterns
Training is the process where the algorithm learns from data by adjusting its parameters to reduce errors.
Q6. Which of the following is a common type of machine learning?
BeginnerShow answer & explanation
Supervised learning
Supervised, unsupervised, and reinforcement learning are the three main categories; the others are not standard types.
Q7. What is the main goal of machine learning?
BeginnerShow answer & explanation
To make accurate predictions or decisions from data
The goal is to learn patterns from data to make predictions or decisions without explicit programming for each case.
Q8. Which of the following is an example of a machine learning application?
BeginnerShow answer & explanation
Spam detection in emails
Spam detection uses ML to classify emails based on learned patterns, unlike rule-based software.
Q9. What is a 'model' in machine learning?
BeginnerShow answer & explanation
The learned pattern or function that maps inputs to outputs
A model is the result of training—a mathematical representation that makes predictions from inputs.
Q10. What is 'accuracy' in classification?
BeginnerShow answer & explanation
The proportion of correct predictions out of total predictions
Accuracy is a simple metric: correct predictions divided by total predictions, often used for balanced datasets.
Q11. Machine learning is the same as traditional programming where rules are explicitly coded.
BeginnerShow answer & explanation
False
Traditional programming uses explicit rules; ML learns from data to create its own rules.
Q12. In supervised learning, the model is trained on labeled data.
BeginnerShow answer & explanation
True
Supervised learning uses labeled examples to teach the model the correct output for each input.
Building up · 7 questions
Q13. What is the main difference between supervised and unsupervised learning?
IntermediateShow answer & explanation
Supervised uses labeled data, unsupervised uses unlabeled data
The key difference is the presence of labels: supervised learning has labeled examples, unsupervised finds patterns without labels.
Q14. Which of the following is an example of unsupervised learning?
IntermediateShow answer & explanation
Clustering customers into segments based on behavior
Clustering is a classic unsupervised task because it groups data without predefined labels.
Q15. What is the role of a 'test set'?
IntermediateShow answer & explanation
To evaluate how well the model performs on unseen data
A test set is held out from training to check generalization—how the model does on data it hasn't seen.
Q16. What is 'overfitting'?
IntermediateShow answer & explanation
When the model learns the training data too well, including noise, and fails on new data
Overfitting means the model memorizes the training data rather than learning general patterns, hurting performance on new data.
Q17. In reinforcement learning, what does the agent receive after taking an action?
IntermediateShow answer & explanation
A reward or penalty
Reinforcement learning uses rewards (positive) and penalties (negative) to guide the agent's behavior.
Q18. Which of the following best describes 'deep learning'?
IntermediateShow answer & explanation
A subfield of machine learning using neural networks with many layers
Deep learning uses deep neural networks with multiple layers to learn complex patterns, a subset of ML.
Q19. What is the purpose of splitting data into training and test sets?
IntermediateShow answer & explanation
To evaluate the model's performance on unseen data
Holding out a test set lets us see how well the model generalizes to new, unseen examples.
Topper level · 1 questions
Q20. What is the difference between a training set and a validation set?
AdvancedShow answer & explanation
Training set is used to learn parameters; validation set is used to tune hyperparameters
The training set updates the model's weights, while the validation set helps choose hyperparameters and avoid overfitting.
Your notes can be a kit like these
Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free, in 42 languages.
- Chapter notes
- Flashcards
- Practice MCQs
- Scored tests
- Exam prep
Get Veda free See what students get
Free to start · No ads · Works in 42 languages