Skip to main content

Quiz: Machine Learning

Test your knowledge about machine learning and its different types.

30 questions - Click on each question to reveal the correct answer.


Question 1​

What is Machine Learning?

A) A regular computer program
B) A method by which a computer learns from data without explicit programming for each task
C) An electronic device
D) A programming language

Show Answer

Correct Answer: B

Machine learning is a method by which a computer learns from data without the need for explicit programming for each task.


Question 2​

What is the fundamental difference between regular programming and machine learning?

A) There is no difference
B) In regular programming, we write the rules; in machine learning, the computer discovers the rules itself
C) Machine learning is slower
D) Regular programming is always better

Show Answer

Correct Answer: B

In regular programming, the programmer writes the instructions, while in machine learning, the computer discovers the rules from the data itself.


Question 3​

What is the first step in machine learning?

A) Application
B) Training
C) Data collection
D) Testing

Show Answer

Correct Answer: C

The first step is data collection - we need a lot of high-quality data for learning.


Question 4​

What are the three main types of machine learning?

A) Fast, Medium, Slow
B) Supervised, Unsupervised, Reinforcement
C) Small, Medium, Large
D) Simple, Complex, Very Complex

Show Answer

Correct Answer: B

The three types are: Supervised Learning, Unsupervised Learning, and Reinforcement Learning.


Question 5​

What is Supervised Learning?

A) Learning without data
B) Learning with data and correct answers
C) Learning by trial and error
D) Learning without supervision

Show Answer

Correct Answer: B

Supervised learning is when we provide the computer with data along with the correct answers (like cat images labeled "cat").


Question 6​

Example of Supervised Learning:

A) A robot learning to walk
B) Email classification (spam/not spam)
C) Clustering customers into groups
D) Discovering unknown patterns

Show Answer

Correct Answer: B

Email classification is an example of supervised learning - we provide the computer with messages and their labels (spam/not spam).


Question 7​

What is Unsupervised Learning?

A) Learning with data and answers
B) Learning with data without correct answers
C) Learning with rewards
D) Learning with instructions

Show Answer

Correct Answer: B

Unsupervised learning is when we provide the computer with data without correct answers, and it discovers patterns and groups on its own.


Question 8​

Example of Unsupervised Learning:

A) Face recognition
B) Clustering customers into similar groups
C) Machine translation
D) Price prediction

Show Answer

Correct Answer: B

Clustering customers into similar groups is an example of unsupervised learning - the computer discovers the groups on its own.


Question 9​

What is Reinforcement Learning?

A) Learning with instructions
B) Learning by trial and error with rewards
C) Learning with data only
D) Learning without data

Show Answer

Correct Answer: B

Reinforcement learning is when the computer learns from trial and error - it receives a reward upon success and a penalty upon failure.


Question 10​

Where is Reinforcement Learning mainly used?

A) Email classification
B) Computer games, robots, and smart cars
C) Translation
D) Image organization

Show Answer

Correct Answer: B

Reinforcement learning is mainly used in computer games, robots, and smart cars - where it learns from experience.


Question 11​

What does machine learning need to work?

A) Data only
B) Data, computational power, time, expertise
C) Internet only
D) Smartphone only

Show Answer

Correct Answer: B

Machine learning needs: a lot of high-quality data, computational power, time for training, and expertise to build models.


Question 12​

Why is data important for machine learning?

A) It's not important
B) Because the computer learns from it and discovers patterns
C) Just for storage
D) For decoration

Show Answer

Correct Answer: B

Data is very important because the computer learns from it and discovers patterns - the more data, the better the learning.


Question 13​

Face recognition on the phone uses:

A) Reinforcement learning
B) Supervised learning
C) Unsupervised learning
D) Does not use machine learning

Show Answer

Correct Answer: B

Face recognition uses supervised learning - it is trained on face images with labels (who the face belongs to).


Question 14​

What does "training" mean in machine learning?

A) Training employees
B) Analyzing data and discovering patterns to build the model
C) Physical exercises
D) Reading books

Show Answer

Correct Answer: B

Training in machine learning means analyzing data and discovering patterns to build the model that will be used later.


Question 15​

Product recommendations in online shopping use:

A) Supervised learning to predict what you might like
B) Does not use machine learning
C) Reinforcement learning only
D) Regular programming only

Show Answer

Correct Answer: A

Product recommendations use supervised learning to predict what you might like based on your previous behavior.


Question 16​

When do we use unsupervised learning?

A) When we have data with answers
B) When we have data without answers and want to discover patterns
C) When we want to play games
D) When we don't have data

Show Answer

Correct Answer: B

We use unsupervised learning when we have data without answers and want to discover patterns or organize the data.


Question 17​

The AlphaGo program that plays the game Go uses:

A) Regular programming
B) Reinforcement learning
C) Translation
D) Does not use machine learning

Show Answer

Correct Answer: B

AlphaGo uses reinforcement learning - it learns from playing thousands of games and improves its strategy.


Question 18​

What is a "model" in machine learning?

A) A person wearing clothes
B) The final result of training used for prediction
C) A computer
D) An image

Show Answer

Correct Answer: B

The model is the final result of training - the program that learned from the data and can be used for prediction.


Question 19​

Why does training sometimes take a long time?

A) Because it's boring
B) Because the computer analyzes large amounts of data
C) Due to slow internet
D) It doesn't take time

Show Answer

Correct Answer: B

Training takes time because the computer analyzes large amounts of data and discovers complex patterns.


Question 20​

Automatically organizing photos on the phone by people uses:

A) Reinforcement learning
B) A mix of supervised learning (for face recognition) and unsupervised (for clustering)
C) Regular programming only
D) Does not use machine learning

Show Answer

Correct Answer: B

Organizing photos uses a mix: supervised learning for face recognition, and unsupervised for clustering photos of the same person.


Question 21​

What does "learning from mistakes" mean in machine learning?

A) The computer gets sad from mistakes
B) The computer analyzes mistakes and improves its performance in subsequent attempts
C) The computer stops at the mistake
D) It doesn't learn from mistakes

Show Answer

Correct Answer: B

The computer analyzes mistakes and uses them to improve its performance in subsequent attempts - this is a fundamental part of learning.


Question 22​

Machine translation (like Google Translate) uses:

A) Reinforcement learning
B) Supervised learning (texts in two languages)
C) Does not use machine learning
D) Unsupervised learning only

Show Answer

Correct Answer: B

Machine translation uses supervised learning - it is trained on translated texts (original text + translation).


Question 23​

What is a "reward" in reinforcement learning?

A) A financial prize
B) A positive signal indicating that the action was correct
C) A gift
D) Nothing

Show Answer

Correct Answer: B

A reward is a positive signal (a positive number) indicating that the action was correct, encouraging the computer to repeat it.


Question 24​

Fraud detection in bank cards uses:

A) Does not use machine learning
B) Machine learning to detect unusual patterns
C) Regular programming only
D) Reinforcement learning only

Show Answer

Correct Answer: B

Fraud detection uses machine learning to detect unusual patterns in transactions.


Question 25​

What is common among all types of machine learning?

A) Nothing in common
B) All learn from data or experience
C) All need the internet
D) All are free

Show Answer

Correct Answer: B

All types of machine learning learn from data or experience - this is the essence of machine learning.


Question 26​

Self-driving cars use:

A) One type of machine learning
B) A mix of multiple types of machine learning
C) Do not use machine learning
D) Regular programming only

Show Answer

Correct Answer: B

Self-driving cars use a mix: supervised (for object recognition), and reinforcement (for driving improvement).


Question 27​

What is "prediction" in machine learning?

A) Reading the future
B) Using the trained model to predict outcomes on new data
C) Dreaming
D) Random guessing

Show Answer

Correct Answer: B

Prediction is using the trained model to predict outcomes on new data it hasn't seen before.


Question 28​

Why is machine learning better than regular programming for some tasks?

A) Always better
B) Because it handles complex problems that are difficult to program with explicit rules
C) Because it's cheaper
D) Because it's older

Show Answer

Correct Answer: B

Machine learning is better for complex tasks that are difficult to define rules for explicitly (like image recognition).


Question 29​

What is "Labeled Data"?

A) Data with a name written on it
B) Data with the correct answers attached
C) Old data
D) Secret data

Show Answer

Correct Answer: B

Labeled data is data with the correct answers attached (like a cat image labeled "cat").


Question 30​

What is the most important thing to remember about machine learning?

A) That it's very complex
B) That it learns from data and improves over time
C) That it's not useful
D) That it's old

Show Answer

Correct Answer: B

The most important thing: machine learning learns from data and improves over time - this is what distinguishes it from regular programming.


Score​

PointsLevel
27-30Excellent - Strong understanding of machine learning
21-26Good - Some review is helpful
15-20Average - Review the chapters again
Less than 15Needs comprehensive review

Summary of Machine Learning Types​

TypeDataUsageExample
SupervisedData + AnswersClassification, PredictionImage recognition
UnsupervisedData onlyPattern discoveryCustomer clustering
ReinforcementExperience + RewardsGames, RobotsAlphaGo

Back to Unit 4 | Start Unit 5