wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Machine Learning Quiz

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What is the main goal of machine learning?

a)

To create intelligent robots

b)

To make computers learn from data and make predictions

c)

To write code manually for every task

d)

To store large amounts of data

2.

Which of the following is an example of supervised learning?

a)

Predicting house prices based on past data

b)

Grouping customers into segments without labels

c)

Playing chess without instructions

d)

Generating random numbers

3.

What is a dataset in machine learning?

a)

A collection of movies

b)

A collection of data used for training or testing a model

c)

A type of neural network

d)

A mathematical formula

4.

Which of the following is a machine learning algorithm?

a)

Random Forest

b)

PowerPoint

c)

Microsoft Excel

d)

Paint

5.

What does the term 'training data' mean?

a)

Data used to test a model

b)

Data used to train a machine learning model

c)

A program to train developers

d)

Data that contains only numbers

6.

Which library is widely used for machine learning in Python?

a)

Microsoft Word

b)

TensorFlow

c)

Photoshop

d)

Chrome

7.

What is the role of the 'test set' in machine learning?

a)

To train the model

b)

To evaluate the model's performance

c)

To collect new data

d)

To clean the dataset

8.

Which of the following is an application of machine learning?

a)

Spam email detection

b)

Writing emails

c)

Watching movies

d)

Listening to music

9.

What is a 'model' in machine learning?

a)

A person trained in machine learning

b)

A mathematical representation of a problem to make predictions

c)

A type of software used for data cleaning

d)

A large dataset

10.

Which of the following is the first step in a machine learning project?

a)

Training the model

b)

Collecting and preparing the data

c)

Testing the model

d)

Writing a report

11.

What is Machine Learning?

a)

A type of machine maintenance

b)

A subset of Artificial Intelligence where computers learn from data

c)

A programming language

d)

A hardware component

12.

Which of the following is a type of machine learning?

a)

Supervised Learning

b)

Semi-supervised Learning

c)

Reinforcement Learning

d)

All of the above

13.

In supervised learning, what do you need?

a)

Labeled data

b)

Unlabeled data

c)

Only numbers

d)

Random data

14.

What is overfitting in machine learning?

a)

A model performs well on training data but poorly on unseen data

b)

A model performs well on all datasets

c)

A model that doesn't fit the data

d)

None of the above

15.

Which algorithm is used for classification problems?

a)

Linear Regression

b)

K-Nearest Neighbors (KNN)

c)

K-Means Clustering

d)

Principal Component Analysis (PCA)

16.

What does 'feature' mean in machine learning?

a)

An input variable used to make predictions

b)

A type of output variable

c)

A model's accuracy score

d)

A testing method

17.

Which library is commonly used for machine learning in Python?

a)

NumPy

b)

Scikit-learn

c)

TensorFlow

d)

All of the above

18.

What is the purpose of a loss function?

a)

To maximize predictions

b)

To evaluate the difference between predicted and actual values

c)

To scale data

d)

To split datasets

19.

Which is NOT a machine learning algorithm?

a)

Random Forest

b)

Support Vector Machine (SVM)

c)

SQL Query

d)

Decision Tree

20.

What is a common metric for evaluating classification models?

a)

Mean Squared Error (MSE)

b)

Accuracy

c)

Root Mean Squared Error (RMSE)

d)

R-squared

21.

Which type of machine learning involves learning without labeled data?

a)

Supervised Learning

b)

Unsupervised Learning

c)

Reinforcement Learning

d)

Semi-supervised Learning

22.

What is a confusion matrix used for?

a)

Measuring data correlation

b)

Evaluating the performance of a classification model

c)

Visualizing training data

d)

Testing for overfitting

23.

What is gradient descent?

a)

A technique to collect data

b)

An optimization algorithm to minimize a loss function

c)

A method to visualize data

d)

A type of neural network

24.

What does a 'hyperparameter' refer to in machine learning?

a)

Parameters adjusted during training

b)

Parameters set before training begins

c)

Parameters of the test data

d)

An unrelated feature

25.

Which of the following is an ensemble learning method?

a)

Decision Tree

b)

Random Forest

c)

Linear Regression

d)

Support Vector Machine (SVM)

26.

What is the purpose of cross-validation?

a)

To test the model on unseen data

b)

To reduce the complexity of the model

c)

To validate the test data

d)

To split the data into training and testing sets

27.

What does 'normalization' do in data preprocessing?

a)

Converts data to binary format

b)

Scales features to a smaller range, like 0 to 1

c)

Removes duplicate rows from the dataset

d)

Adds noise to the data

28.

Which activation function is commonly used in neural networks?

a)

Sigmoid

b)

ReLU (Rectified Linear Unit)

c)

Tanh

d)

All of the above

29.

What is the goal of clustering in machine learning?

a)

To classify data points into predefined categories

b)

To group similar data points together

c)

To maximize the dataset's size

d)

To reduce overfitting

30.

Which of the following is an advantage of deep learning?

a)

Requires less data for training

b)

Automatically extracts features from raw data

c)

Works best on small datasets

d)

Doesn't require GPUs for training