Machine Learning Basics Quiz
Machine learning lets computers learn patterns from data instead of following fixed rules. This quiz covers supervised, unsupervised and reinforcement learning, common algorithms, libraries and typical use cases.
What this quiz covers
- Supervised, unsupervised, reinforcement learning
- Regression and clustering
- Popular libraries and frameworks
- Training vs testing data
Study tip: Match each learning type with one example: spam detection, customer groups and a game-playing agent.
Questions, answers and explanations
1. What is Machine Learning?
- A type of database
- A branch of Artificial Intelligence
- A programming language
- A web framework
Answer: A branch of Artificial Intelligence
Machine Learning is a branch of AI that enables computers to learn from data.
2. Machine Learning mainly works with _____?
- Books
- Data
- Pens
- Paper
Answer: Data
Machine Learning models learn patterns from data.
3. Which language is most commonly used in Machine Learning?
- Python
- HTML
- CSS
- PHP
Answer: Python
Python is the most popular language for Machine Learning.
4. Which of these is an example of Machine Learning?
- Spam Email Filter
- Netflix Recommendations
- Face Recognition
- All of these
Answer: All of these
All these applications use Machine Learning.
5. Machine Learning is mainly used to _____?
- Learn from data
- Create websites
- Write books
- Repair computers
Answer: Learn from data
Machine Learning enables systems to improve automatically using experience.
6. Which type of Machine Learning uses labeled data?
- Supervised Learning
- Unsupervised Learning
- Reinforcement Learning
- Deep Learning
Answer: Supervised Learning
Supervised Learning is trained using labeled data.
7. Which type of Machine Learning finds hidden patterns in data?
- Supervised Learning
- Unsupervised Learning
- Reinforcement Learning
- Linear Learning
Answer: Unsupervised Learning
Unsupervised Learning discovers patterns without labeled data.
8. Which type of Machine Learning learns by rewards and penalties?
- Supervised Learning
- Unsupervised Learning
- Reinforcement Learning
- Deep Learning
Answer: Reinforcement Learning
Reinforcement Learning improves decisions using rewards and penalties.
9. Which company developed the TensorFlow framework?
- Microsoft
- Meta
- IBM
Answer: Google
TensorFlow is an open-source Machine Learning framework developed by Google.
10. Which Python library is widely used for Machine Learning?
- React
- Scikit-learn
- Bootstrap
- Laravel
Answer: Scikit-learn
Scikit-learn is one of the most popular Python Machine Learning libraries.
11. What is the main goal of Machine Learning?
- To create websites
- To enable computers to learn from data
- To design hardware
- To increase internet speed
Answer: To enable computers to learn from data
Machine Learning enables computers to improve their performance using data.
12. Which of the following is a Machine Learning algorithm?
- Decision Tree
- Bubble Sort
- Quick Sort
- Binary Search
Answer: Decision Tree
Decision Tree is a popular Machine Learning algorithm.
13. Which dataset is used to evaluate a trained Machine Learning model?
- Training Dataset
- Testing Dataset
- Random Dataset
- Input Dataset
Answer: Testing Dataset
The testing dataset is used to evaluate the performance of a trained model.
14. Which of the following is an example of Supervised Learning?
- Email Spam Detection
- Customer Segmentation
- Clustering
- Association Rule Mining
Answer: Email Spam Detection
Spam detection is commonly solved using supervised learning with labeled data.
15. Which company developed the PyTorch framework?
- Microsoft
- Meta (Facebook)
- Amazon
Answer: Meta (Facebook)
PyTorch was originally developed by Facebook AI Research (now Meta).
16. Which Machine Learning technique is used to predict house prices?
- Classification
- Regression
- Clustering
- Association
Answer: Regression
Regression is used to predict continuous values like house prices.
17. Which Machine Learning technique groups similar data together?
- Regression
- Classification
- Clustering
- Prediction
Answer: Clustering
Clustering groups similar data without predefined labels.
18. Which of the following is NOT a Machine Learning library?
- Scikit-learn
- TensorFlow
- PyTorch
- Bootstrap
Answer: Bootstrap
Bootstrap is a CSS framework, not a Machine Learning library.
19. Machine Learning models improve by _____?
- Learning from data
- Restarting the computer
- Installing Windows
- Increasing RAM only
Answer: Learning from data
Machine Learning models improve their accuracy by learning from data.
20. Machine Learning is a subset of _____?
- Artificial Intelligence
- Cyber Security
- Cloud Computing
- Networking
Answer: Artificial Intelligence
Machine Learning is one of the major branches of Artificial Intelligence.