wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Machine Learning Quiz

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is the main goal of Machine Learning?

a)

To write programs with fixed rules

b)

To enable systems to learn from data and improve automatically

c)

To replace databases with models

d)

To avoid using algorithms

2.

Which of the following is NOT a type of Machine Learning?

a)

Supervised Learning

b)

Unsupervised Learning

c)

Reinforcement Learning

d)

Comparative Learning

3.

Why do we need Artificial Intelligence?

a)

To store data permanently

b)

To make machines intelligent and solve complex problems

c)

To replace spreadsheets

d)

To stop using programming languages

4.

Which of the following is a mutable data type in Python?

a)

Tuple

b)

String

c)

List

d)

Integer

5.

What is the correct order of Machine Learning process?

a)

Collect Data → Train Model → Preprocess → Deploy

b)

Preprocess → Collect Data → Train Model → Evaluate

c)

Collect Data → Preprocess → Train Model → Evaluate

d)

Train Model → Collect Data → Preprocess → Deploy

6.

In Linear Regression, the dependent variable is also called:

a)

Predictor

b)

Target

c)

Input

d)

Feature

7.

Which function is used to create the main window in Tkinter?

a)

Tk()

b)

Window()

c)

Frame()

d)

Main()

8.

A model that performs well on training data but poorly on test data is known as:

a)

Underfitted

b)

Overfitted

c)

Well-trained

d)

Generalized

9.

Which of the following is NOT a method to detect outliers?

a)

Z-Score

b)

IQR (Interquartile Range)

c)

Histogram

d)

Linear Regression

10.

One Hot Encoding is mainly used for:

a)

Converting categorical variables into multiple binary columns

b)

Standardizing numeric values

c)

Scaling data between 0 and 1

d)

Detecting missing values

11.

Which scaling method transforms data into a fixed range [0,1]?

a)

Standardization

b)

Min-Max Scaling

c)

Maximum Absolute Scaling

d)

Normalization with Z-score

12.

Which algorithm is mainly used for classification?

a)

Linear Regression

b)

Logistic Regression

c)

K-Means

d)

PCA

13.

Q13. In a pizza price prediction model, the "size of pizza" is an example of:

a)

A) Dependent Variable

b)

B) Independent Variable

c)

C) Target Variable

d)

D) Response Variable

14.

Q14. Polynomial Regression is useful when:

a)

A) Data follows a straight-line relationship

b)

B) Data has a non-linear relationship

c)

C) Data has no relationship

d)

D) We want to ignore features

15.

Q15. Which of the following describes an underfitted model?

a)

A) Performs well on both training and testing data

b)

B) Performs well on training data but poorly on test data

c)

C) Performs poorly on both training and test data

d)

D) Performs well only on unseen data

16.

Q16. Which statistical method is commonly used to detect outliers?

a)

A) Mean Absolute Error

b)

B) Z-Score

c)

C) Cross Validation

d)

D) Gradient Descent

17.

Q17. Label Encoding is best suited when:

a)

A) Categories have no order

b)

B) Categories have a natural order (e.g., Small, Medium, Large)

c)

C) Data is continuous

d)

D) Data is missing

18.

Q18. Standardization (Z-score scaling) transforms data into:

a)

A) Range [0, 1]

b)

B) Range [-1, 1]

c)

C) Mean = 0 and Standard Deviation = 1

d)

D) Range [0, ∞]

19.

Q19. Which of the following is a clustering algorithm?

a)

A) K-Means

b)

B) Logistic Regression

c)

C) Naïve Bayes

d)

D) Decision Tree

20.

Q20. Which of the following tasks belongs to Natural Language Processing (NLP)?

a)

A) Image Classification

b)

B) Sentiment Analysis

c)

C) Stock Price Prediction

d)

D) Anomaly Detection